Configuring Mailarchiva
The first thing to do is to connect to 'http://<hostname>:8090' and go to the Configuration menu, Security tab and set an encryption password.
Next, you have to define a volume (within the Volumes tab) to be used for storing emails and their associated indexes, as described in the following screen-shot:
.png)
For the archiver to know which emails are 'sent' and which ones are 'received', you need to define one or more local domains as shown below, using the Domains tab.

This step completes the Mailarchiva configuration procedure, therefore we will move on to configuring the AXIGEN Mail Server.
Configuring AXIGEN
The first step you need to take is to point the AXIGEN Milter connector towards the Mailarchiva’s pair of host/port milter listener. This is achieved by editing the following configuration file:/etc/opt/axigen/aximilter.confand modifying the following parameters:
'milterIp'
'milterPort'
also make sure that the parameter named 'milterSocket' is commented or the daemon will not take into consideration the above defined IP/port pair.
Start the 'axifilters' init script after previously making sure that 'aximilter' is in the list of 'DAEMONS' in the 'axifilters' configuration file.
After performing a default installation, the AXIGEN WebAdmin GUI is usually located at an address of this form:
http://<hostname>:9000First log in with the proper credentials configured during the AXIGEN installation, then access the Security & Filtering module, more precisely the AntiVirus and AntiSpam tab, as shown in the next snapshot:

Click the AntiVirus and AntiSpam tab and you’ll be presented with a list of supported applications, amongst which 'aximilter' is also present. Click the Enable button to activate the 'aximilter' filter, as shown:

You will notice that the status of the filter will change, as shown here:

The configuration process is now completed. We can now run a quick recap of all the configuration steps needed to integrate two powerful solutions to act as one, thus benefiting from the joint features of both the AXIGEN Mail Server and the Mailarchiva archiving solution:
Recap: Integrating AXIGEN and Mailarchiva through the Milter Interface:
1. Mailarchiva configuration:
a. Set an Encryption password;
b. Create a new Volume;
c. Define the local domain(s);
2. Aximilter configuration (IP/Port for Mailarchiva milter socket);
3. Enable AXIGEN milter socket filter.


