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:
- 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.
- Click on Gateway | Setup | Domains tab.
- 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.
- Select the E-mail tab.
- Make sure that the "System address" field contains a full valid e-mail address (e.g. "email@example.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.
- Select the Lan Forward tab.
- Uncheck the "Send admin message for failures" box. This will help to prevent looping (such as explained in item #1 above).
- 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.
- 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. "firstname.lastname@example.org") - 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.
- Select the DNS tab.
- 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.
- Click OK to accept the changes.
Return To FAQ