I find the following warning message in /var/log/mail.log:
warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
The warning message tells me that saslauthd can’t be located. The
real location is /var/spool/postfix/var/run/saslauthd, but postfix is
expecting to find it in /var/run/saslauthd. Create a symlink as
described below and see if that fixes your problem.
sudo ln -s /var/spool/postfix/var/run/saslauthd /var/run
sudo chown root:sasl /var/spool/postfix/var/run/saslauthd
sudo usermod -a -G sasl postfix
Be sure to restart postfix and saslauthd.sudo chown root:sasl /var/spool/postfix/var/run/saslauthd
sudo usermod -a -G sasl postfix
sudo /etc/init.d/postfix restart
sudo /etc/init.d/saslauthd restart
After restarting saslauthd, you should see some of the following files in /var/spool/postfix/var/run/saslauthd:sudo /etc/init.d/saslauthd restart
cache.flock cache.mmap mux/ mux.accept saslauthd.pid
Test using your smtp client and verify that you no long receive the
previous warning message in your mail.log file. Hopefully this was your
quick fix.
Không có nhận xét nào:
Đăng nhận xét