- 论坛徽章:
- 5
|
Postfix + Dovecot + Courier-Authlib + Cyrus-SASL + MySQL + ExtMail
现在用 ExtMail 收发邮件都正常, 可以和 Gmail 以及 QQ邮箱 相互通信 (就测试这两个), 但是使用 Foxmail 连接服务器, 就出错了.
日志:- Sep 13 12:33:34 Mail postfix/smtpd[4773]: connect from unknown[120.71.235.126]
- Sep 13 12:33:34 Mail authdaemond: received auth request, service=smtp, authtype=login
- Sep 13 12:33:34 Mail authdaemond: authmysql: trying this module
- Sep 13 12:33:34 Mail authdaemond: SQL query: SELECT username, password, "", '2525', '2525', concat('/var/mailbox/',homedir), concat('/var/mailbox/',maildir), quota, name, "" FROM mailbox WHERE username = 'xxx@xxx.xx'
- Sep 13 12:33:34 Mail authdaemond: password matches successfully
- Sep 13 12:33:34 Mail authdaemond: authmysql: sysusername=<null>, sysuserid=2525, sysgroupid=2525, homedir=/var/mailbox/xxx.xx/xxx, address=xxx@xxx.xx, fullname=xxx, maildir=/var/mailbox/xxx.xx/xxx/Maildir/, quota=5242880S, options=<null>
- Sep 13 12:33:34 Mail authdaemond: authmysql: clearpasswd=<null>, passwd=$1$bxfpSqOi$KIkHt05crwM2oi.8/I4Ox.
- Sep 13 12:33:34 Mail authdaemond: Authenticated: sysusername=<null>, sysuserid=2525, sysgroupid=2525, homedir=/var/mailbox/xxx.xx/xxx, address=xxx@xxx.xx, fullname=xxx, maildir=/var/mailbox/xxx.xx/xxx/Maildir/, quota=5242880S, options=<null>
- Sep 13 12:33:34 Mail authdaemond: Authenticated: clearpasswd=test123, passwd=$1$bxfpSqOi$KIkHt05crwM2oi.8/I4Ox.
- Sep 13 12:33:34 Mail postfix/smtpd[4773]: lost connection after AUTH from unknown[120.71.235.126]
- Sep 13 12:33:34 Mail postfix/smtpd[4773]: disconnect from unknown[120.71.235.126]
- Sep 13 12:33:38 Mail dovecot: pop3-login: Aborted login (auth failed, 1 attempts in 4 secs): user=<xxx@xxx.xx>, method=PLAIN, rip=120.71.235.126, lip=192.168.1.233, session=<0HuAWzzm0gB4R+t+>
- Sep 13 12:33:46 Mail dovecot: pop3-login: Disconnected (auth failed, 1 attempts in 8 secs): user=<xxx@xxx.xx>, method=PLAIN, rip=120.71.235.126, lip=192.168.1.233, session=<7AS+Wzzm1QB4R+t+>
复制代码 以上是整个认证过程.
密码验证都过了, 结果出现了 lost connection after AUTH from unknown . 这是什么地方没有设置好? |
|