If you have a server with multiple ip addresses, sendmail will default to sending email out using the first ip address.
If you want to explicitly use a different IP address, you can configure it in /etc/mail/sendmail.mc
Add the line CLIENT_OPTIONS:
CLIENT_OPTIONS(`Family=inet,Adress=1.2.3.4')dnl

Leave a comment