我尝试用smtpauthentication来设置postfix。 我想用/ etc / shadow作为我的领域 不幸的是,当我尝试进行身份validation时,出现“通用错误” # nc localhost 25 220 mail.foo ESMTP Postfix AUTH PLAIN _base_64_encoded_user_name_and_password_ 535 5.7.8 Error: authentication failed: generic failure 在mail.warn日志文件中,我得到以下条目 Oct 8 10:43:40 mail postfix/smtpd[1060]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory Oct 8 10:43:40 mail postfix/smtpd[1060]: warning: SASL authentication failure: Password verification […]
首先让我说明,邮件服务器工作正常,用户可以连接和发送电子邮件。 基本上有一个连接到邮件服务器的本地web脚本,每隔几分钟就试图发送一次邮件。 它有错误的密码。 问题是我们不知道脚本连接了什么,所以我们正在寻找一种方法来获取正在尝试的用户名。 UGFzc3dvcmQ6 – 解码到密码:所以没有太大的帮助。 完整的日志行如下。 Dec 11 20:15:37 HOST postfix/smtpd[642]: warning: HOST[xxxx]: SASL LOGIN authentication failed: UGFzc3dvcmQ6 服务器运行Debian / Postfix / Dovecot。
我在上面的错误挣扎超过5个小时。 我试图完全删除Postfix,我已经按照下一个手册和SASL手册的指示来重新安装它。 当我试图用telnetlogin时,服务器阻止login,我得到这个:(用smtpd -v更详细): postfix / smtpd [26301]:xsasl_cyrus_server_create:SASL服务= smtp,realm =(null) postfix / smtpd [26301]:name_mask:noanonymous postfix / smtpd [26301]:警告:xsasl_cyrus_server_get_mechanism_list:没有适用的SASL机制 postfix / smtpd [26301]:致命的:没有SASLauthentication机制 这里是postconf -n的结果postconf -n : alias_database = hash:/ etc / aliases alias_maps = hash:/ etc / aliases allow_percent_hack = no append_dot_mydomain = no biff =没有 broken_sasl_auth_clients =是 config_directory = / etc / postfix home_mailbox […]