I have been having a problem recently where on one server users cannot use
smtp-auth. It just stops working. In the logs I get
Jun 25 12:56:57 sb sendmail[32536]: cannot connect to saslauthd server:
Connection refused
Jun 25 12:57:03 sb sendmail[32555]: cannot connect to saslauthd server:
Connection refused
Jun 25 12:57:08 sb sendmail[32568]: cannot connect to saslauthd server:
Connection refused
If I use a script I made for the dovecot problem it starts working again.
#!/bin/sh
service dovecot stop
sleep 2
service xinetd stop
sleep 2
killall -9 dovecot-auth
sleep 2
killall -9 pop3-login
sleep 2
killall -9 saslauthd
sleep 2
service dbrecover stop
sleep 2
service saslauthd stop
sleep 2
service dbrecover start
sleep 2
service saslauthd start
sleep 2
service xinetd start
sleep 2
service dovecot start
It seems to behave like a pam issue just like the dovecot problem.
So the question is has anyone else seen this? I was looking for a small
script I could run every 5 min and if it sees "server: Connection refused"
in the last 5 min it runs the restart script automatically or something like
that. Anyone else have any ideas?
Thanks,
__________________________________________________________
Michael Aronoff - CIIC, Inc. - ma (at mark) ciic.com - Calabasas, CA