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!

Binding Sending to an IP on multihomed host

Status
Not open for further replies.

bobjunga

Programmer
Mar 25, 2005
11
US
How can I get sendmail to use a specific address as the *source* IP when sending outgoing mail? I am trying to get my reverse lookup right to get rid of "may be forged" messages in the header of outgoing mail.

one IP address on the computer where sendmail is running is set up correctly to forward and reverse resolve -
ie.
mail1.xcade.net -> 4.78.160.141
4.78.160.141 -> mail1.xcade.net

But since there are several IPs on this host, sendmail is picking the wrong one. I need it to bind to 4.78.160.141.

I have aleardy configured in sendmail.mc to have it listen only to 4.78.160.141, but this did not effect the source IP of outgoing connections.

Anybody know how to do this?

--BobG
 
Set your system's default gateway to be the gateway of the interface you want to use for outgoing mail.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top