HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   HowTo Courier-IMAP / Postfix MySQL virtual users Shared Folder help (http://www.howtoforge.com/forums/showthread.php?t=14281)

Bei 26th July 2007 06:58

HowTo Courier-IMAP / Postfix MySQL virtual users Shared Folder help
 
I have got my mail server running great on etch with postfix, mysql virtual accounts, and i use courier-imap.

what I do want to get implemented though is a global shared public folder.

I am having a hard time figuring this out.

Looked at <a href="http://www.courier-mta.org/maildirmake.html">courier maildirmake</a> but struggling to get it working.

maildirmake -S /home/Public_Folder
maildirmake -s write -f public /home/Public_Folder
Added "public /home/Public_Folder" to /etc/courier/maildirshared

after that point not sure what to do really to get global share enabled.

my goal would be to have new created accounts have read / write access to the folder by default where users can store important mail that other users can see for future reference.

Any help or tips would be appreciated.

Bei 26th July 2007 21:21

okay i got it showing in my list on my windows client when i subscribe now..

did a ..
Code:

chown -cR vmail:vmail /home/Public_Folder
chmod 2777 -cR /home/Public_Folder

...

but problem now is when i use Outlook Express and subscribe i get the structure

Public_Folder (none editable) > public (non editable) > public (editable)

anyone know if this is normal or there a way to get it to this structure?

Public_Folder (none editable) > public (editable)

....

maybe if i can get the acl's working right i can restructure it.

Code:

authenumerate -s
prints

user@example.com 5000 5000 /home/vmail example.com/user/

Code:

maildiracl -set /home/Public_Folder INBOX.Public_Folder.public anyone cleirtx
Code:

maildiracl -list Public_Folder INBOX.Public_Folder.public
prints

owner aceilrstwx
administrators aceilrstwx
anyone ceilrtx


....

but in Outlook when trying to create a folder in the first instance of Public_Folders says

Unable to create the folder. The server responded: 'Access denied for CREATE on Public_Folder.public.newfoldername (ACL "c" required)'.

is there a special group that i would need to add for the ACL?


All times are GMT +2. The time now is 06:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.