DNS or sendmail problem: wrong domain name in delivery

Daniel Ludin ludin at swissonline.ch
Sat Jan 6 16:00:53 UTC 2001


Hi Paul

This was the solution. I didn't know that my system (OS X 1.2) replaces the
/etc/hosts by a database called "netinfo database". I added it there, it
works perfectly.

Thanks a lot, to everybody who answered.

Dani Ludin

> Sendmail complains a lot if your fully-articulated host name is not in your
> hosts file.
> 

>> 
>> 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