请问使用postfix发信到etang信箱错误的问题?
发表于:2007-06-08来源:作者:点击数:
标签:
我在freebsd上装了个postfix作为邮件的smtp 服务器 ,发信到任何服务器都正常无误。唯独发给etang的信箱,无论是vip信箱还是免费信箱都失败。maillog出错信息如下: vip信箱: Jun2216:50:42freebsdpostfix/smtp[1064]:6563B4D0:to=*****@etang.com,relay=mx
我在freebsd上装了个postfix作为邮件的smtp
服务器,发信到任何服务器都正常无误。唯独发给etang的信箱,无论是vip信箱还是免费信箱都失败。maillog出错信息如下:
vip信箱:
Jun 22 16:50:42 freebsd postfix/smtp[1064]: 6563B4D0: to=<*****@etang.com>, relay=mx4.etang.com[61.152.250.179], delay=10, status=bounced (host mx4.etang.com[61.152.250.179] said: 550 System is busy. ZgEAAENu9T5pINS6.1 (in reply to end of DATA command))
免费信箱:
Jun 22 16:57:00 freebsd postfix/smtp[1362]: 68A9B4D0: to=<*****@etang.com>, relay=mx3.etang.com[61.152.250.171], delay=10, status=bounced (host mx3.etang.com[61.152.250.171] said: 550 System is busy. CwIAAL1v9T5DINS6.1 (in reply to end of DATA command))
任何时候都是system busy。请问如何解决这个问题。
以前在
windows下用过一个软件是Mail Express,个人的smtp服务器,在前一个版本无法正确区分vip信箱和免费信箱的mx*.etang.com,所以免费能发,vip的就发不了,后来在新版本中解决了。查看MailExpress 的log,发到vip的信箱连接的是mx3,发到免费的信箱连接的是mx4,但是如果是单独的一封信,发到vip信箱,
clearcase/" target="_blank" >cc中抄送到免费信箱,或者发到免费信箱,cc到vip信箱,只连接mx3,都能正确发送。
请问这个问题怎么解决?谢谢。
| corpease 回复于:2003-06-22 17:52:56
|
Etang是安装有Tebie.com的反垃圾邮件系统的,返回"System is Busy"是表明你触发了垃圾邮件规则,具体的情况(看是否是错误拦截)需要联系etang的管理员查看他们的anti-spam日志才可以知道。
你如果不介意,可以公布你被阻挡的原文,我帮你分析一下 
|
| Matteo_NET 回复于:2003-06-22 17:58:03
|
内容很简单subject是test,内容也是test
相同的邮件在Mail Express上发送成功,但是postfix就是不行。
|
| corpease 回复于:2003-06-22 18:01:12
|
[quote:78168783e3="Matteo_NET"]内容很简单subject是test,内容也是test
相同的邮件在Mail Express上发送成功,但是postfix就是不行。[/quote:78168783e3]
你还是给出原文吧,有可能是Postfix的配置错误,导致MIME编码的时候缺少一些信头而不教严格的系统认为是SPAM
|
| Matteo_NET 回复于:2003-06-22 18:15:17
|
[quote:f494c5045c="corpease"]
你还是给出原文吧,有可能是Postfix的配置错误,导致MIME编码的时候缺少一些信头而不教严格的系统认为是SPAM[/quote:f494c5045c]
From [email protected] Sun Jun 22 17:55:34 2003
Date: Sun, 22 Jun 2003 17:55:34 +0800
From: Changwei Weng <[email protected]>
To: [email protected]
Subject: test
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Status: RO
Content-Length: 5
Lines: 1
test

