How to Configure AXIGEN 5 as Mail Gateway

This article explains how to configure AXIGEN 5 as an e-mail gateway (frontend) for specific domain(s)

Solution

Let's presume you want to set up Axigen as a gateway for the domain example.org and you have a mail server which actually hosts the mailboxes (may be another local AXIGEN server, an Exchange server, or any other mail server), with the IP address 193.230.245.200.

In order to set up Axigen to work as a gateway for the example.org domain, you need to follow these steps:

1) Log in into the Webadmin interface and switch to the Security & Filtering -> Acceptance & Routing -> Advanced Settings context.
2) Press the Add Acceptance / Routing Rule button then type in a suggestive Rule name
3) From the Conditions section, choose Recipient -> Domain then press the  Add Condition button. In the drop-down box that appears, select the Is condition, then type in the domain name (in this case, example.org).
4) From the Actions section, select SMTP -> Action then press the Add Action button.
5) From the the SMTP Action drop-down list that appears, make sure that Accept is selected
6) Press the Save Configuration button in order to save this rule.

Note: if you want your server to act as a gateway for multiple domains, you should repeat step 3 as many times as necessary, also making sure that the For incoming messages that match parameter is set to 'ANY of the conditions below'.

Next, we will add another rule, for redirecting the accepted emails to your main server, which will store them. The required steps are:

7) Press again the Add Acceptance / Routing Rule button then type in a suggestive Rule name  
8) Leave the Conditions section unaltered (Match any email message)
9) From the Actions sections, choose Relay -> Host then press the Add Action button.
10) Fill the Host name/IP box with the IP address of your main server (where the emails are to be delivered), in our case 193.230.245.200. Also put in the port box the SMTP port on that machine (by default, this is 25).
11) Press the Save Configuration button in order to save this rule.
OS: LinuxFreeBSDNetBSDOpenBSDSolaris