LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-02-2003, 04:45 AM   #1
exper
Member
 
Registered: Jul 2003
Location: China
Distribution: Redhat
Posts: 48

Rep: Reputation: 15
Question sendmail can send mail but not receive


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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail can send not receive abettertomorrow Slackware 6 01-22-2005 01:54 PM
Sendmail: Can receive but can't send. Hendon Linux - Networking 3 12-30-2004 09:41 AM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM
Sendmail allows receive but not send rob19 Linux - Software 8 06-17-2003 11:02 AM
SENDMAIL: I can receive mail but timeouts when trying to send. mailq show deferred. adamrau Linux - Software 0 10-01-2001 06:07 PM


All times are GMT -5. The time now is 02:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration