Amusingly enough, just as I added SIGUSR1, I get:
Dec 06 17:38:33 auth(default): Error: ldap(customer@example.com): ldap _search() failed (filter (&(objectClass=posixAccount)(|(mail=customer@example.com)(mailAlternateAddress=customer@example.com)))): Server is busy,
So, instant verification there. I think OpenLDAP should handle that problem better, but I will bring it up with them on their mailing list.
Thanks,
Lund
Jorgen Lundman wrote:
Timo Sirainen wrote:
It should log an error any time LDAP query fails. You can't disable it. Probably something like:
ldap_search(blah blah) failed: blah
I see the calls from db-ldap.c but not in any of the files. But I think I know what the juniors did here. They set to rotate the logs, and restart syslogd, even though dovecot writes directly to the logs. With no restart of dovecot-auth.
Next time I will get the auth errors too.
Lund
-- Jorgen Lundman | lundman@lundman.net Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work) Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell) Japan | +81 (0)3 -3375-1767 (home)