atom feed17 messages in net.sourceforge.lists.courier-imapRe: [Courier-imap] imapd: authenticat...
FromSent OnAttachments
Ebbe HjorthFeb 13, 2007 11:43 pm 
Andy Shellam (Mailing Lists)Feb 14, 2007 2:54 am 
Andy Shellam (Mailing Lists)Feb 14, 2007 8:19 am 
Ebbe HjorthFeb 14, 2007 11:22 am 
Ebbe HjorthFeb 16, 2007 1:34 am 
Andy Shellam (Mailing Lists)Feb 16, 2007 3:14 am 
Brian CandlerFeb 17, 2007 12:10 am 
Ebbe HjorthFeb 18, 2007 4:55 am 
Andy Shellam (Mailing Lists)Feb 18, 2007 5:00 am 
Brian CandlerFeb 18, 2007 6:01 am 
Ebbe HjorthFeb 18, 2007 11:53 pm 
Andy Shellam (Mailing Lists)Feb 19, 2007 12:26 am 
Ebbe HjorthFeb 19, 2007 6:21 am 
Andy Shellam (Mailing Lists)Feb 19, 2007 8:15 am 
Ebbe HjorthFeb 19, 2007 12:07 pm 
Miguel GómezFeb 22, 2007 5:24 am 
Sam VarshavchikFeb 22, 2007 3:22 pm 
Subject:Re: [Courier-imap] imapd: authentication error: Input/output error
From:Ebbe Hjorth (in@ebbehjorth.dk)
Date:Feb 18, 2007 11:53:04 pm
List:net.sourceforge.lists.courier-imap

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 = "byte@bytemind.dk" 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/, address=byte@bytemind.dk, fullname=bytemind, maildir=byte@bytemind.dk/, 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=<byte@bytemind.dk>, 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/byte@bytemind.dk/. 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/byte@bytemind.dk/ 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'