Home
 Products
 Download
 Buy
 Support
- F.A.Q.
-- MailGate
-- POPWeasel
-- SpamWeasel

- Error Codes
- Configuration
- Release Notes
- Year 2000

 Beta Area
 Contacts
 About Us
 Forum




MailGate Support Issues

Q. How do I set up MailGate with MS Exchange 5.5?
A. You can use the mail handling functions of MailGate with Microsoft Exchange. In addition your users get the advantage of being able to use MailGate's integrated proxy gateway and all of the Extension Modules.

If you plan to use MailGate to proxy Web requests, in MailGate click on Gateway | Setup | Web tab, and make sure the HTTP proxy is enabled. Also, check out the Browser Configuration section. Make sure that any other proxy services on the machine are disabled.

You can set MailGate to collect from your ISP POP account(s) as normal and send all of the mail on to MS Exchange. Also, Exchange can send mail to MailGate instead of the ISP. This way all of your connections can be handled via MailGate's highly configurable schedules.
There are two ways in which you can achieve this:

The first, and more simple way, is to have MailGate and Exchange on seperate machines.

In MailGate:

1) Set up POP collection(s) and schedule(s) as desired.
2) Click on gateway, setup, and select the LAN Forward tab, click on the ADD button. Type "*" into the Address Pattern field, and the IP address of the Exchange Server machine into the SMTP Server field, and the port number as 25. This will make MailGate forward all incoming mail to MS Exchange.

In Exchange:

1) Click on the Connections icon, double-click on the mail service you use, and select the Connections tab. In the "Message delivery" area, select "Forward all messages to host:" and set it to the IP address of the MailGate machine. Make sure that the "Dial using" box is unchecked. Exchange will now send the outgoing mail to MailGate, which will in turn send it on to the Internet during the next connection.


The second, and more complicated way, is to have MailGate and Exchange on the same machine. The complication comes about because of the SMTP port, number 25. SMTP is the protocol used to send mail, and both MailGate and Exchange have SMTP services which use port 25. Only one service may make use of a port at any time. To get around this problem, we get Exchange SMTP services to listen on another port for incoming SMTP mail. You can use any number as long as it's not a port used for another protocol, but you're generally safe by repeating the port number twice (ie. 2525).

In WinNT:

1) Go to "C:\Winnt\System32\Drivers\Etc" and open the "Services" file.
2) Find the line for the SMTP service...

smtp    25/tcp mail

3) Change it to point to an unused port (ie. 2525)...

smtp    2525/tcp mail


In MailGate:

1) Set up POP collection(s) and schedule(s) as desired.
2) Click on gateway, setup, and select the LAN Forward tab, click on the ADD button. Type "*" into the Address Pattern field, and "127.0.0.1" into the SMTP Server field, and the port number as 2525 (or whatever you wish the port to be). This will make MailGate forward all incoming mail to MS Exchange.


In Exchange:

1) Click on the Connections icon, double-click on the mail service you use, and select the Connections tab. In the "Message delivery" area, select "Forward all messages to host:" and set it to "127.0.0.1". Make sure that the "Dial using" box is unchecked. You will then need to restart the server.




Return To FAQ