DNS help with mx records

Pete Ehlke pde at ehlke.net
Tue May 21 12:42:08 UTC 2002


On Mon, May 20, 2002 at 08:38:23PM -0700, Ricardo Fitzgerald wrote:
> 
> Pete Ehlke <pde at ehlke.net> wrote in message news:<acanj5$95fd$1 at isrv4.isc.org>...
> > This is not a BIND problem. You have not told your mail server to accept
> > mail for  mail.ermitagemontevideo.com. A quick google search for the
> > string "config error: mail loops back to me" produces 11,000 results.
> > The answer to your question is contained in most of them ;)
> > 
> > -Pete
> 
> Hi,
> 
> This is my zone ermitamontevideo.com (latest review)
> 
> $TTL 3D
> @               IN SOA  ns.ermitagemontevideo.com.     
> root.ermitagemontevideo.com. (
>                         2002031806                      ; serial
>                         8H                              ; refresh
>                         2H                              ; retry
>                         4W                              ; expiry
>                         1 )                             ; minimum
>  
>                 NS      ns
>                 MX      10 mail.ermitagemontevideo.com.
>  
> localhost       A       127.0.0.1
>  
>  
> gw              A       200.61.76.65
>  
>  
> ns              A       200.61.76.88
>                 MX      10 mail.ermitagemontevideo.com.
>  
> mail            A       200.61.76.88
>                 MX      10 mail.ermitagemontevideo.com.
>  
> www             CNAME   ns
> ftp             CNAME   ns
>  
> linux           A       192.168.0.1
>                 MX      10 mail.ermitagemontevideo.com.
>  
> ermitage        A       192.168.0.2
>                 MX      10 mail.ermitagemontevideo.com.
>  
> facturacion     A       192.168.0.3
>                 MX      10 mail.ermitagemontevideo.com.
>  
> recepcion       A       192.168.0.4
>                 MX      10 mail.ermitagemontevideo.com.
>  
> telefono        A       192.168.0.5
>                 MX      10 mail.ermitagemontevideo.com.
>  
> internet        A       192.168.0.6
>                 MX      10 mail.ermitagemontevideo.com.
> Is that ok ? I'm using Bind 9.2r10.
> If zone is ok then when I send a test message I got this error:
> 
> The original message was received at Mon, 20 May 2002 22:33:52 -0300
> from correo.movinet.com.uy [200.40.54.13]
>    ----- The following addresses had permanent fatal errors -----
> <info at ermitagemontevideo.com>
>     (expanded from: <info at ermitagemontevideo.com>)
> 
>    ----- Transcript of session follows -----
> 
> 554 5.0.0 MX list for mail.ermitagemontevideo.com. points back to
> linux.ermitagemontevideo.com
> 554 5.3.5 Local configuration error
> 
> --->Is the error above caused by bind misconfig or sendmail ?
> 

It's caused by a sendmail misconfiguration. You must tell
mail.ermitagemontevideo.com that it should accept mail for each host and
domain that you list it as an MX for.

I do note that you have the address of linux.ermitagemontevideo.com in
rfc1918 space, but your machine mail.ermitagemontevideo.com thinks its
name is linux.ermitagemontevideo.com. 

-Pete


More information about the bind-users mailing list