IIS 6/7 SMTP - Sending emails from different IP addresses
Posted on 2011-05-03
I have web sites on the following platform:-
- Windows Web Server 2008 R2 x64
- IIS 7.5
- Classic ASP 3.0
- SMTP server from IIS 6 platform (this is necessary to send emails from Classic ASP)
I would like to:-
1) Send bulk emails or spam-like emails from one IP address, 126.96.36.199
2) Send *normal* or important emails from a different IP address, 188.8.131.52
Using the IIS 6 Manager I can create two seperate virtual SMTP servers, bound to the appropriate IP addresses, with the outbound FQDN pointed to the right place, and with the SMTP servers outputting the correct record on the EHLO response when you telnet to them.
Everything works great, apart from that when you look at the message headers of any received emails, the outbound IP address always shows the first IP address configured on the NIC (184.108.40.206), even for emails sent on the other virtual server (220.127.116.11)
Is there anyway around this? Or any other solutions?