Hi! I have just setup a mailserver using Postfix and Courier-IMAP using MySQL as a backend for virtual domains. I can use Postfix for relaying mail and also send mail to this server. It delivers them quite correctly. However when Courier-IMAP tries to read them it doesn't have permission to. All mail is stored in /home/vmail/<domain>/<user>/.maildir/ so for [EMAIL PROTECTED] (which in this case is a virtual domain) the path would be /home/vmail/bar.net/foo/.maildir/ when Postfix writes the mail it has a permission of 0600 (rw for the owner) and so Courier-IMAP is unable to read the mail. If I manually set the permission to o+wrx Courier can read the mail. To resolve this I tried having Postfix write the mailes with full permissions set, however I never found the option (if there is such) to do this. My other idea would be to change the ownership to the user of which Courier-IMAP is running. I used ps aux to find out that Courier is run as root and so I changed the ownership of the mail dir to root but this didn't work either so I guess Courier doesn't read files with root permissions!?
I need some guidance here. Any advice is appreciated. Regards, Kristian ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
