邮件服务器-邮件系统-邮件技术论坛(BBS)

标题: imail 8.22外网邮件总是发送失败 [打印本页]

作者: ftsarser    时间: 2009-4-17 12:26
标题: imail 8.22外网邮件总是发送失败
内网收发正常,外网收正常
smtp配置的是relay for local users only
用foxmail发外网邮件时,发送成功,但一会就收到Undeliverable Mail消息
正文如下(隐去ip和域名)
undeliverable to xxx@qq.com

Body of message generated response:
554 this message has already been here

Original message follows.

Received: from mydomain.com [xxx.xxx.xxx.xxx] by mydomain.comwith ESMTP
  (SMTPD-8.22) id AA2E0624; Fri, 17 Apr 2009 10:32:14 +0800
Received: from mydomain [xxx.xxx.xxx.xxx] by mydomain.com with ESMTP
  (SMTPD-8.22) id AA2E01B4; Fri, 17 Apr 2009 10:32:14 +0800
Received: from mydomain [xxx.xxx.xxx.xxx] by mydomain.com with ESMTP
  (SMTPD-8.22) id AA2E01B4; Fri, 17 Apr 2009 10:32:14 +0800
Received: from mydomain [xxx.xxx.xxx.xxx] by mydomain.com with ESMTP
  (SMTPD-8.22) id AA2E0444; Fri, 17 Apr 2009 10:32:14 +0800
Received: from QiuHao-EFF87855 [localip] by mydomain.com with ESMTP
  (SMTPD-8.22) id AA1E028C; Fri, 17 Apr 2009 10:31:58 +0800
Date: Fri, 17 Apr 2009 10:31:58 +0800
作者: lgj858    时间: 2009-4-17 15:38
把发信记录贴出来吧
554 this message has already been here

出现这个记录的时候似乎一般都是信息不完全导致的
这个似乎不一定是你的服务器有问题
你可以隔一段时间再发看看
或者贴出更详细的发信记录
作者: ftsarser    时间: 2009-4-17 17:36
发现日志里有上万条垃圾邮箱发信验证失败的记录:
04:17 10:32 SMTPD(ea2901af000001ea) [114.45.48.98] RCPT TO: <5ui4@yahoo.com.tw>
04:17 10:32 SMTPD(ea2901af000001ea) [114.45.48.98] ERR mydomain.com invalid user <5ui4@yahoo.com.tw
04:17 10:32 SMTPD(ea2901af000001ea) [114.45.48.98] RCPT TO: <vcwc@yahoo.com.tw>
04:17 10:32 SMTPD(ea2901af000001ea) [114.45.48.98] ERR mydomain.com invalid user <vcwc@yahoo.com.tw

