> Ebbe Hjorth wrote: >> Feb 18 13:11:32 odin authdaemond: authmysql: trying this module Feb 18 13:11:32 odin authdaemond: SQL query: SELECT username, "", password, '5001', '5001', '/usr/local/mail/', maildir, qu >> ota, name, "" FROM mailbox WHERE username = "[EMAIL PROTECTED]" AND (active='1') >> >> Even with maildrop installed i get an error, no longer the I/O error but, >> /var/log/maillog >> >> Feb 18 13:50:22 odin authdaemond: Authenticated: sysusername=<null>, sysuserid=5001, sysgroupid=5001, homedir=/usr/local/ma >> il/, [EMAIL PROTECTED], fullname=bytemind, >> [EMAIL PROTECTED]/, quota=0, options=<null> >> Feb 18 13:50:22 odin authdaemond: Authenticated: clearpasswd=xxx, passwd=<null> >> Feb 18 13:50:22 odin maildrop[963]: Unable to open mailbox. >> Feb 18 13:50:22 odin postfix/pipe[962]: 5A72F28471: >> to=<[EMAIL PROTECTED]>, relay=maildrop, delay=0.38, delays=0.11/0.07 /0/0.2, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/local/bin/maildrop: Unable to open mailbox. ) >> > > Check that the user with ID 5001, and group with ID 5001, has access to /usr/local/mail/[EMAIL PROTECTED]/. > Are you sure your mail user and group are 5001, as that seems a tad high - non-system user IDs normally start at 500, or 1000, depending on your OS. > > > You can grep /etc/passwd to find the user/group IDs: > > cat /etc/passwd|grep <your mail user> > <your mail user>:*:<user ID>:<group ID>:Mail Client Access:/home/<your mail user>:/sbin/nologin > > Hi,
My my dir is /usr/local/mail/bytemind.dk/[EMAIL PROTECTED]/ and is owned my vmail:vmail (5001:5001) homedir /usr/local/mail/domain/user, because i am running virtual users, with mysql backend - how do i get the domain part in my path? /usr/local/etc/authlib/authmysqlrc MYSQL_SERVER localhost MYSQL_DATABASE postfix MYSQL_USERNAME xxx MYSQL_PASSWORD yyy MYSQL_PORT 3306 MYSQL_USER_TABLE mailbox MYSQL_LOGIN_FIELD username MYSQL_CLEAR_PWFIELD password MYSQL_UID_FIELD '5001' MYSQL_GID_FIELD '5001' MYSQL_HOME_FIELD '/usr/local/mail/' MYSQL_MAILDIR_FIELD maildir MYSQL_NAME_FIELD name MYSQL_QUOTA_FIELD quota MYSQL_WHERE_CLAUSE active='1' ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap