I've just upgraded to 1.0a3 via a freebsd port, and I've begun to notice odd behaviour from Dovecot. After converting my config file settings over to the new format, everything runs fine for an hour or so, then dovecot stops responding:
oot@toejamfootball# telnet localhost 143 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
- OK Dovecot ready. 1 login justin@redwiredesign.com password [dovecot then just stops doing anything]
- BYE Disconnected for inactivity. Connection closed by foreign host.
in the logs, it says:
Oct 13 09:43:22 toejamfootball dovecot: imap-login: Disconnected:
Inactivity: method=PLAIN, rip=192.168.2.11, lip=192.168.2.43
Oct 13 09:43:22 toejamfootball dovecot: auth(default): client in: AUTH
1 PLAIN service=IMAP lip=192.168.2.43
rip=192.168.2.11
resp=AGp1c3RpbkByZWR3aXJlZGVzaWduLmNvLnVrAHBhc3N3b3Jk
Oct 13 09:43:22 toejamfootball dovecot: auth-worker(default):
sql(x,192.168.2.11): query: SELECT username AS user, MD5(clear) AS
password FROM users LEFT JOIN domains ON domains.domain_id =
users.domain_id WHERE domain="x" AND username="x" AND users.enabled =
1 AND domains.enabled = 1 Oct 13 09:43:22 toejamfootball dovecot:
auth(default): pam(justin@x,192.168.2.11): pam_authenticate() failed:
authentication error
Any clues? I don't use pam for auth anyway, so I just ignore that. When I restart the server and login again it's fine.
j.