Solved

Domain of Sender Address Does Not Exist...

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Nearly six years ago I was hired by a company to be their senior server engineer. One of my first projects was to implement Exchange Server 2007 on a Windows Server 2008 Single Copy Cluster for high availability. That was the easy part; read on to l…
New-MailboxSearch Powershell Command and step by step approach to Search and Extract Emails form Exchange 2013 Journaling server.
Familiarize people with the process of utilizing SQL Server views 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 Microsoft Access…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

705 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