- 论坛徽章:
- 1
|
10可用积分
邮件服务器发信正常,但POP3不正常.
用mail客户端或者用telnet IP 110等方式连接
postfix
Sasl-2.1.22
courier-authlib-0.59.3
courier-imap-4.1.3
等构建的邮件服务器.
maillog里都没有任何关于pop3的记录.
也不会产生任何的日志.
而只有在本地主机
[root@mail log]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Hello there.
user test@xxx.com
+OK Password required.
pass test123
+OK logged in.
这样的方式才能在mailog里产生日志.
Jan 8 17:24:47 localhost pop3d: Connection, ip=[xxx.xxx.xx.xxx]
Jan 8 17:25:01 localhost authdaemond: received auth request, service=pop3, authtype=login
Jan 8 17:25:01 localhost authdaemond: authmysql: trying this module
Jan 8 17:25:01 localhost authdaemond: authmysqllib: connected. Versions: header 50045, client 50045, server 50045
Jan 8 17:25:01 localhost authdaemond: SQL query: SELECT username, password, "", '689', '689', concat('/var/mailbox/',homedir), concat('/var/mailbox/',maildir), "", name, "" FROM mailbox WHERE username = 'test@xxx.com'
Jan 8 17:25:01 localhost authdaemond: password matches successfully
Jan 8 17:25:01 localhost authdaemond: authmysql: sysusername=<null>, sysuserid=689, sysgroupid=689, homedir=/var/mailbox/xxx.com/test, address=test@xxx.com, fullname=test, maildir=/var/mailbox/xxx.com/test/Maildir/, quota=<null>, options=<null>
Jan 8 17:25:01 localhost authdaemond: authmysql: clearpasswd=<null>, passwd=$1$KwaEyhc/$2mVDfXXiGzCuegrlHg1jT/
Jan 8 17:25:01 localhost authdaemond: Authenticated: sysusername=<null>, sysuserid=689, sysgroupid=689, homedir=/var/mailbox/xxx.com/test, address=test@xxx.com, fullname=test, maildir=/var/mailbox/xxx.com/test/Maildir/, quota=<null>, options=<null>
Jan 8 17:25:01 localhost authdaemond: Authenticated: clearpasswd=test123, passwd=$1$KwaEyhc/$2mVDfXXiGzCuegrlHg1jT/
Jan 8 17:25:01 localhost pop3d: LOGIN, user=test@xxx.com, ip=[xxx.xxx.xx.xxx]
Jan 8 17:25:03 localhost pop3d: LOGOUT, user=test@xxx.com, ip=[xxx.xxx.xx.xxx], top=0, retr=0, time=2
非常不解,请问是那里配置出问题了呢?
端口是在监听的.
[root@mail log]# netstat -an|grep 110
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN |
|