AXIGen


The AXIGen mail server is a popular groupware server for the Linux platform. Refer to http://www.axigen.com/ for more information. Follow the below steps to forward traffic from AXIGen to MailArchiva.

 

AXIGen Configuration

  1. Open the AxiGen Webadmin Interface (available at http://<hostname>:9000)
  2. Login using "admin" and the associated password
  3. Navigate to Security & Filtering -> Acceptance & Routing -> Advanced Settings. Here, press the 'Add Acceptance/Routing Rule' Button.
  4. Type a suggestive Rule name such as 'mailarchiva_define', then in the Actions section select the Add filter option from the Filters category and press Add Action.
  5.  Type a name for the new filter, and fill the Address field with the connection address of Mailarchiva's MILTER listener.
    By default, this listener is available on port 8092, therefore you need to use the following address: inet://127.0.0.1:8092
  6. Click the Save Configuration button.
  7. Click the Add Acceptance/Routing Rule' button (This new filter will be used for actually calling the one we defined before.)
  8.  Type a suggestive name such as 'mailarchiva_execute', then in the Actions section select the Execute filters option from the Filters category and press Add Action.
  9. Fill the Name pattern field with the name of the previously defined filter, in our case 'mailarchiva':
  10. Press the Save configuration button in order to activate the rule.

 

Newer Method (Using AxiFilter) 

 

1. Download the archive from below link on the server where AXIGEN resides

http://support.axigen.com/2016080599000333/aximilterFiles.tar.gz

2. Extract the files from the archive
3. Copy the files in the specified locations

aximilter.afsl in /var/opt/axigen/filters
aximilter.conf in /etc/opt/axigen

4. set the proper permissions for those files

chown axigen:axigen /var/opt/axigen/filters/aximilter.afsl
chown axigen:axigen /etc/opt/axigen/aximilter.conf

5. Edit the file /etc/opt/axigen/aximilter.conf and specify for “milterIp" and "milterPort" the IP and the port where MailArchiva is listening
6. Make a copy of AXIGEN’s configuration file (/var/opt/axigen/run/axigen.cfg)
7. Edit this copy of the configuration file and add in the section “socketFilters" the following lines, after the last defined filter

 

{
name = "aximilter"
address = "inet://127.0.0.1:1981"
protocolFile = "/var/opt/axigen/filters/aximilter.afsl"
idleTimeout = 60
actionOnMatch = discard
maxConnections = 10
maxMessageSize = 10240
}


8. In the same configuration file, in the section “serverActiveFilters" add the following lines after the last defined active filter

 

{
filterName = "aximilter"
filterType = socket
priority = 10
applyOn = (local relay)
}

 

9. Edit the file /etc/sysconfig/axigenfilters or /etc/default/axigenfiltes and modify the “DAEMONS" variable to look like

 

DAEMONS=“aximilter spamd commtouch"


10. Edit the file /etc/init.d/axigenfilters and add before ‘MY_PARENT_NAME="$0"' line add the following lines

 

DAEMON_NAME_aximilter="AxiMilter"
DAEMON_PATH_aximilter="/opt/axigen/bin/aximilter"
DAEMON_OPTIONS_aximilter=“"


10. Copy the axigenmilter binary file available at below link in /opt/axigen/bin directory; make sure that this binary file *is* executable


http://support.axigen.com/2016080599000333/aximilter


11. Disable or delete from WebAdmin the two defined MailArchiva related rules (WebAdmin -> Security & Filtering -> Acceptance & Routing -> Advanced Settings)
12. Stop the AXIGEN service
13. Restart the axigenfilters (/etc/init.d/axigenfilters restart)
14. Make a back-up copy of AXIGEN’s configuration file
15. Replace the current configuration file with the configuration file modified earlier
16. Start the AXIGEN service

After that the emails should be passed to the MailArchiva using the aximilter filter.

 

The paths from the above detailed steps are the default ones; if you installed AXIGEN in other than the default location, please modify the paths accordingly.

 

MailArchiva Configuration

 

  1. Click Configuration->Listeners.
  2. Select Milter Listener in the drop down and then click the New Listener button.
  3. Check "Listen for incoming Sendmail/Postfix requests"
  4. Leave the Sendmail Milter port as 8092
  5. Click Save

 

To test whether MailArchiva's milter server is actually listening on port 8092, drop to the command prompt and telnet to port 8092. 

 

 

 

 

 

 

 

 

 

© 2005 - 2024 ProProfs

Found this information useful? Visit mailarchiva.com to learn more about MailArchiva.

-