Adinda Praditya writes:

 Apr 23 08:46:42 mercury73 authdaemond: Authenticated:
sysusername=<null>, sysuserid=5000, sysgroupid=5000,
homedir=/opt/mail, [EMAIL PROTECTED], fullname=Test Info,
maildir=/opt/mail/nama.domain.com/info, quota=250000000S,
options=<null>
 Apr 23 08:46:42 mercury73 imapd: chdir
/opt/mail/nama.domain.com/info: Permission denied

As the log said, i passed mysql authentication and the problem is the
file permission. Inside /opt/mail/ has permission *00 (700 for folders
and 600 for the files) and they're all belongs to vmail.vmail. I think
this is a standard file permission as it stated on almost courier-imap
manual / tutorial.

Maybe, maybe not. The above log files indicate that after dropping root privileges for the indicated userid and groupid, chdir to the given directory fails, due to insufficient permissions.

The question is,
1. What should i check? What's wrong?

Check the ownership and the permissions not just on that maildir directory, but all of its parent directories.

2. Even if i give the read and write permission to the user's maildir
(and its domain), i still couldn't login to IMAP. The email client

Besides read/write, the execute permission must also be set.


Attachment: pgp3IzBAHjz4d.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to