DNS or sendmail problem: wrong domain name in delivery

Matthew Thompson matthewt at fairplay.co.uk
Thu Jan 4 14:13:39 UTC 2001


It's not a DNS problem - I don't think it's really a sendmail problem
either.

I'm guessing you're using Pine - you need to inform it of the contents you
want after hte @ in the email address - have a dig through the settings.

-----Original Message-----
From: Daniel Ludin [mailto:ludin at swissonline.ch]
Sent: 04 January 2001 13:30
To: BIND Users Mailing List
Subject: DNS or sendmail problem: wrong domain name in delivery


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