imap 登录:已断开连接

imap 登录:已断开连接

我有一个带有公共 dns 条目的电子邮件服务器,可以正常发送和接收。

我尝试将其作为 imap 帐户添加到 Outlook,但始终失败。服务器错误显示

Oct 30 15:29:04 mail.example.local dovecot[17250]: imap-login: Disconnected (auth failed, 1 attempts in 4 secs): user=<[email protected]>, method=PLAIN, rip=12.123.456.789, lip=123.4.56.7, session=<yjdfyjfkugih>

Oct 30 15:29:08 mail.example.local auth[17491]: pam_unix(dovecot:auth): check pass; user unknown

cat /etc/pam.d/dovecot
#%PAM-1.0
auth       required     pam_nologin.so
auth       include      password-auth
account    include      password-auth
session    include      password-auth
auth       required     pam_unix.so nullok
account    required     pam_unix.so

cat auth-system.conf.ext PAM authentication. Preferred nowadays by most systems. PAM is typically used with either userdb passwd or userdb static. REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt> passdb { driver = pam # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>] # [cache_key=<key>] [<service name>] #args = dovecot }

答案1

按照本指南后,我已经解决了这个问题http://xmodulo.com/enable-user-authentication-postfix-smtp-server-sasl.html

它仍然不起作用,但事实证明这是因为我的密码中有一个“£”导致了问题。

相关内容