Hi, I use postfix with courier SASL and rouncube.

When I boot everything works fine, after sometime I can't connect to the
imap anymore.

I don't see something special on logs :-/

When I restart every courier, postfix et sasl services. That doesn't work
better...

To work again, i need a reboot...

Here is log when it's OK:

Jul 10 15:34:50 ns235498 imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 10 15:35:02 ns235498 authdaemond: received auth request, service=imap,
authtype=login
Jul 10 15:35:02 ns235498 authdaemond: authmysql: trying this module
Jul 10 15:35:02 ns235498 authdaemond: SQL query: SELECT email, password,
"", 5000, 5000, "/home/vmail",
CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/'),
quota, "", "" FROM users WHERE email = 'user@domain.exemple'
Jul 10 15:35:02 ns235498 authdaemond: password matches successfully
Jul 10 15:35:02 ns235498 authdaemond: authmysql: sysusername=<null>,
sysuserid=5000, sysgroupid=5000, homedir=/home/vmail,
address=user@domain.exemple, fullname=<null>, maildir=domain.exemple/user/,
quota=2147483647, options=<null>
Jul 10 15:35:02 ns235498 authdaemond: authmysql: clearpasswd=<null>,
passwd=LCbKsQjemgak.
Jul 10 15:35:02 ns235498 authdaemond: Authenticated: sysusername=<null>,
sysuserid=5000, sysgroupid=5000, homedir=/home/vmail,
address=user@domain.exemple, fullname=<null>, maildir=domain.exemple/user/,
quota=2147483647, options=<null>
Jul 10 15:35:02 ns235498 authdaemond: Authenticated: clearpasswd=XXXXXXXX,
passwd=LCbKsQjemgak.
Jul 10 15:35:02 ns235498 imapd: LOGIN, user=user@domain.exemple,
ip=[::ffff:127.0.0.1], port=[57471], protocol=IMAP

Here is log when it's NOT OK:

Jul 10 18:30:13 ns235498 imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 10 18:30:13 ns235498 authdaemond: received auth request, service=imap,
authtype=login
Jul 10 18:30:13 ns235498 authdaemond: authmysql: trying this module
Jul 10 18:30:13 ns235498 authdaemond: authmysqllib: connected. Versions:
header 50517, client 50524, server 50524
Jul 10 18:30:13 ns235498 authdaemond: SQL query: SELECT email, password,
"", 5000, 5000, "/home/vmail",
CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/'),
quota, "", "" FROM users WHERE email = 'user@domain.exemple'
Jul 10 18:30:13 ns235498 authdaemond: password matches successfully
Jul 10 18:30:13 ns235498 authdaemond: authmysql: sysusername=<null>,
sysuserid=5000, sysgroupid=5000, homedir=/home/vmail,
address=user@domain.exemple, fullname=<null>, maildir=domain.exemple/user/,
quota=2147483647, options=<null>
Jul 10 18:30:13 ns235498 authdaemond: authmysql: clearpasswd=<null>,
passwd=LCbKsQjemgak.
Jul 10 18:30:13 ns235498 authdaemond: Authenticated: sysusername=<null>,
sysuserid=5000, sysgroupid=5000, homedir=/home/vmail,
address=user@domain.exemple, fullname=<null>, maildir=domain.exemple/user/,
quota=2147483647, options=<null>
Jul 10 18:30:13 ns235498 authdaemond: Authenticated: clearpasswd=XXXXXXXX,
passwd=LCbKsQjemgak.

THE TWO ONLY DIFFERENCE ARE:

the line Jul 10 18:30:13 ns235498 authdaemond: authmysqllib: connected.
Versions: header 50517, client 50524, server 50524 ARE NOT PRESENT WHEN
IT'S WORKING

AND

IMAP NEVER TAKEOVER HAND WHEN NOT WORKING.

Could you please help me with this headake

Thx in adv...
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to