?
Solved

Domain of Sender Address Does Not Exist...

Posted on 2001-08-16
4
Medium Priority
?
34,152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1200 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
To show how to generate a certificate request 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 Servers >> Certificates…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
Suggested Courses

762 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