- 论坛徽章:
- 0
|
环境信息:
[root@mail ~]# uname -a
Linux mail.teamsun.com.cn 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux
[root@mail ~]# rpm -qa postfix
postfix-2.6.6-2.2.el6_1.i686
[root@mail ~]# rpm -qa dovecot
dovecot-2.0.9-2.el6_1.1.i686
[root@mail ~]#
问题:发信没问题,但收信总提示验证错误、用户名密码不对(肯定是正确的)
dovecot配置信息:
[root@mail ~]# grep -v '^#' /etc/dovecot/dovecot.conf
protocols = imap pop3
login_trusted_networks = 172.16.1.0/24
dict {
}
[root@mail ~]# grep -v '^#' /etc/dovecot/conf.d/10-mail.conf | grep -v '^$' | grep -v '#'
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mbox_write_locks = fcntl
测试报错:
[root@mail ~]# telnet mail.teamsun.com.cn 110
Trying 172.16.1.207...
Connected to mail.teamsun.com.cn.
Escape character is '^]'.
+OK Dovecot ready.
user test
+OK
pass test
-ERR Authentication failed.
quit
+OK Logging out
Connection closed by foreign host.
报错日志:
[root@mail ~]# tail -f /var/log/maillog
Dec 12 10:22:42 mail dovecot: master: Dovecot v2.0.9 starting up (core dumps disabled)
Dec 12 10:24:17 mail dovecot: pop3-login: Aborted login (auth failed, 1 attempts): user=<wangdong>, method=PLAIN, rip=172.16.1.207, lip=172.16.1.207, secured
Dec 12 10:26:43 mail dovecot: master: Warning: Killed with signal 15 (by pid=2994 uid=0 code=kill)
Dec 12 10:26:44 mail dovecot: master: Dovecot v2.0.9 starting up (core dumps disabled)
Dec 12 10:27:35 mail dovecot: pop3-login: Aborted login (auth failed, 1 attempts): user=<wangdong>, method=PLAIN, rip=172.16.1.207, lip=172.16.1.207, secured
Dec 12 10:29:58 mail dovecot: pop3-login: Aborted login (auth failed, 1 attempts): user=<wangdong>, method=PLAIN, rip=172.16.1.207, lip=172.16.1.207, secured
Dec 12 10:33:57 mail postfix/postfix-script[3092]: starting the Postfix mail system
Dec 12 10:33:57 mail postfix/master[3093]: daemon started -- version 2.6.6, configuration /etc/postfix
Dec 12 10:36:20 mail dovecot: pop3-login: Aborted login (auth failed, 1 attempts): user=<wangdong>, method=PLAIN, rip=172.16.1.207, lip=172.16.1.207, secured
Dec 12 10:38:58 mail dovecot: pop3-login: Aborted login (auth failed, 1 attempts): user=<test>, method=PLAIN, rip=172.16.1.207, lip=172.16.1.207, secured
在线等啊!请知道的前辈指教!先谢谢啦! |
|