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 2000?
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) On the main Exchange 2000 window, got to "Servers/Connectors".
2) Right-click on the properties of your default SMTP connector.
3) On the "General" tab, make sure that the radio button is set to "Forward all mail through this connector to the following smart hosts", and that the IP address of the MailGate machine is entered into the field below. 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) On the main Exchange 2000 window, got to "Servers/Connectors". 2) Right-click on the properties of your default SMTP connector. 3) On the "General" tab, make sure that the radio button is set to "Forward all mail through this connector to the following smart hosts", and that the IP address "127.0.0.1" is entered into the field below.

Making sure Exchange is configured to allow SMTP feeds
1) On the main exchange 2000 window, go to "Servers/Protocols/SMTP/Default SMTP Virtual Server".
2) Right-click on "Default SMTP Virtual Server" and select "Properties".
3) Select the "Access" tab, and click on the "Connection" button.
4) Make sure that you've allowed access to Exchange, then click "OK".
5) Select the "Messages" tab, make sure the settings are correct.

Setting Exchange to accept mail sent to your domain(s)
1) On the main Exchange 2000 window, got to "Recipients/Recipient Policies".
2) Double-click on "Default policy" in the right-hand pane.
3) Select the "E-mail addresses" tab on the Properties window that appears.
4) You'll see a list of domains that Exchange will allow as local recipients.
5) If you don't see all of the domains you collect for, click on "New" and select "SMTP address".
    a) In the "Address" field, enter a domain that you collect for,
        prefixed by an "@" sign (e.g. "@yourdomain.com").
    b) Click "OK".
6) Add any other domains by repeating step #5 (above) for each domain.
7) Click "OK" when finnished.
8) An alert window will appear, asking "Do you want to update all corresponding recipient e-mail addresses to match these new address(es)?", click "Yes".
9) Stop and restart Exchange to reinitialize the settings.


Return To FAQ