POP/IMAP users and limiting inbound SMTP traffic

We have run into an issue where administrators limit inbound SMTP traffic on Exchange and have POP/IMAP users outside the network that can no longer send email out. Since the SMTP traffic is limited to just Appriver IPs this will not allow those POP/IMAP users to connect to the Exchange Server when sending outbound email.

A work around for this would be to create a second SMTP Virtual Server that is set to accept email on a different port and then edit the outlook client to send email out on the new Port. The following steps cover creating a second SMTP Virtual server for relay purposes.


How to Configure the Exchange Server

1. Open Exchange System Manager. 

2. Navigate to SMTP Protocol under your server.

3. Right-click SMTP and New>SMTP Virtual Server.

  a. Provide the SMTP Virtual Server a name

  b.  Ex: POP Relay

4. You may receive a prompt stating that the server will not start because it has properties that are the same as the Default SMTP Virtual Server. Just click OK.

5. Once the SMTP Virtual Server is created you will need to modify the properties of it.

6. Right-click the New SMTP Virtual Server and click Properties.

7. Under the General tab, click Advanced.

  a. If there is an entry in the Advanced area, highlight it and click the Edit button.

      •  Select the IP you want the server to listen on or leave it unassigned.

      •  Change the TCP Port to the new port you have selected as your POP/IMAP relay Port.

      •  Ex: Port 26

  b.  If there is no entry in the Advanced area, click Add and then follow the same steps as listed above.

8. With that step completed, it's now time to edit who can send mail to the new SMTP Virtual Server.

9. While in the new SMTP Virtual Server Properties, click the Access tab.

10. Under Access Control click the Authentication button.

11. In the authentication properties, clear the Anonymous Access check box. There is no need for anonymous access on the relay server because only your trusted users should be connecting to this new Virtual Server.

12. Make Sure Basic Authentication and Integrated Windows Authentication are checked.

13. After making all the above changes you will now need to start the new SMTP Virtual Server. Right-click the new server and click Start.


Configure the Firewall

Once you have completed the steps above you will need to open the new port on your firewall. Make sure that the port is set in the firewall to send all TCP traffic over to the IP of the Exchange Server. A good way to test this is to run a telnet sessions to that new port from outside your network. You can have your remote users test it since they will be the ones using it. They should receive a prompt back from the server.


Configure Outlook

Once all the tests check out okay you can now reconfigure the outlook client to start using the new SMTP Virtual Server for sending email.

1. Go to the users POP/IMAP account settings within Outlook.

2. Click More Settings.

3. You should see an Advanced Tab, select it.

4. Under Advanced there should be a ServerPort area.

5. Change the Outgoing Server (SMTP) to the new port you have configured.

6. Click OK.