[Dovecot] pop3-login Error after dovecot 1.2.11 to dovecot 2.0.13
Bradley Giesbrecht
bradley.giesbrecht at gmail.com
Fri Jun 17 20:22:27 EEST 2011
I recently upgaded from dovecot 1.2.11 to 2.0.13.
I used this command on my dovecont.conf after the upgrade and then moved the new file into place after removing some plugins.
$ sudo doveconf -n -c dovecot-1.conf > dovecot-2.conf
After 24+ hours with no issues I was getting pop3 login failures.
...
/path/to/log/dovecot.log:master: Error: service(pop3): read(status) failed: Interrupted system call
...
/path/to/log/dovecot.log:Jun 17 05:25:47 pop3-login: Error: master(pop3): Auth request timed out (received 0/12 bytes)
/path/to/log/dovecot.log:Jun 17 05:25:47 pop3-login: Info: Internal login failure (pid=1796 id=1) (auth failed, 1 attempts): user=<rriveter at domainname.com>, method=APOP, rip=123.4.5.6, lip=123.7.8.9
/path/to/log/dovecot.log:Jun 17 05:25:47 pop3-login: Error: master(pop3): Auth request timed out (received 0/12 bytes)
/path/to/log/dovecot.log:Jun 17 05:25:47 pop3-login: Info: Internal login failure (pid=1797 id=1) (auth failed, 1 attempts): user=<jdoe at domainname.com>, method=APOP, rip=123.4.5.6, lip=123.7.8.9
/path/to/log/dovecot.log:Jun 17 05:25:47 pop3-login: Error: master(pop3): Auth request timed out (received 0/12 bytes)
/path/to/log/dovecot.log:Jun 17 05:25:47 pop3-login: Info: Internal login failure (pid=1798 id=1) (auth failed, 1 attempts): user=<gkhan at domainname.com>, method=APOP, rip=123.4.5.6, lip=123.7.8.9
/path/to/log/dovecot.log:Jun 17 05:25:47 pop3-login: Error: master(pop3): Auth request timed out (received 0/12 bytes)
...
/path/to/log/dovecot.log:Jun 17 05:40:34 pop3-login: Error: net_connect_unix(pop3) failed: Operation timed out
...
Bouncing dovecot has resolved the login issues for the present.
Reading from the wiki I see my post-login scripts will need changing.
http://wiki2.dovecot.org/Upgrading/2.0
Is there anything else obviously/dangerously wrong with the following doveconf output?
I'm am still in the process of moving directives out of dovecot.conf into the new conf.d files.
$ doveconf -n
# 2.0.13: /path/to/etc/dovecot/dovecot.conf
# OS: Darwin 9.8.0 Power Macintosh hfs
auth_mechanisms = plain login cram-md5 ntlm apop
default_internal_user = _dovecot
default_login_user = _dovenull
disable_plaintext_auth = no
log_path = /path/to/log/dovecot.log
mail_location = dbox:/path/to/mail/%d/%n/dbox
mail_max_userip_connections = 30
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
passdb {
args = /path/to/etc/dovecot/dovecot_mysql.conf
driver = sql
}
plugin {
autocreate = Trash
autocreate2 = Spam
autosubscribe = Trash
autosubscribe2 = Spam
}
protocols = imap pop3
service auth {
unix_listener /path/to/var/spool/postfix/private/auth {
group = _postfix
mode = 0660
user = _postfix
}
unix_listener auth-master {
mode = 0600
user = _vmail
}
unix_listener auth-userdb {
group = _vmail
user = _vmail
}
}
service imap {
executable = /path/to/dovecot/bin/log_imap_login.sh
}
service pop3 {
executable = /path/to/dovecot/bin/log_pop3_login.sh
}
ssl_cert = </path/to/etc/ssl/certs/dovecot.pem
ssl_key = </path/to/etc/ssl/private/dovecot.pem
userdb {
driver = prefetch
}
userdb {
args = /path/to/etc/dovecot/dovecot_mysql.conf
driver = sql
}
Thanks,
Bradley Giesbrecht
More information about the dovecot
mailing list