Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Domain of Sender Address Does Not Exist...

Posted on 2001-08-16
4
Medium Priority
?
34,170 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
To show how to create a transport rule 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 >> Rules tab.:  To cr…
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…
Suggested Courses

610 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