Configuring An Internal Exchange Server
The setup of the Exchange Server on a system running behind the WinProxy computer is a four-step procedure.
(NOTE: Step 2 is optional. In other words, you only do step 2 if you want to allow external users access to your internal Exchange Server.)
STEP 1 - Editing 'Mail' in WinProxy.
STEP 2 - Mapping an incoming, TCP port 110 to the internal Exchange Server.
STEP 3 - Installing and configuring 'Internet Mail Service' within the internal Exchange Server.
STEP 4 - Configuring the mail application(s) on client computer(s) to point to the internal Exchange Server.
Step 1 Configuring 'Mail' in WinProxy
- In WinProxy, click on File -> Settings -> Protocols. Make sure that the box next to 'Mail' is checked.
- Click on 'Mail Setup'.
- Change the ports for both SMTP (25) and POP3 (110), so that they do not conflict with the Exchange Server, which also uses ports 25 and 100. In our example below we changed the SMTP port to 8025 and POP3 to 8110.
- Check the box next to 'Incoming Proxy for SMTP'.
- For 'Internal Server IP' enter in the IP address of the internal Exchange Server.
- For 'Internal Server Port' enter in 25 (by default).
- Click on OK -> OK.

Step 2 Mapping an Incoming, TCP Port 110 to the Internal Exchange Server
To allow users on the Internet to connect to your internal Exchange Server you will need to map port 110 (incoming, TCP) to allow the mail to pass through the firewall.
In WinProxy,
- Click on File -> Advanced Settings -> Mapped Ports -> New.
- For 'Mapped Port Name' enter in any name you would like.
- For 'Proxy Port' enter in 110.
- For 'Destination' enter in the IP address of the internal Exchange Server.
- For 'Destination Port' enter in 110.
- Under 'Mapped Port Type' select TCP.
- Under 'Mapped Port Direction' select Incoming.
- Click on OK -> OK.

By creating this mapped port for 110, you have opened up the standard port on the proxy server that email programs use to connect to their POP3 server. Hence, allowing external users the ability to request for their email from your Exchange Server.
|
NOTE
If you are using IMAP instead of POP3, then all you will need to do is enter in port 143 under 'Proxy Port' and 'Destination Port'.
|
Step 3 Installing and Configuring 'Internet Mail Service' within the Internal Exchange Server
- Upon installing the Exchange Server, you will need to install its 'Internet Mail Service'. To install this service open up Microsoft Exchange Administration. Click on File -> New Other -> Internet Mail Service. An 'Internet Mail Wizard' box will pop up. This wizard will walk you through installing the Internet Mail Service.
- Once the Internet Mail Service has been installed, double-click on it.
- Click on the 'Connections' tab. For:
- Transfer Mode: Select 'Inbound & Outbound'.
- Message Delivery: Select 'For all messages to host'. In the box directly below this, enter in the internal IP address of the WinProxy computer.
- Accept Connections: Select 'From any host (secure or non-secure)'.

- Click on the 'Routing' tab.
- Select 'Reroute incoming SMTP mail (required for POP3/IMAP4 support)'.
- Click on 'Add'.
- Email sent to this domain: Enter in your registered domain name.
- Select 'Should be accepted as inbound'.
- Click 'OK'.

- Click on Apply -> OK, then stop and start the 'Internet Mail Service'
|
NOTE
|
Step 4 Mail Settings on Client Computer(s)
- Outgoing Mail Server - Enter in the IP address of the internal Exchange Server.
- SMTP port - Enter in 25.
- Incoming Mail Server - Enter in the IP address of the internal Exchange Server.
- POP3 port - Enter in port 110


