Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sender domain must exist

Status
Not open for further replies.

sucram

Programmer
May 23, 2001
75
GB
Hi,

I am very new to sendmail i have used it once before without any problems. I am now on a different computer and the same thing is not working. I am calling sendmail from a perl script. The mail is failing and going to root.
The error is:

Final-Recipient: RFC822; mjc1@student.cs.ucc.ie
Action: failed
Status: 5.5.2
Diagnostic-Code: SMTP; 501 < Sender domain must exist
Last-Attempt-Date: Wed, 19 Dec 2001 11:58:31 GMT

Does anyone have any idea what I need to do to get this working?

Thanks,
Marcus
 
Did you add your mail server name and ip to your dns &quot;MX&quot; and &quot;A&quot; records? For some reason SMTP is not finding your mail server when it does a dns look up. You might also check your network configs to see that your mail server name is an alias for your machine name.
 
RhythmAce, can you please tell us how to :

&quot;check network configs to see that mail server name is an alias for the machine name. &quot;

I just ask this question because in our school we have DNS server + sendmail all is fine, but we want to add a new dns :


how i tell sendmail that as with the old dns, it must accept also the mail for
VALIDUSER@SOME_NAME.org
?

Thanks very much
 
First, you will need to set your new domain's dns &quot;A&quot; record just like you did for your other domain so that points to the right ip address. Then set up the &quot;MX&quot; record to show that your mail server handles mail for Then you would set sendmail to relay for Setting up relaying for a domain is better than for all the users of that domain. Your current mail server would now become the hub for your domains.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top