My Server has 4 IP addresses.
(IPs are for example only)
1.2.3.4
1.2.3.5
1.2.3.6
1.2.3.7
Under IIS, I have a Virtual SMTP Server on 1.2.3.5, on port 25.
The virtual server installed there at the start on 1.2.3.4 is disabled.
1.2.3.5 is mapped to my hostname, mailhost.mydomain.com and the rDNS PTR is configured for that as well.
When I send an Email using mailhost.mydomain.com – it works, but it shows up in headers that the email is coming from 1.2.3.4 with no reference to 1.2.3.5 at all.
Any ideas?
Cheers
Best Answer
The SMTP service listens to port 25 on all unassigned IP addresses even if you specify a specific IP address for the default virtual server. You need to disable the Microsoft Internet Information Services (IIS) socket pooling feature (DisableSocketPooling). This property is not exposed in ADSI for SMTP.
http://support.microsoft.com/kb/281760
Hope this helps.