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

Question on sendmail routing.

Status
Not open for further replies.
Joined
Apr 27, 2006
Messages
9
Location
CA
Is it possible to set sendmail routing according to the following rules

1. Any mail to domain "x" goes to relay "y"
2. All other mail goes to relay "z"

How do I go about doing this?



Thanks in advance,
Dan.

 
I think you can set that in the mailertable field.

it would be something like:

abc.com smtp:[x.x.x.x]
yxz.com smtp:[y.y.y.y]

You also need to add the mailertable feature to sendmail.mc

FEATURE(`mailertable')

Then you need to rebuild the sendmail.mc file and also the mailertable file.

Gb0mb

........99.9% User Error........
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top