服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

Postfix + Courier + MySql邮件服务器与SASL

我真的无所事事configuration这个邮件服务器部署。 我正在遵循http://flurdy.com/docs/postfix/上的优秀指南。 我在Linode上使用Ubuntu 10.04 LTS。 在按照该指南的信件时,从Thunderbird邮件客户端发送邮件时遇到了来自Postfix的错误。 warning: SASL authentication failure: no secret in database 其后是通用authentication失败消息。 在Googlesearch后,我在Postfix文档中发现了一些似乎抵消了Flurdy指南的内容: 如果您必须存储encryption的密码,则不能使用ldapdb auxprop插件。 相反,您可以使用“saslauthd -a ldap”直接查询LDAP数据库,并在saslauthd.conf中进行适当的configuration。 这可能会在本文档的更高版本中logging。 您将无法使用任何需要访问明文密码的方法,例如共享密钥方法CRAM-MD5和DIGEST-MD5。 该指南似乎依靠PAM来绕过这个限制,但我认为这是我的configuration不工作的腿(数据库错误的秘密)。我从我的/ etc删除了CRAM-MD5和DIGEST-MD5机制/postfix/sasl/smtpd.conf,现在我可以使用PLAINlogin。 问题是这些密码现在是未encryption传输的。 还有一个奇怪的问题,我们的Thunderbird客户端似乎无法将消息保存到“已发送”文件夹,并在传输完成后挂在发送进度条上。 我想继续configurationTLS,使连接更安全,但到目前为止,这是一个噩梦,我几乎不敢进一步冒险破坏configuration。 我对这些服务并不是很熟悉,并且会喜欢正确的方向。 组态: /etc/postfix/sasl/smtpd.conf pwcheck_method: saslauthd mech_list: plain login log_level: 7 allow_plaintext: true auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_user: mail sql_passw: *redacted* sql_database: maildb sql_select: select crypt […]