Solved

Domain of Sender Address Does Not Exist...

Posted on 2001-08-16
4
34,107 Views
Last Modified: 2013-12-17
I am using PHP to send e-mail through Sendmail.  Specifically, I am using the mail( ) function.  I have been using this function for years on a web host, but now I am trying to use my own server.  (Slackware Linux 7).

When I send a message, it is not delivered, and I get a message in my root mailbox stating, among other things, the following error:

"  ----- The following addresses had permanent fatal errors -----
<natesmith@neo.rr.com>
    (reason: 501 5.1.8 <natesmith@neo.rr.com>... Domain of sender address
root@iserver.nth-design.net does not exist)"

Do I have to set something up in order to send mail from my Linux box?  For instance, do I have to set up an SMTP server?  If so, how do I do that?  I'll give 300 points for anyone who can help me out!  (If you live close, I'll even buy you a pizza!)
0
Comment
Question by:nathan8
  • 2
4 Comments
 

Expert Comment

by:castleinfo
ID: 6395175
Are you on the net ? (i.e. leased line)
or on dial up ?
0
 
LVL 5

Accepted Solution

by:
vsamtani earned 300 total points
ID: 6397085
Presumably the bounce message you've quoted is the result of you trying to send to natesmith@neo.rr.com?

It looks like the rr.com mailserver is configured not to accept emails unless the domain of the sender exists in the public DNS. Iserver.nth-design.net doesn't exist in the dns database, which is why it's being rejected. That's a common and sensible configuration, so you need to do something at your end to resolve the problem.

To solve this problem, you could

(a) if iserver.nth-design.net has a static public ip address, make sure that it is in the dns properly.

(b) if iserver.nth-design.net has a dynamically allocated public ip address, then you could investigate adding it to the dns using a service like www.dyndns.net.

(c) you could reconfigure your sendmail so that it masquerades the root@iserver.nth-design.net address as root@nth-design.net. Or you could try running your PHP script as a non-root user, and seeing whether sendmail is already masquerading. (You have to take special steps to masquerade root, even if other users are already being masqueraded by sendmail).

(d) You could find an smtp server that is on the public dns which is willing to relay your mail, and just get your sendmail to transfer all your outgoing mail to that server.

Do any of these sound feasible, given your circumstances?

Vijay
0
 
LVL 1

Author Comment

by:nathan8
ID: 6397340
Vijay,

I added a MX record to my DNS, then used the -f flag for Sendmail and used my e-mail address there.  It worked like a charm.

Thank you for the information, and the answer!

-Nate
0
 
LVL 5

Expert Comment

by:vsamtani
ID: 6398058
You're welcome...so where do I collect the pizza? ;)


V
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to providing great business solutions, IBM and Microsoft are the two top companies excelling in the art. Both launch similar products aimed at a wide audience set and have a good customer satisfaction rate. Since their products are qui…
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now