well, i dont auth users in mysql via dovecot ! im authorising users in vpopmail, and vpopmail stores logs in mysql, and the database isnt going away...
so its something else, here's my dovecot.conf, stripped of comments :
protocols = imap pop3 ssl_disable = yes disable_plaintext_auth = no log_path = /var/log/dovecot.log info_log_path = /var/log/dovecot.log log_timestamp = "%b %d %H:%M:%S " login_user = dovecot login_process_size = 64 login_processes_count = 1 login_max_processes_count = 8 login_max_logging_users = 16 login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c login_log_format = %$: %s first_valid_uid = 50 mail_debug = yes default_mail_env = maildir:%h/.maildir mail_log_prefix = "%Us(%u): " protocol imap { } protocol pop3 { } auth_verbose = yes auth_debug = yes auth default { mechanisms = plain passdb vpopmail { args = } userdb vpopmail { } user = root }
Václav Haisman wrote:
daniel petre wrote:
so, i use vpopmail to auth my users,but after upgrading from dovecot-0.99.14-r1 to dovecot-1.0_alpha5 and tweaking dovecot.conf i get this in the log :
dovecot: Dec 15 12:12:11 Info: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=81.xx.xx.xx rip=81.xx.xx.xx resp= dovecot: Dec 15 12:12:11 Info: auth(default): client out: CONT 1 dovecot: Dec 15 12:12:11 Info: auth(default): client in: CONT 1 AGRhbmlAbGludXhzb2x1dGlvbnMfgucm8AcG9jcG9j dovecot: Dec 15 12:12:11 Error: auth(default): vmysql: sql error[3]: MySQL server has gone away
--^ Isn't it caused by this?
dovecot: Dec 15 12:12:11 Info: auth(default): vpopmail(dani@domain.com,81.xx.xx.xx): unknown user dovecot: Dec 15 12:12:12 Info: auth(default): client out: FAIL 1 user=dani@domain.com dovecot: Dec 15 12:12:12 Info: auth(default): client in: AUTH 2 PLAIN service=POP3 lip=81.xx.xx.xx rip=81.xx.xx.xx resp=AGRhbmlAbGludXhzb2x1dGlvbnMfgucm8AcG9jcG9j dovecot: Dec 15 12:12:12 Error: auth(default): vmysql: sql error[3]: MySQL server has gone away dovecot: Dec 15 12:12:12 Info: auth(default): vpopmail(dani@domain.com,81.xx.xx.xx): unknown user dovecot: Dec 15 12:12:14 Info: auth(default): client out: FAIL 2 user=dani@domain.com
so no one can login no more via pop3/vpopmail ..
anyone any ideas?
thx.
-- 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.