sendmail, reverse DNS, several IPs

my server has 2 sites and 2 IPs

IP1 resolves to site1.com
IP2 resolves to site2.com

If I send registration mail from site 2, sendmail always uses IP1 and the other party resolves that to site1.com - how can I tell sendmail to use the second domain / IP ?

 

 

 

 

Top