I'm a newbie of server setting, so many things i confused.
I just config one sendmail server , i get one problem that i can send mail from my server to other mail server exist on internet, but i can not receive any mail form internet. include i have send mail from other internet mail server to my server. but all mail i sended be returned.
the key error message include the follow content
<exper@mail.antims.dynserv.com>: Name service error for
name=mail.antims.dynserv.com type=A: Host not found
##############DNS FILE#######################33
i check my dns setting file in /etc/antims.dynserv.com.hosts as following:
$ttl 38400
antims.dynserv.com. IN SOA dowellns.antims.dynserv.com.
dowell.mail.antims.dynserv.com. ( ####confuse line###
1069773851
10800
3600
604800
38400 )
antims.dynserv.com. IN NS dowellns.antims.dynserv.com.
dowellns.antims.dynserv.com. IN A 192.168.1.5
ftp.antims.dynserv.com. IN CNAME dowellns
www.antims.dynserv.com. IN CNAME dowellns
mail.antims.dynserv.com. IN CNAME dowellns
antims.dynserv.com. IN MX 5 mail.antims.dynserv.com
###############ACCESS FILE######################
/etc/mail/access
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
antims.dynserv.com RELAY
###############TEST MY SETTING USE TELNET############
root@dowellns etc]# telnet mail.antims.dynserv.com 25
Trying 192.168.1.5...
Connected to mail.antims.dynserv.com.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.12.8/8.12.8; Tue, 2 Dec 2003
00:10:54 +0800
helo antims.dynserv.com
250 localhost.localdomain Hello ftp.antims.dynserv.com [192.168.1.5],
pleased to meet you
helo dowellns.antims.dynserv.com
250 localhost.localdomain Hello ftp.antims.dynserv.com [192.168.1.5],
pleased to meet you
helo mail.antims.dynserv.com
250 localhost.localdomain Hello ftp.antims.dynserv.com [192.168.1.5],
pleased to meet you
WHY IT ALWAYS SHOW ftp.antims.dynserv.com NOT mail.antims.dynserv.com OR dowellns.antims.dynserv.com
mail from:
exper@mail.antims.dynserv.com
250 2.1.0
exper@mail.antims.dynserv.com... Sender ok
rcpt to:webmaster@hipfung.com.cn
250 2.1.5
mast@hipfung.com.cn... Recipient ok
data
354 Enter mail, end with "." on a line by itself
test from command mod
.
250 2.0.0 hB1GAsMj003385 Message accepted for delivery
*********i can receive that mail form hipfung.com.cn server**********
##############use nslookup test mx record################
root@dowellns etc]# nslookup -q=mx antims.dynserv.com
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 192.168.1.5
Address: 192.168.1.5#53
antims.dynserv.com mail exchanger = 5
mail.antims.dynserv.com.antims.dynserv.com. ???.?????????????
does this line is correct
IS any thing clear
Thanks and it's URGENT for me
D.Z