![SMTP 服务器 Dovecot / Exim 身份验证错误](https://linux22.com/image/104771/SMTP%20%E6%9C%8D%E5%8A%A1%E5%99%A8%20Dovecot%20%2F%20Exim%20%E8%BA%AB%E4%BB%BD%E9%AA%8C%E8%AF%81%E9%94%99%E8%AF%AF.png)
最近,我安装了centOS 6。安装的目的是使用该服务器作为邮件服务器。我安装的地方Exim 版本 4.84_2 #1和鸽舍。
我关注了这个博客邮政我尝试解决下面给出的错误,但是我没有运气解决它。
2017-02-06 07:07:27 no host name found for IP address x.x.x.x
2017-02-06 07:07:32 dovecot_plain authenticator failed for ([x.x.x.x]) [x.x.x.x]: 535 Incorrect authentication data ([email protected])
2017-02-06 07:07:40 dovecot_plain authenticator failed for ([x.x.x.x]) [x.x.x.x]: 535 Incorrect authentication data ([email protected])
2017-02-06 07:07:48 dovecot_login authenticator failed for ([x.x.x.x]) [x.x.x.x]: 535 Incorrect authentication data ([email protected])
2017-02-06 07:07:52 dovecot_login authenticator failed for ([x.x.x.x]) [x.x.x.x]: 535 Incorrect authentication data ([email protected])
以下是我在上面的博客文章中使用的配置的输出。
[root@com-supportnet ~]# dovecot -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-642.11.1.el6.x86_64 x86_64 CentOS release 6.8 (Final)
auth_mechanisms = plain login
auth_socket_path = /var/run/dovecot/auth-userdb
mail_location = maildir:~/mail
mbox_write_locks = fcntl
passdb {
driver = pam
}
service auth {
unix_listener auth-client {
mode = 0777
user = exim
}
}
ssl_cert = /etc/ssl/mail.com-supportnet.work.crt
ssl_key = /etc/ssl/mail.com-supportnet.work.key
userdb {
driver = passwd
}
请让我知道如何解决此错误。
答案1
如果有人像我一样碰到这里,我通过以下方式在 Gentoo 中解决了这个问题:
# cd /etc/pam.d/ && ln -s imap smtp