Wednesday, December 19, 2007

How to make sendmail send from another IP FROM address

put, in /etc/mail/sendmail.cf;

O ClientPortOptions=Family=inet, Addr=YOURIP

where YOURIP is the address you want to use to send from.

Handy if one of your IPs is blacklisted or if it doesn't have PTR record (but others on the server have).