Mail routing problem...

David Botham DBotham at OptimusSolutions.com
Thu Feb 19 16:40:05 UTC 2004


bind-users-bounce at isc.org wrote on 02/19/2004 11:14:26 AM:
> Hi all,
> 
>    I have a problem routing my mail and I am not sure why. I am trying 
> to get mail working for "user at thelinuxexperience.com" which is hosted on 

> the same machine as my other domain "alteeve.com" (a RH7.3 server using 
> Sendmail). When I first wrote the DNS record to 'thelinuxexperience.com' 

> I set 'mail.alteeve.com' as the first destination (my bad) and 

Not at all.  It is not written that the mail server that received mail for 
a given domain be a server in that domain.  What if I had a service 
provider that handled mail for my domain, say botham.net.  The mail 
exhangers for botham.net might very well be mail.edeltacom.com, or 
something like that.


> 'mail.thelinuxexperience.com' as the secondary mail server. A few days I 

> fixed that and made 'mail.thelinuxexperience.com' the only mail server 
> for TLE.
> 
>    The TTL on the record is only 1d and the mail server is itself a 
> slave DNS server to the master server so I -know- it has a recent copy 
> of the records.
> 
>   -= From the mail server =-
> $ dig -t MX thelinuxexperience.com
> 
> 
> ; <<>> DiG 9.2.1 <<>> -t MX thelinuxexperience.com
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53685
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
> 
> 
> ;; QUESTION SECTION:
> ;thelinuxexperience.com.                IN      MX
> 
> 
> ;; ANSWER SECTION:
> thelinuxexperience.com. 38400   IN      MX      10 
> mail.thelinuxexperience.com.
> 
> 
> ;; AUTHORITY SECTION:
> thelinuxexperience.com. 38400   IN      NS      ns2.madisonave.ca.
> thelinuxexperience.com. 38400   IN      NS      ns1.madisonave.ca.
> 
> ;; ADDITIONAL SECTION:
> ns1.madisonave.ca.      38400   IN      A       209.167.86.46
> ns2.madisonave.ca.      38400   IN      A       209.167.86.38
> 
> ;; Query time: 3 msec
> ;; SERVER: 209.167.86.46#53(209.167.86.46)
> ;; WHEN: Thu Feb 19 11:06:33 2004
> ;; MSG SIZE  rcvd: 142


The RR for mail.thelinuxexperience.com is a CNAME RR.  Do not do that. See 
page 98 (or so) of DNS and BIND, 4ed.


> 
> 
>    Despite all this, when I try to send a message to a user (ie: 'mkelly 

> at thelinuxexperience dot com') the mail bounces back to the sender and 
> to 'postmaster at alteeve dot com' claiming that the MX record (still) 
> points back to 'alteeve.com'.
> 
>    Here is the header and error:
> 
>   -= Bounced Message =-
>  From - Thu Feb 19 10:59:05 2004
> X-UIDL: 402677c800003373
> X-Mozilla-Status: 0001
> X-Mozilla-Status2: 00000000
> Return-Path: <MAILER-DAEMON at alteeve.com>
> Received: from localhost (localhost)
>    by alteeve.com (8.11.6/linuxconf) id i1JFteV12015;
>    Thu, 19 Feb 2004 10:55:40 -0500
> Date: Thu, 19 Feb 2004 10:55:40 -0500
> From: Mail Delivery Subsystem <MAILER-DAEMON at alteeve.com>
> Message-Id: <200402191555.i1JFteV12015 at alteeve.com>
> To: postmaster at alteeve.com
> To: <linux at alteeve.com>
> MIME-Version: 1.0
> Content-Type: multipart/report; report-type=delivery-status;
>    boundary="i1JFteV12015.1077206140/alteeve.com"
> Subject: Returned mail: see transcript for details
> Auto-Submitted: auto-generated (failure)
> Status:
> 
> This is a MIME-encapsulated message
> 
> --i1JFteV12015.1077206140/alteeve.com
> 
> The original message was received at Thu, 19 Feb 2004 10:55:40 -0500
> from [209.167.86.34]
> 
>     ----- The following addresses had permanent fatal errors -----
> <mkelly at thelinuxexperience.com>
> 
>     ----- Transcript of session follows -----
> 554 5.0.0 MX list for thelinuxexperience.com. points back to alteeve.com
> 554 5.3.5 Local configuration error

Are you sure this mail server is setup to handle mail for the domain 
"thelinuxexperience.com"?


Dave...



More information about the bind-users mailing list