I have a client that was recently acquired by a company. Their email system now resides on the parent company's network. Currently there is no VPN setup between my client and the parent company.
I need to setup an SMTP server locally to deliver email to the parent company's SMTP server. Currently I have a WIndows Server 2008 R2 running the SMTP feature (IIS 6.0). Under the Virtual SMTP Server, I have setup the domains for the parent company and my client. The parent company has a direct link to their mail server at mail.parentcompany.com:587, whereas going to mail.parentcompany.com:25 will result in some spam filtering.
Obviously I could go into the Virtual SMTP server and set the Outbound delivery port to 587 and set the smarthost for the entire virtual SMTP server to go to the parent company. However, we only want emails going to the local domains to go through the parent company's SMTP server and we would rather send all other domains out through the local SMTP server.
Next step was to setup remote domains in the Virtual SMTP server, but when I choose to send the email for the specific domains through a smarthost, I cannot specify a port.
Does anybody know a way around this without forcing all email out port 587?