[Dovecot] Restarting dovecot-auth stops authentication
Timo Sirainen
tss at iki.fi
Thu Nov 18 19:45:37 EET 2010
On Wed, 2010-11-17 at 21:17 +0100, Attila Nagy wrote:
> pop3-login: Error: net_connect_unix(pop3) failed: Connection refused
Right. This is the main problem. So the question becomes why is the
connection being refused.
> I've checked, auth's start time is yesterday, so it wasn't restarted. I
> guess what remains is the resource limit (client_limit maybe?).
If that happens, there should be a log entry. You can grep process_limit
and client_limit from logs.
> The strange thing is according to tcpdump, dovecot does very few LDAP
> lookups, and they are answered in a reasonable time, but I haven't done
> a strict correlation with the above errors.
This shouldn't have anything to do with authentication.
> How does dovecot logs timed out LDAP lookups?
"Connection appears to be hanging, reconnecting"
I usually log errors to a different log file. Normally that file should
be empty, so you can easily see all the errors and warnings that could
be causing problems.
log_path = /var/log/dovecot-errors.log
info_log_path = /var/log/dovecot-info.log
More information about the dovecot
mailing list