[Dovecot] dovecot behaving badly after upgrade..
i upgraded dovecot from 0.99 to the last version and it doesnt seem to work anymore.. im using vpopmail userdb and i get this in the logs :
dovecot: Dec 18 03:42:08 Info: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=81.x.x.x rip=81.x.x.x resp= dovecot: Dec 18 03:42:08 Info: auth(default): client out: CONT 1 dovecot: Dec 18 03:42:08 Info: auth(default): client in: CONT 1 AGRhbmlAbGludXhzb2x1dGlvbnMucm8AcG9jcG9j dovecot: Dec 18 03:42:08 Error: auth(default): vmysql: sql error[3]: MySQL server has gone away dovecot: Dec 18 03:42:08 Info: auth(default): vpopmail(dani@domain,81.x.x.x): unknown user dovecot: Dec 18 03:42:09 Info: auth(default): client out: FAIL 1 user=dani@domain dovecot: Dec 18 03:42:09 Info: auth(default): client in: AUTH 2 PLAIN service=POP3 lip=81.x.x.x rip=81.x.x.x resp=AGRhbmlAbGludXhzb2x1dGlvbnMucm8AcG9jcG9j
anyone encountered this? mysql is not away, i edited dovecot.conf carefully. what am i missing? thanks
-- Daniel Petre System Administrator Tech Support Coordinator ............................................................................. RCS & RDS Pitesti Tel.: +40348.400.401 Fax: +40348.400.441 http://www.rcs-rds.ro .............................................................................
Privileged/Confidential Information may be contained in this message. If you are not in the addresses indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by reply e-mail.
On Sun, 2005-12-18 at 02:52 +0200, daniel petre wrote:
dovecot: Dec 18 03:42:08 Error: auth(default): vmysql: sql error[3]: MySQL server has gone away .. anyone encountered this? mysql is not away, i edited dovecot.conf carefully. what am i missing?
That error message is coming from vpopmail libraries, and it looks like it at least thinks it can't connect to MySQL. Looks to me like the problem is in vpopmail's side. There isn't really anything that can be configured for vpopmail from Dovecot's side.
i dont think its vpopmail's fault, since THIS running version is OKAY:
delfix ~ # emerge -s dovecot Searching... [ Results for search key : dovecot ] [ Applications found : 1 ]
- net-mail/dovecot Latest version available: 1.0_alpha5 Latest version installed: 0.99.14-r1 Size of downloaded files: 1,236 kB Homepage: http://dovecot.org/ Description: An IMAP and POP3 server written with security primarily in mind License: LGPL-2.1
Timo Sirainen wrote:
On Sun, 2005-12-18 at 02:52 +0200, daniel petre wrote:
dovecot: Dec 18 03:42:08 Error: auth(default): vmysql: sql error[3]: MySQL server has gone away
..
anyone encountered this? mysql is not away, i edited dovecot.conf carefully. what am i missing?
That error message is coming from vpopmail libraries, and it looks like it at least thinks it can't connect to MySQL. Looks to me like the problem is in vpopmail's side. There isn't really anything that can be configured for vpopmail from Dovecot's side.
-- Daniel Petre System Administrator Tech Support Coordinator ............................................................................. RCS & RDS Pitesti Tel.: +40348.400.401 Fax: +40348.400.441 http://www.rcs-rds.ro .............................................................................
Privileged/Confidential Information may be contained in this message. If you are not in the addresses indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by reply e-mail.
Hi,
It doesn't matter who's fault it is. I run Dovecot with mysql auth and it does the same.. the idea is that mysql has a timeout for connections so, after a period of inactivity it closes the connection. I don't know if Dovecot uses what the developers from mysql propose: if mysql_ping != ok then reconnect I didn't have time to browse the sources.
The lazy work-around I made is modifying the pop3/imap monitor of mon and every 15 min, mon logs into dovecot with a test account :)
It's the same problem with amavis but that's not necesarly amavis's fault but the DBI people.
PS: I run : primarily in mind
- net-mail/dovecot Installed: 0.99.14-r1 Homepage: http://dovecot.org/ Description: An IMAP and POP3 server written with security
- dev-db/mysql Installed: 5.0.17 Homepage: http://www.mysql.com/ Description: A fast, multi-threaded, multi-user SQL database server
maybe using pam_mysql would solve this issue..
daniel petre wrote:
i dont think its vpopmail's fault, since THIS running version is OKAY:
delfix ~ # emerge -s dovecot Searching... [ Results for search key : dovecot ] [ Applications found : 1 ]
- net-mail/dovecot Latest version available: 1.0_alpha5 Latest version installed: 0.99.14-r1 Size of downloaded files: 1,236 kB Homepage: http://dovecot.org/ Description: An IMAP and POP3 server written with security primarily in mind License: LGPL-2.1
Timo Sirainen wrote:
On Sun, 2005-12-18 at 02:52 +0200, daniel petre wrote:
dovecot: Dec 18 03:42:08 Error: auth(default): vmysql: sql error[3]: MySQL server has gone away
..
anyone encountered this? mysql is not away, i edited dovecot.conf carefully. what am i missing?
That error message is coming from vpopmail libraries, and it looks like it at least thinks it can't connect to MySQL. Looks to me like the problem is in vpopmail's side. There isn't really anything that can be configured for vpopmail from Dovecot's side.
participants (3)
-
Adrian Vasile
-
daniel petre
-
Timo Sirainen