错误:Ubuntu 11.10 + saslauthd:SASL PLAIN身份验证失败:无机制可用
您在Ubuntu 11.10上安装了Postfix与saslauthd,并在尝试发送电子邮件时在/var/log/mail.log中
收到以下错误信息:
server1 postfix/smtpd[7868]: warning: unknown[1.2.3.4]: SASL PLAIN authentication failed: no mechanism available
解
saslauthd似乎在Ubuntu 11.10中有bug: https : //bugs.launchpad.net/ubuntu/+s...l2/+bug/875440
您可以通过从Ubuntu 11.04安装saslauthd软件包来解决问题:
apt-get install libsqlite0 db4.8-util libssl0.9.8
cd /tmp
mkdir sasl
cd sasl
wget http://archive.ubuntu.com/ubuntu/pool/main/c/cyrus-sasl2/libsasl2-2_2.1.23.dfsg1-5ubuntu3_amd64.deb http://archive.ubuntu.com/ubuntu/pool/main/c/cyrus-sasl2/libsasl2-modules_2.1.23.dfsg1-5ubuntu3_amd64.deb http://archive.ubuntu.com/ubuntu/pool/main/c/cyrus-sasl2/libsasl2-modules-sql_2.1.23.dfsg1-5ubuntu3_amd64.deb http://archive.ubuntu.com/ubuntu/pool/main/c/cyrus-sasl2/libsasl2-dev_2.1.23.dfsg1-5ubuntu3_amd64.deb http://archive.ubuntu.com/ubuntu/pool/main/c/cyrus-sasl2/sasl2-bin_2.1.23.dfsg1-5ubuntu3_amd64.deb
dpkg -i *.deb
如果您有32位系统, 请将_amd64
替换为_i386
。