Kerio
Kerio Config
- Login to Kerio Administration Console
- Click Archiving and Backup Menu
- Select Enable email archiving
- Under Action, check Archive to the remote email address
- Enter the equivalent of archive@mailarchiva.company.local as the destination email address. The FQDN mailarchiva.company.local must be resolvable to the MailArchiva server.
MailArchiva Config
- Login to MailArchiva Console
- Click Configuration menu at top
- Under Listeners, create a new SMTP Listener
- Set SMTP Listener port to 25, Save.
- Verifyt
Kerio has a bug which makes configuration a bit sub-optimal. Normal configuration without the Kerio bug would be to set up a separate domain within Kerio. For example "mailarchiva.local". Then activate "forwarding" for unknown users within that domain to the IP of your mailarchiva-server. As there are no users known within that domain, all mails sent to that domain will be forwarded.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy8zMDcvMzkzL2NrZmluZGVyL2ltYWdlcy9rZXJpbygxKS5wbmciLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3NjU4MzEyMzF9fX1dfQ__&Signature=RmOfUmUUkN~UykqHLLZL0c8SU2RPoayV66Gq-lANmJWRL1WJ2bpzgpAp9uqOq-sRWbob8GBDyjXfE2j0OBYNGx9Dd0bqLvsLxCO3Le86k7n2524gz1xcyz0QSrmftF5BCFT~pP60TqZrDCDXmgUwK5KIOlNM3PB8P~iBU1lpjaz2isUrtVcHGZhHdG1HnbVHldpX5PCVq65oebqdfFrBrXlCa~F1-I~Bu0~Z45hZbZpyrlC78g5vzeF46SriBEePg8E33S1cCnbfztw3KLZzv1aDg8FhpevEfi~KKOkdUfQ5jZkJNScyARt3AgcZH7T3h-wHMSb8rg5phJ3AXsEhjw__&Key-Pair-Id=K2TK3EG287XSFC)
Now under archiving and Backup you would actiate archiving and under "Action" you would activate "Archive to an external mail address". Target would be "info@mailarchiva.local". So all internal and external mails from your domain wold be copied to info@mailarchiva.local and would be directly forwarded to mailarchiva server.
Kerio Bug
With that configuration, the global footer defined within the domain-config of Kerio will be added to any mail, whether sent internally from one user to another, or sent from an internal user to an external. Took us a while to explain the problem to Kerio, they know it for some months now, but still not fixed it in V. 7.1.1.
The WorkAround
- Define a mailbox within your normal mail-domain.
For example "mailarchiva@company.com" and put that address as backup-target within kerio.
- In Mailarchiva set up a "Journal Mailbox" and use that fetcher to grab the mails from mailarchiva@company.com
So all mails from the inbox of mailarchiva@company.com are grabbed by mailarchiva.
After the mails are grabbed by the mailarchiva server, kerio moves them to the deleted mail folder of the account mailarchiva@company.com. Either you set up a rule to delete them after some days, or you have to delete them manually from time to time there, depending on your mail volume.