- F.A.Q.
-- MailGate
-- POPWeasel
-- SpamWeasel

- Error Codes
- Configuration
- Release Notes
- Year 2000

 Beta Area
 About Us

MailGate Support Issues

Q. How can I forward mail to an SMTP server (i.e. Exchange)?
A. If you wish to forward any mail to another mail server - any mail server that accepts an SMTP feed, you can use the LAN Forward feature within MailGate. The following instructions should ensure that you have a stable setup:
  1. On the main MailGate window, make sure that you have at least one local mailbox set to collect system reports/error messages. This mailbox needs to either:

    • Have the same name as that specified on the E-mail tab for "System reports to" (item #5 below).

    • Have an alias of the name specified for "System reports to" (double-click on the mailbox you wish to receive these reports, and add the name to the "Aliases" field).

    Making sure that any error messages are collected locally (instead of being forwarded to your SMTP server) will prevent mail looping. For example, if the connection to the server you're forwarding to is down, and MailGate attempts to forward an error report, this itself would fail, and a loop of error reports could occur.

  2. Click on Gateway | Setup | Domains tab.

  3. Make sure that the domain name specified in your own e-mail addresses (e.g. "domain.com" - without quotes) is entered into the "Local domains" field. Multiple domains can be entered, each on a separate line.

  4. Select the E-mail tab.

  5. Make sure that the "System address" field contains a full valid e-mail address (e.g. "system@domain.com"), but make sure that the "System reports to" field doesn't have a full e-mail address - just the name of a local mailbox (on MailGate itself), to collect these reports.

    Any error reports will be sent From "System address" and will be delivered To "System reports to". If the "System reports to" address contains a domain, this would be matched by the LAN Forward rule, and MailGate will attempt to forward it; if there is a communications problem in this situation, a loop could occur.

  6. Select the Lan Forward tab.

  7. Uncheck the "Send admin message for failures" box. This will help to prevent looping (such as explained in item #1 above).

  8. Make sure that the "Default sender" field is set to a full, valid e-mail address. This will be used if the From address is corrupt or missing in an e-mail MailGate attempts to forward.

  9. Click on the "Add" (or Edit - if you already have a rule set up) button and create a rule as follows:

    • In the "Address pattern" field, specify either a pattern (e.g. "*@domain.com" would forward any e-mail collected for anybody at the "domain.com" domain), or you can specify an individual e-mail address (e.g. "fred@domain.com") - you will need to add seperate rules for each user in this case.

    • Set the "SMTP Server" field to the IP address of the machine you wish to forward the mail to.

    • Set the "Default recipient" field to a full e-mail address, this will replace the To address in an e-mail if it is corrupt or missing.

  10. Select the DNS tab.

  11. Enabling the options here is not required for things such as Web browsing and e-mail collection, only for certain network applications that require proxying of DNS. Unless you're specifically proxying DNS requests, you should make sure that no options on this tab are enabled. For more information about these settings, check out the FAQ here.

  12. Click OK to accept the changes.

Return To FAQ