|
出错信息: Connection refused by
Mar 10 16:00:17 cs100 sendmail[29637]: j2A80GEU029635: to=<root@adf36.you.com>, ctladdr=<root@cs100.you.com> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30306, relay=adf36.you.com. [192.168.0.36], dsn=4.0.0, stat=Deferred: Connection refused by adf36.you.com.
telnet 127.0.0.1 25 通过
telnet IP 25 Connection refused
注释已经去掉
DAEMON_OPTIONS(Port=smtp,Addr=127.0.0.1,Name=MTA)
基本情况:
两台机器.
adf36.you.com 192.168.0.36
cs100.you.com 192.168.0.100
adf36是DNS server
nslookup 情况
> set q=mx
> you.com
Server: 192.168.0.36
Address: 192.168.0.36#53
you.com mail exchanger = 5 adf36.you.com.
sendmail -d0</dev/null
Version 8.12.11
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASL SCANF STARTTLS TCPWRAPPERS
USERDB USE_LDAP_INIT
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = adf36
(canonical domain name) $j = adf36.you.com
(subdomain name) $m = you.com
(node name) $k = adf36.you.com
========================================================
sendmail -d0 </dev/null
Version 8.12.8
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASL SCANF STARTTLS TCPWRAPPERS
USERDB USE_LDAP_INIT
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = cs100
(canonical domain name) $j = cs100.you.com
(subdomain name) $m = you.com
(node name) $k = cs100.you.com
========================================================
Recipient names must be specified |
|