|
|
我的mail的dns为mail.ftylmj.com
sendmail.cf我修改了:
C{w}localhost.localdomain为
C{w}mail.ftylmj.com
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA为
O DaemonPortOptions=Port=smtp,Addr=192.168.0.102, Name=MTA
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
ftylmj.com RELAY
192.168 RELAY
重启显示为:
[root@dns mail]# /etc/rc.d/init.d/sendmail restart
¹Ø±Õ sendmail£º [ È·¶¨ ]
¹Ø±Õ sm-client£º [ È·¶¨ ]
Æô¶¯ sendmail£ºmake: *** Warning: File `submit.cf' has modification time in the future (2004-05-27 06:32:14 > 2004-05-26 11:57:47.672459)
make: warning: Clock skew detected. Your build may be incomplete.
[root@dns mail]# nmap -O 127.0.0.1
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on dns (127.0.0.1):
(The 1594 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
110/tcp open pop-3
111/tcp open sunrpc
631/tcp open ipp
995/tcp open pop3s
1024/tcp open kdm
1025/tcp open NFS-or-IIS
不知为什么25 没有起来??
谢! |
|