下面是我去掉垃圾信息后的发信日志
04:17 10:31 SMTPD(ea1e0283000001e2) [202.xxx.xxx.xxx] connect 58.xxx.xxx.xxx port 24542
04:17 10:31 SMTPD(ea1e0283000001e2) [58.xxx.xxx.xxx] EHLO QiuHao-EFF87855
04:17 10:31 SMTPD(ea1e0283000001e2) Authenticated xxx@mydomain.com, session treated as local.
04:17 10:31 SMTPD(ea1e0283000001e2) [58.xxx.xxx.xxx] MAIL FROM: <xxx@mydomain.com>
04:17 10:31 SMTPD(ea1e0283000001e2) [58.xxx.xxx.xxx] RCPT TO: <xxx@qq.com>
04:17 10:31 SMTPD(ea1e0283000001e2) [58.xxx.xxx.xxx] C:\IMail\spool\Dea1e0283000001e2.SMD 3292
04:17 10:31 SMTP-(ea1e0283000001e2) processing C:\IMail\spool\Qea1e0283000001e2.SMD
04:17 10:32 SMTP-(ea1e0283000001e2) Connect mydomain.com [202.xxx.xxx.xxx:25] (1)
04:17 10:32 SMTPD(ea2e0283000001ec) [202.xxx.xxx.xxx] connect 202.xxx.xxx.xxx port 3851
04:17 10:32 SMTP-(ea1e0283000001e2) 220 mydomain.com (IMail 8.22 487-30) NT-ESMTP Server X1
04:17 10:32 SMTP-(ea1e0283000001e2) >EHLO mydomain.com
04:17 10:32 SMTP-(ea1e0283000001e2) 250-mydomain.com says hello
m.cn
04:17 10:32 SMTP-(ea1e0283000001e2) 250-SIZE 0
04:17 10:32 SMTP-(ea1e0283000001e2) 250-8BITMIME
04:17 10:32 SMTP-(ea1e0283000001e2) 250-DSN
04:17 10:32 SMTP-(ea1e0283000001e2) 250-ETRN
04:17 10:32 SMTP-(ea1e0283000001e2) 250-AUTH LOGIN CRAM-MD5
04:17 10:32 SMTP-(ea1e0283000001e2) 250-AUTH LOGIN
04:17 10:32 SMTP-(ea1e0283000001e2) 250-AUTH=LOGIN
04:17 10:32 SMTP-(ea1e0283000001e2) 250-EXPN
04:17 10:32 SMTP-(ea1e0283000001e2) 250 STARTTLS
04:17 10:32 SMTP-(ea1e0283000001e2) >MAIL FROM:<xxx@mydomain.com>
04:17 10:32 SMTP-(ea1e0283000001e2) 250 ok
04:17 10:32 SMTPD(ea2e0283000001ec) [202.xxx.xxx.xxx] MAIL FROM:<xxx@mydomain.com>
04:17 10:32 SMTP-(ea1e0283000001e2) >RCPT To:<xxx@qq.com>
04:17 10:32 SMTPD(ea2e0283000001ec) [202.xxx.xxx.xxx] RCPT To:<xxx@qq.com>
04:17 10:32 SMTP-(ea1e0283000001e2) 250 ok its for <xxx@qq.com>
04:17 10:32 SMTP-(ea1e0283000001e2) >DATA
04:17 10:32 SMTP-(ea1e0283000001e2) 354 ok, send it; end with <CRLF>.<CRLF>
04:17 10:32 SMTP-(ea1e0283000001e2) >.
04:17 10:32 SMTPD(ea2e0283000001ec) [202.xxx.xxx.xxx] C:\IMail\spool\Dea2e0283000001ec.SMD 3427
04:17 10:32 SMTPD(ea2e0283000001ec) performing antispam checks
04:17 10:32 SMTP-(ea1e0283000001e2) 250 Message queued
04:17 10:32 SMTP-(ea1e0283000001e2) gdeliver mydomain.com xxx@qq.com (1) <xxx@mydomain.com> 3292
04:17 10:32 SMTP-(ea1e0283000001e2) >QUIT
04:17 10:32 SMTP-(ea1e0283000001e2) 221 Goodbye
04:17 10:32 SMTP-(ea1e0283000001e2) finished C:\IMail\spool\Qea1e0283000001e2.SMD status=1
04:17 10:32 SMTP-(ea2e0283000001ec) processing C:\IMail\spool\Qea2e0283000001ec.SMD
04:17 10:32 SMTP-(ea2e0283000001ec) Trying mydomain.com (1)
04:17 10:32 SMTP-(ea2e0283000001ec) Connect mydomain.com [202.xxx.xxx.xxx:25] (1)
04:17 10:32 SMTPD(ea2e0265000001ee) [202.xxx.xxx.xxx] connect 202.xxx.xxx.xxx port 3854
04:17 10:32 SMTP-(ea2e0283000001ec) 220 mydomain.com (IMail 8.22 488-30) NT-ESMTP Server X1
04:17 10:32 SMTP-(ea2e0283000001ec) >EHLO mydomain.com
mydomain.com
04:17 10:32 SMTP-(ea2e0283000001ec) 250-mydomain.com says hello
04:17 10:32 SMTP-(ea2e0283000001ec) 250-SIZE 0
04:17 10:32 SMTP-(ea2e0283000001ec) 250-8BITMIME
04:17 10:32 SMTP-(ea2e0283000001ec) 250-DSN
04:17 10:32 SMTP-(ea2e0283000001ec) 250-ETRN
04:17 10:32 SMTP-(ea2e0283000001ec) 250-AUTH LOGIN CRAM-MD5
04:17 10:32 SMTP-(ea2e0283000001ec) 250-AUTH LOGIN
04:17 10:32 SMTP-(ea2e0283000001ec) 250-AUTH=LOGIN
04:17 10:32 SMTP-(ea2e0283000001ec) 250-EXPN
04:17 10:32 SMTP-(ea2e0283000001ec) 250 STARTTLS
04:17 10:32 SMTP-(ea2e0283000001ec) >MAIL FROM:<xxx@mydomain.com>
04:17 10:32 SMTPD(ea2e0265000001ee) [202.xxx.xxx.xxx] MAIL FROM:<xxx@mydomain.com>
04:17 10:32 SMTP-(ea2e0283000001ec) 250 ok
04:17 10:32 SMTPD(ea2e0265000001ee) [202.xxx.xxx.xxx] RCPT To:<xxx@qq.com>
04:17 10:32 SMTP-(ea2e0283000001ec) >RCPT To:<xxx@qq.com>
04:17 10:32 SMTP-(ea2e0283000001ec) 250 ok its for <xxx@qq.com>
04:17 10:32 SMTP-(ea2e0283000001ec) >DATA
04:17 10:32 SMTP-(ea2e0283000001ec) 354 ok, send it; end with <CRLF>.<CRLF>
04:17 10:32 SMTP-(ea2e0283000001ec) >.
04:17 10:32 SMTPD(ea2e0265000001ee) [202.xxx.xxx.xxx] C:\IMail\spool\Dea2e0265000001ee.SMD 3562
04:17 10:32 SMTPD(ea2e0265000001ee) performing antispam checks
04:17 10:32 SMTP-(ea2e0283000001ec) 250 Message queued
04:17 10:32 SMTP-(ea2e0283000001ec) gdeliver mydomain.com xxx@qq.com (1) <xxx@mydomain.com> 3427
04:17 10:32 SMTP-(ea2e0283000001ec) >QUIT
04:17 10:32 SMTP-(ea2e0265000001ee) processing C:\IMail\spool\Qea2e0265000001ee.SMD
04:17 10:32 SMTP-(ea2e0283000001ec) 221 Goodbye
04:17 10:32 SMTP-(ea2e0283000001ec) finished C:\IMail\spool\Qea2e0283000001ec.SMD status=1
作者: ftsarser    时间: 2009-4-17 17:42
看来盯上咱服务器了
昏,开一天日志文件爆到几百M~!
怎么办~
作者: lgj858    时间: 2009-4-18 19:54
你筛选分析一下日志
作者: 钉子    时间: 2009-4-22 23:01
这很正常。可能是向你服务器发的垃圾邮件太多了。
作者: lgj858    时间: 2009-4-25 23:48
他的问题估计没这么简单
imail设置relay localhost之类之后还是会被测试成open relay (8.22之前版本测试过)

所以尽量选择no relay




欢迎光临 邮件服务器-邮件系统-邮件技术论坛(BBS) (http://bbs.5dmail.net/) Powered by Discuz! X3.2