Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS Resolution problem while receiving mail

Status
Not open for further replies.

Murad

Programmer
Oct 11, 2002
1
RU
Hi All,
I have the following setup :
I have one linuxbox with a static IP on the net, and one domain that is pointing onto the machine. I have configured sendmail and now here is my problem:

When I try to send an email to username@ip_address it works,
but when I try to send email to username@domain.ch I get the following failed mail reply :

Failed address: mipam@moudry.ch

--- Session Transcript ---
MX-record resolution of [domain.ch] in progress (DNS Server: 212.254.233.15)...
Name server has no records of the requested type for that domain.
Attempting SMTP connection to [domain.ch: 25]
A-record resolution of [domain.ch] in progress (DNS Server: 212.254.233.15)...
Name server has no records of the requested type for that domain.
This message is 4 days old; it has 0 days left to get delivered
--- End Transcript ---
[sadeyes]

I tried then to send email to username@ and it worked fine again.

Please anybody help me.
 
Also, here is the source of an email message that was sent from the box :

Return-path: <mipam@moudry.ch>
Received: from localhost.localdomain [212.147.5.252]
by axelogis.com [212.254.233.205]
with SMTP (MDaemon.PRO.v5.0.4.R)
for <mmoudry@axelogis.com>; Sun, 25 Aug 2002 13:42:36 +0200
Received: from linuxbox (linuxbox [127.0.0.1])
by localhost.localdomain (8.11.6/8.11.6) with SMTP id g7PBG8P07622
for mmoudry@axelogis.com; Sun, 25 Aug 2002 13:16:18 +0200
Date: Sun, 25 Aug 2002 13:16:18 +0200
From: Mipam Moudry <mipam@moudry.ch>
Message-Id: <200208251116.g7PBG8P07622@localhost.localdomain>
X-Authentication-Warning: localhost.localdomain: linuxbox [127.0.0.1] didn't use HELO protocol
X-MDRcpt-To: mmoudry@axelogis.com
X-MDRemoteIP: 212.147.5.252
X-Return-Path: mipam@moudry.ch
X-MDaemon-Deliver-To: mmoudry@axelogis.com

Helloo World
 
Do you have an &quot;MX&quot; record on the server that holds your DNS records? You need to create a dns &quot;A&quot; record that points mail.yourdomain.com to your IP just linke you did for your domain. Then you need to create an &quot;MX&quot; record saying that mail.yourdomain.com handles mail for yourdomain.com. This is done a little differently depending on your registrar or dns service.
 
1. Checkout the name resolution order on your server (/etc/nsswitch.conf file)
2. U must hav a MX record on a public DNS in order to send mail out to public network. - Hemant
Networking and Systems Integration Group
Satyam Computer Services Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top