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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple domain handling

Status
Not open for further replies.

Midiean

IS-IT--Management
Jul 18, 2001
112
US
Since i've gotten little response from the sendmail forums, i'm posting my issue here to see if anyone can help.

I have a sendmail server that i am trying to configure for receiving mail for multiple domains and sending out as one. I have had partial success in this endevor. I am now able to receive mail from our primary domain and the mail.newdomain.com addresses. The problem is, I can't receive email from newdomain.com. I have set the newdomain.com in the linux-host-names file under etc/mail/ which according to all the documentation i've read is all you need to do, unless i'm missing something.

When I try to send from a client, ie outlook, I get a mailer daemon when sending an internal email with the following error:

554 5.0.0 MX list for newdomain.com points back to oldhost.olddomain.com 554 5.3.5 Local configuration error

the MX records have been checked and every thing seems to be in order there. I have an internal DNS server that also has a pointer to this mail servers interal ip.

Is there anything that must be done on the linux o/s side of things in order for this mail server to accept incoming mail for newdomain.com?
 
please post only relevent replies, this is a rather important project.
 
ok, now that i am able to receive email from the new domain, i also need to spoof the new domain name for replies. I have put in the new email address to the "reply to" field, but it is still returning the original email address. Any ideas as to if sendmail is over riding this?
 
That's very odd. I've never heard of anything but the client controlling the "reply to" (unless the client doesn't specify), because you should be able to specify totally e-mail addresses for a "reply to" field. I'd double check the client program again and make sure it doesn't have a strange setting there somewhere that is overriding.
..
If not, then maybe that question deserves a new thread in the sendmail forums.
 
I found the issue was related to sendmail. In order for the server to allow an email to be sent out from the alternate domain, i had to list it in the sendmail.cf file using DMaltdomain.com. this allowed the server to accept that it was going to get a reply at that address and allowed the changed reply field to go through.
 
That seems odd. Does that now allow you to add someone else to the reply-to field if, for instance, you are going to be out of town, etc? How about another, non-hosted locally domain like a gmail account?
.. eh, oh well, glad it is working for you. :)
 
yeah, works just fine. don't know if it works quite like that, but it is refering to a domain that is pointing back to the office here. we are now sending email from the alternate domain and receiving from the old domain as well as the alternate.
 
while that may be a good alternative Thedaver, it still doesn't help with the problem. in future posts, please only post relevent information to the issue at hand. then offer alternatives that may be suited for the job. What you are describing in your link is a complete over haul of an already working mail system that would take a good amount of time and money.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top