SASL LOGIN的通用失败

几年前,我已经使用这个指南设置我的服务器: http : //flurdy.com/docs/postfix/当时机器运行Ubuntu 8.04 LTS,最近我已经更新到12.04 LTS的机器,但不能强制SASL工作,所以atm发送邮件只能使用网SquirellMail

我可以提供requredconfiguration,但是为了知道这是我在日志中的内容:

Apr 19 10:59:10 web_addr postfix/smtpd[7669]: connect from __some_IP__ Apr 19 10:59:22 web_addr postfix/smtpd[7669]: Anonymous TLS connection established from __some_IP__: TLSv1 with cipher RC4-MD5 (128/128 bits) Apr 19 10:59:27 web_addr postfix/smtpd[7669]: warning: __some_IP__: SASL LOGIN authentication failed: generic failure 

并没有关于失败原因的更多信息 – 甚至在哪里寻找问题的原因? 接收和发送数据用于正常工作,现在我得到了这些。

也:

 testsaslauthd -u _valid_user_ -p _user_password_ -f /var/spool/postfix/var/run/saslauthd/mux 

结果是:

 0: NO "authentication failed" 

postconf -a

 cyrus dovecot 

saslauthd -v

 saslauthd 2.1.25 authentication mechanisms: sasldb getpwent kerberos5 pam rimap shadow ldap 

OP要添加:

经过几次尝试,testing和大量的debugging…

发现我在configuration文件中有错字:

 /etc/postfix/sasl/smtpd.conf 

当我input时发现它:saslfinger -s

有这些行:

 -- content of /etc/postfix/sasl/smtpd.conf -- pwcheck_method: saslauthd mech_list: plain login cram-md5 digest-md5 #mech_list: plain login pam log_level: 15 allow_plaintext: true #auxprop_plugin: mysql auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_user: --- replaced --- sql_passw: _MY_PASSWORD_ 

一开始没有注意到错字,但注意到一行有“—取代—”信息,第二行没有,但应该…