离专家在线 开始 还有: 000000秒,《 【第95期专家门诊】优化管理、轻松应对--企业网络的管理排障思路 》,快去看看吧!
发新话题
打印

[其他Mail服务器] 不能发信给自己。

不能发信给自己。

不能发信给自己。比如:不能用test@test.com发信给test@test.com
希望能帮忙看一下。我用的是postfix。谢谢。
日志如下:

Sep 12 10:16:05 mail postfix/smtpd[6134]: connect from unknown[202.109.240.91]
Sep 12 10:16:07 mail postfix/smtpd[6134]: lost connection after MAIL from unknown[202.109.240.91]
Sep 12 10:16:07 mail postfix/smtpd[6134]: disconnect from unknown[202.109.240.91]
Sep 12 10:16:12 mail postfix/smtpd[6134]: connect from unknown[202.109.240.91]
Sep 12 10:16:18 mail postfix/smtpd[6134]: 0E9255941FE: client=unknown[202.109.240.91], sasl_method=LOGIN, sasl_username=ankey
Sep 12 10:16:18 mail postfix/smtpd[6134]: lost connection after RCPT from unknown[202.109.240.91]
Sep 12 10:16:18 mail postfix/smtpd[6134]: disconnect from unknown[202.109.240.91]
Sep 12 10:17:43 mail postfix/smtpd[6134]: connect from unknown[202.109.240.91]
Sep 12 10:17:47 mail postfix/smtpd[6134]: DD06E5941FE: client=unknown[202.109.240.91]
Sep 12 10:17:47 mail postfix/smtpd[6134]: lost connection after RCPT from unknown[202.109.240.91]
Sep 12 10:17:47 mail postfix/smtpd[6134]: disconnect from unknown[202.109.240.91]
Sep 12 10:17:56 mail postfix/smtpd[6134]: connect from unknown[202.109.240.91]
Sep 12 10:18:02 mail postfix/smtpd[6134]: 57C1C5941FE: client=unknown[202.109.240.91], sasl_method=LOGIN, sasl_username=ankey
Sep 12 10:18:02 mail postfix/smtpd[6134]: lost connection after RSET from unknown[202.109.240.91]
Sep 12 10:18:02 mail postfix/smtpd[6134]: disconnect from unknown[202.109.240.91]
Sep 12 10:20:01 mail postfix/pickup[5929]: 60C945941FE: uid=41 from=
Sep 12 10:20:01 mail postfix/cleanup[6155]: 60C945941FE: message-id=
Sep 12 10:20:01 mail postfix/qmgr[3228]: 60C945941FE: from=, size=743, nrcpt=1 (queue active)
Sep 12 10:20:01 mail postfix/local[6157]: 60C945941FE: to=, orig_to=, relay=local, delay=0, status=
sent (delivered to mailbox)
Sep 12 10:20:01 mail postfix/qmgr[3228]: 60C945941FE: removed
Sep 12 10:21:22 mail postfix/anvil[6136]: statistics: max connection rate 2/60s for (smtp:202.109.240.91) at Sep 12 10:16:12
Sep 12 10:21:22 mail postfix/anvil[6136]: statistics: max connection count 1 for (smtp:202.109.240.91) at Sep 12 10:16:05
Sep 12 10:21:22 mail postfix/anvil[6136]: statistics: max cache size 1 at Sep 12 10:16:05
Sep 12 10:25:00 mail postfix/pickup[5929]: CEE7C5941FE: uid=41 from=
Sep 12 10:25:00 mail postfix/cleanup[6164]: CEE7C5941FE: message-id=
Sep 12 10:25:00 mail postfix/qmgr[3228]: CEE7C5941FE: from=, size=743, nrcpt=1 (queue active)
Sep 12 10:25:00 mail postfix/local[6166]: CEE7C5941FE: to=, orig_to=, relay=local, delay=0, status=
sent (delivered to mailbox)
Sep 12 10:25:00 mail postfix/qmgr[3228]: CEE7C5941FE: removed
Sep 12 10:30:01 mail postfix/pickup[6167]: 4A8A75941FE: uid=41 from=
Sep 12 10:30:01 mail postfix/cleanup[6177]: 4A8A75941FE: message-id=
Sep 12 10:30:01 mail postfix/qmgr[3228]: 4A8A75941FE: from=, size=743, nrcpt=1 (queue active)
Sep 12 10:30:01 mail postfix/local[6179]: 4A8A75941FE: to=, orig_to=, relay=local, delay=0, status=
sent (delivered to mailbox)
Sep 12 10:30:01 mail postfix/qmgr[3228]: 4A8A75941FE: removed


另外:无法用outlook或foxmail之类的发信,而在服务器上查了,有收到其他邮件发来的信。

先谢谢各位的帮助。
谢谢waynewu的帮助,目前可以收发了。
现剩下的就是解决自发的问题。
就是test@test.com发给test@test.com的问题。在此再次谢谢waynewu
呵呵。已可以正常收发了。包括发给自己的。原来还是配置的问题。
原来的main.cf里的只有:smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,
           reject_unauth_destination

后来又添加了为:
smtpd_recipient_restrictions =
                                permit_sasl_authenticated
                                permit_auth_destination
                                permit_mynetworks
                                check_relay_domain
                                reject_rbl_client yahoo.com.tw
                                reject_non_fqdn_sender
                                reject_non_fqdn_recipient
                                reject_unknown_sender_domain
                                reject_unknown_recipient_domain
                                reject

就可以正常了。
发新话题