|
sendmail1:
ip:10.10.70.18
有用户example
cat local-host-names
example.com
mail.example.com
sendmail2:]
ip:10.10.70.19
有用户hx
cat local-host-names
hx.com
mail.hx.com
2个的Daemon都改成0.0.0.0了,access也加了10.10.70 RELAY
named在10.10.70.18上分别解析hx.com和example.com,都加上了MX和对应的A记录.
DNS都设为10.10.70.18
在sendmail1上给sendmail2上的用户hx发mail:
echo "hello test"|mail -vs hello hx@hx.com
mail
MAILER-DAEMON@localh Fri Feb 18 21:51 64/2239 "Returned mail: see transcript for detail"
----- The following addresses had permanent fatal errors -----
<hx@hx.com>
(reason: 553 5.3.5 system config error)
----- Transcript of session follows -----
553 5.3.5 mail.hx.com. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error
后来我在sendmail.org上查找FAQ,发现如下:
You can also get this error message (MX loops ...) when two sendmail systems talk to each other, and both have the same value of $j. The best solution is "don't do that."
但是如何修改$j呢? |
|