- 论坛徽章:
- 0
|
我是这样做的,大家帮我看看哪里出错了。
二台sm服务器,分别负责二个域的邮件投递(a.com;b.com),一台dns服务器,一台客户端测试(都在192.168.1.0网络上)
1.在dns上创建了二个区域a.com和b.com。在其中各自搭建了mx记录(只列一个了)
mail.a.com IN A 192.168.1.1
@ IN MX 10 mail.a.com
反向区域也搭建了。
2.配置sm.在sendmail.mc中,设置addr=各自的ip地址,然后m4导入到cf文件中。编辑local-host-names文件,分别加入a.com;b.com,在access文件中加入192.168.1 RELAY。(已经导入到access.db文件中)启动。
3.客户端测试时本域的邮件二台sm服务器都可以投递,但是互相发送时只能发不能收,有退信通知,内容如下,不知道是什么原因造成的。望大家指教.
The original message was received at Thu, 5 Jan 2006 01:10:10 +0800
from [192.168.1.2]
----- The following addresses had permanent fatal errors -----
<user2@mail.sohu.com>
(reason: 553 5.3.5 system config error)
----- Transcript of session follows -----
553 5.3.5 mail.sohu.com. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error
Reporting-MTA: dns; localhost.localdomain
Received-From-MTA: DNS; [192.168.1.2]
Arrival-Date: Thu, 5 Jan 2006 01:10:10 +0800
Final-Recipient: RFC822; user2@mail.sohu.com
Action: failed
Status: 5.3.5
Diagnostic-Code: SMTP; 553 5.3.5 system config error
Last-Attempt-Date: Thu, 5 Jan 2006 01:10:11 +0800 |
|