DNS or sendmail problem: wrong domain name in delivery

Danny Mayer mayer at gis.net
Fri Jan 5 02:05:43 UTC 2001


         You need to get your PTR Records set up to point back to your
   mail/xhost host.  They don't currently exist.  sendmail will likely reject mail
   when it can't verify the IP name (depends on how it's set up).

                 Danny
At 08:29 AM 1/4/01, Daniel Ludin wrote:
>Hi,
>
>I have this problem with sendmail and/or DNS:
>
>I can send mail to my domain, but when I send a message FROM there,  the
>mail is returned with:
>
>    Domain of sender address dani at xhost does not exist.
>    Data format error 501
>
>(I composed and sent the mail via the webmin sendmail interface, in case it
>matters).
>
>
>Why does sendmail create an address with the machine name ("dani at xhost")
>instead of the domain ("dani at cybertoolz.ch") ????
>
>
>Some documentation say about this error:
>
>501 Sender domain must exist
>These error replies are issued if the envelope sender address references a
>DNS domain, for which no A or MX record can be found.
>
>But when I do a nslookup, I get the MX record correctly (or am I wrong
>here?) :
>
>    [xhost:~] dani% nslookup -type=MX cybertoolz.ch
>    Server:  cybertoolz.ch
>    Address:  212.254.208.245
>
>    cybertoolz.ch   preference = 20, mail exchanger = mail.cybertoolz.ch
>    cybertoolz.ch   nameserver = xhost.cybertoolz.ch
>    cybertoolz.ch   nameserver = ns.swisshosting.net
>    mail.cybertoolz.ch      internet address = 212.254.208.245
>    xhost.cybertoolz.ch     internet address = 212.254.208.245
>    ns.swisshosting.net     internet address = 212.254.208.100
>
>
>Can somebody please tell me if this DNS configuration is supposed work - or
>did I miss something else in the sendmail configuration?
>
>Dani Ludin
>
>
>




More information about the bind-users mailing list