1834112 Members
2156 Online
110063 Solutions
New Discussion

Sender domain must exist

 
Ed Hon
Regular Advisor

Sender domain must exist

I'm want to add a step to my cron script to send an email, saying the script ran OK. However, when I sent a test email with elm, it was returned with the error:

>>> MAIL From: SIZE=1171
<<< 501 ... Sender domain must exist
501 t.tompkins@transmo.com... Data format error

What are my options? Thanks.
4 REPLIES 4
Sanjay_6
Honored Contributor

Re: Sender domain must exist

Hi Ed,

Here is some suggestion,

quote //

Some e-mail messages generate a non-delivery report (NDR) with the message "501 sender domain must exist." This behavior occurs because the sender domain is not registered on the Internet. Check with your Internet service provider (ISP) or Domain Name System (DNS) administrator to verify that the sender's domain has MX records on the Internet.

Some mail systems check the sender's e-mail domain to prevent junk e-mail (spam). This is called performing a reverse lookup.

When these mail systems receive an SMTP connection, they attempt name resolutionb based on the address in the From field. If the address in the From field cannot be resolved by DNS, the receiving mail system responds with "501 Sender domain must exist," and closes the connection, causing the NDR.

// endquote

Hope this helps.

Regds
Ed Hon
Regular Advisor

Re: Sender domain must exist

Sanjay, that's kind of what I guessed it was. I don't like the idea of registering my server on the Internet or with the ISP, since it makes it visible and could start receiving junk email. It's just a database server. I guess I don't have much choice, do I?
Sanjay_6
Honored Contributor

Re: Sender domain must exist

Hi Ed,

You don't have to register your server on the internet if you are using the system in an company and if the company has a mail server. you can then use a relay server to relay the mail for you to the internet. For this the relay server should accept the mail from your domain. Just do a search with the keyword "sendmail and relay" on the forum and you should find a lot of links which discusses the relay server configuration.

Hope this helps.

Regds
Kevin Wright
Honored Contributor

Re: Sender domain must exist

set your DM macro in sendmail.cf to masquerade as just your domain name..ie
host box.domain.com
set DM to
DMdomain.com

restart sendmail