|
发表于 2003-10-28 11:03:20
|
显示全部楼层
Jeffhan兄,我也碰到和你一样的问题,请jeffhan兄和各位大虾看看下面的情况后给点建议,谢谢!!
我的主机名为test,域名为3322.org
redhat 7.3+sendmail8.11
我已经建好了dns解析
完整机器名: test.3322.org IP: 10.10.10.12
telnet localhost 25
telnet localhost.localdomain 25
telnet 127.0.0.1 25
都是没问题的,但是telnet具体的域名和ip的25端口时,却出现拒绝的现象,能够ping通,我已经执行过#makemap /etc/mail/access.db < /etc/mail/access
/etc/mail/access
------------------------------------------------------------
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
10.10.10.12 RELAY
10.10.10 RELAY
------------------------------------------------------------
------------------------------------------------------------
[root@test mail]# netstat -tl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:1024 *:* LISTEN
tcp 0 0 *:netbios-ssn *:* LISTEN
tcp 0 0 *:pop3 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:10000 *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 test.3322.org:domain *:* LISTEN
tcp 0 0 test:domain *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
tcp 0 0 test:smtp *:* LISTEN
tcp 0 0 test:rndc *:* LISTEN
tcp 0 0 *:https *:* LISTEN
[root@test mail]#
------------------------------------------------------------
------------------------------------------------------------
[root@test mail]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.11.6/8.11.6; Tue, 28 Oct 2003 10:55:0
ehlo localhost
250-localhost.localdomain Hello test [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
------------------------------------------------------------
------------------------------------------------------------
[root@test mail]# telnet 10.10.10.12 25
Trying 10.10.10.12...
telnet: connect to address 10.10.10.12: Connection refused
[root@test mail]#
------------------------------------------------------------
------------------------------------------------------------
[root@test mail]# telnet test.3322.org 25
Trying 10.10.10.12...
telnet: connect to address 10.10.10.12: Connection refused
[root@test mail]#
------------------------------------------------------------ |
|