|
Postfix 发送失败后发回给mail sender的信。
| | Matteo_NET 回复于:2003-06-22 18:16:38
| From MAILER-DAEMON Sun Jun 22 18:05:30 2003
Return-Path: <>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: by freebsd.matteo.net (Postfix)
id 572644F7; Sun, 22 Jun 2003 18:05:30 +0800 (CST)
Date: Sun, 22 Jun 2003 18:05:30 +0800 (CST)
From: [email protected] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: [email protected]
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="671EB4D0.1056276330/freebsd.matteo.net"
Message-Id: <[email protected]>
Status: RO
Content-Length: 1644
Lines: 53
This is a MIME-encapsulated message.
--671EB4D0.1056276330/freebsd.matteo.net
Content-Description: Notification
Content-Type: text/plain
This is the Postfix program at host freebsd.matteo.net.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the message returned below.
The Postfix program
<[email protected]>: host mx4.etang.com[61.152.250.179] said: 550 System is
busy. DgEAAMt/9T5kINS6.1 (in reply to end of DATA command)
--671EB4D0.1056276330/freebsd.matteo.net
Content-Description: Delivery error report
Content-Type: message/delivery-status
Reporting-MTA: dns; freebsd.matteo.net
Arrival-Date: Sun, 22 Jun 2003 18:05:20 +0800 (CST)
Final-Recipient: rfc822; [email protected]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host mx4.etang.com[61.152.250.179] said: 550 System
is busy. DgEAAMt/9T5kINS6.1 (in reply to end of DATA command)
--671EB4D0.1056276330/freebsd.matteo.net
Content-Description: Undelivered Message
Content-Type: message/rfc822
Received: by freebsd.matteo.net (Postfix, from userid 1001)
id 671EB4D0; Sun, 22 Jun 2003 18:05:20 +0800 (CST)
Date: Sun, 22 Jun 2003 18:05:20 +0800
From: Changwei Weng <[email protected]>
To: [email protected]
Subject: test
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
test
--671EB4D0.1056276330/freebsd.matteo.net--
From [email protected] Sun Jun 22 18:05:20 2003
Date: Sun, 22 Jun 2003 18:05:20 +0800
From: Changwei Weng <[email protected]>
To: [email protected]
Subject: test
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Status: RO
Content-Length: 5
Lines: 1
test
| | corpease 回复于:2003-06-22 18:53:23
| 我帮你问一下etang的管理员吧:)
| | Matteo_NET 回复于:2003-06-22 19:07:21
| 发现一个搞笑的问题,我直接在命令行: mail [email protected]
随便输入一些subject和正文
发送反而成功了。难道是mutt的问题?
| | Matteo_NET 回复于:2003-06-22 20:10:33
| 找到原因了,是header中的From中的地址的域名和Message-ID后面的域名不相符合的原因,可以被认为是spam了。
但是如果不设From的地址,收信人直接reply就是一个不存在的域名了,晕
| | Matteo_NET 回复于:2003-06-22 20:17:53
| 虽然可以在muttrc中设定
my_hdr Reply_To
但是,如果别人选择添加到地址本,还是一个非法地址,ft
| | Matteo_NET 回复于:2003-06-22 20:20:11
| 只有修改Message-ID: <[email protected]> 中的后面的域名了,这个应该是postfix加进来的吧。
该怎么设置呢?
| | Matteo_NET 回复于:2003-06-22 23:52:58
| 这个是用sylpheed连接本地postfix的smtp发信的记录:
Jun 22 23:01:11 freebsd postfix/smtpd[36862]: connect from localhost[127.0.0.1]
Jun 22 23:01:11 freebsd postfix/smtpd[36862]: B93936DB: client=localhost[127.0.0.1]
Jun 22 23:01:12 freebsd postfix/cleanup[36865]: B93936DB: message-id=<20030622230111.2bcbadc2.***@***.com.cn>
Jun 22 23:01:12 freebsd postfix/qmgr[197]: B93936DB: from=<***@***.com.cn>, size=546, nrcpt=1 (queue active)
Jun 22 23:01:12 freebsd postfix/smtpd[36862]: disconnect from localhost[127.0.0.1]
Jun 22 23:01:12 freebsd postfix/smtp[36866]: B93936DB: to=<[email protected]>, relay=mx4.etang.com[61.152.250.179], delay=1, status=sent (250 Ok: queued as 846611CA6087
发送成功。
这个是mutt发信的记录:
Jun 22 23:13:36 freebsd postfix/pickup[37444]: B58C9708: uid=1001 from=<matteo>
Jun 22 23:13:36 freebsd postfix/cleanup[37474]: B58C9708: message-id=<20030622151336.GB37256%***@***.com.cn>
Jun 22 23:13:36 freebsd postfix/qmgr[37445]: B58C9708: from=<[email protected]>, size=457, nrcpt=1 (queue active)
Jun 22 23:13:46 freebsd postfix/smtp[37476]: B58C9708: to=<[email protected]>, relay=mx4.etang.com[61.152.250.179], delay=10, status=bounced (host mx4.etang.com[61.152.250.179] said: 550 System is busy. SAIAAA3I9T5WEdS6.1 (in reply to end of DATA command))
发送失败。
Mutt是直接讲信放入postfix的mail 队列中,而不是通过连接smtp发信的。所以postfix用了from:<[email protected]>这样的地址。
该怎么设置postfix?
| | aborigen 回复于:2003-06-23 08:48:33
| [quote:5faff66709="Matteo_NET"]50.179] said: 550 System is busy. SAIAAA3I9T5WEdS6.1 (in reply to end of DATA command))
发送失败。
Mutt是直接讲信放入postfix的mail 队列中,而不是通过连接smtp发信的。所以postfix用了from:<matteo@..........[/quote:5faff66709]
我想,你是不是手工指定一下下面的相关参数,我是刚学postfix,不太明确,希望你能把测试的结果反馈回来,谢谢,来自/usr/local/etc/postfix/main.cf :
[code:1:5faff66709]
# INTERNET HOST AND DOMAIN NAMES
#
# The myhostname parameter specifies the internet hostname of this
# mail system. The default is to use the fully-qualified domain name
# from gethostname(). $myhostname is used as a default value for many
# other configuration parameters.
#
#myhostname = host.domain.tld
#myhostname = virtual.domain.tld
myhostname = mail.oss4e.org
# The mydomain parameter specifies the local internet domain name.
# The default is to use $myhostname minus the first component.
# $mydomain is used as a default value for many other configuration
# parameters.
#
#mydomain = domain.tld
mydomain = oss4e.org
# SENDING MAIL
#
# The myorigin parameter specifies the domain that locally-posted
# mail appears to come from. The default is to append $myhostname,
# which is fine for small sites. If you run a domain with multiple
# machines, you should (1) change this to $mydomain and (2) set up
# a domain-wide alias database that aliases each user to
# [email protected].
#
# For the sake of consistency between sender and recipient addresses,
# myorigin also specifies the default domain name that is appended
# to recipient addresses that have no @domain part.
#
#myorigin = $myhostname
#myorigin = $mydomain
[/code:1:5faff66709]
| | Matteo_NET 回复于:2003-06-23 08:59:39
| 怎么设置postfix可以使其保留直接放进其发信队列的信件的from地址?而不是user@localdomain的地址呢?
| | Matteo_NET 回复于:2003-06-23 09:11:16
| 这两个参数我都设定了,不过是localdomain
myhostname=freebsd.matteo.net
mydomain=matteo.net
难道我必须设定一个有效域名?还是必须设定得和我的油箱地址相同的域?
那如果我有多个邮箱怎么处理?
| | Matteo_NET 回复于:2003-06-23 09:41:42
| 尝试修改postfix的main.cf的relay项通过另一个windows机器的smtp转发,但是还是失败,windows上smtp接收到的信件的from,还是[email protected] 这种地址。
| | Matteo_NET 回复于:2003-06-23 10:57:54
| 哈哈,终于搞定了,建立一个canonical,把user@localdomain的address rewrite 从实际的email address 就可以了。
狂ft呀,免费的搞定了,但是vip的还是bounced了,看了看log,连接的mx server不对,应该连到mx4,但是连到免费的mx3了
为什么用命令行直接mail ***@etang.com 的vip信箱连接的mx又是对的呢?
| | corpease 回复于:2003-06-23 11:58:34
| [quote:1c690ef4bd="Matteo_NET"]哈哈,终于搞定了,建立一个canonical,把user@localdomain的address rewrite 从实际的email address 就可以了。
狂ft呀,免费的搞定了,但是vip的还是bounced了,看..........[/quote:1c690ef4bd]
恭喜恭喜
| | Matteo_NET 回复于:2003-06-23 21:02:05
| 历经千辛万苦,终于发现,只要信件的header to一项中使用类似 First Name, Last Name < user@domain.*> 的格式一律被etang的mx server 返回system busy 的错误。
用直接用 user@domain.* ,就万事ok
|
原文转自:http://www.ltesting.net
| |