Solved

Domain of Sender Address Does Not Exist...

Posted on 2001-08-16
4
34,102 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

Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

Join & Write a Comment

Suggested Solutions

Microsoft Outlook is not just an email client but it is full featured Personal Information Manager. But sometimes Outlook gets disconnected and you simply can’t access it. What steps can you perform before calling IT support? In this article we will…
Automapping, a wonderful feature with Exchange 2010 (SP2 onwards I believe), allows additional/Shared mailboxes that a user has access to be automatically mapped on Outlook client, simplifying the process by adding them while Outlook launches. Ho…
In this video we show how to create a Contact 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 Recipients >> Contact ta…
In this video we show how to create an Address List 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 Organization >> Ad…

746 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

13 Experts available now in Live!

Get 1:1 Help Now