系统:Ubuntu 17.10
这是我尝试登录日志文件时遇到的错误
/var/lib/roundcube/logs/imap
:
[17-Apr-2018 22:03:13 -0700]: <3aedeusd> [1116] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot (Ubuntu) ready.
[17-Apr-2018 22:03:13 -0700]: <3aedeusd> [1116] C: A0001 ID ("name" "Roundcube" "version" "1.3.6" "php" "7.1.16-1+ubuntu17.10.1+deb.sury.org+1" "os" "Linux" "command" "/webmail/?_task=login")
[17-Apr-2018 22:03:13 -0700]: <3aedeusd> [1116] S: * ID ("name" "Dovecot")
[17-Apr-2018 22:03:13 -0700]: <3aedeusd> [1116] S: A0001 OK ID completed.
[17-Apr-2018 22:03:13 -0700]: <3aedeusd> [1116] C: A0002 AUTHENTICATE PLAIN ****** [57]
[17-Apr-2018 22:03:17 -0700]: <3aedeusd> [1116] S: A0002 NO [AUTHENTICATIONFAILED] Authentication failed.
/var/log/mail.log
:
Apr 17 22:03:17 hostname dovecot: imap-login: Disconnected (auth failed, 1 attempts in 4 secs): user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, secured, session=<WGxhquKUAAAAAAAAAAAAAAAAAAAAB>
我没有像这篇文章中那样定义鸽舍这里,但有这个
/etx/pam.d/dovecot
:
#%PAM-1.0
@include common-auth
@include common-account
@include common-session
与服务器的连接通过 SSL 运行。
我不确定这是 Roundcube 的问题还是 Postfix 的问题。目前看来 PAM 需要配置。