Configure Journaling in SpamExperts/Exim on Linux
This topic describes how to set up journaling using SpamExperts and the Exim MTA on Linux.
To set this up you need to:
- Ensure Archiving is enabled in SpamExperts - see Enable Archiving on a Domain
- Find the SpamExperts global journal address - see Find the SpamExperts Global Journal Address
- Add the global journal address to your Exim MTA on Linux - see Configure Journaling in Exim on Linux
Find the SpamExperts Global Journal Address
You can find the global journal address at the Domain Level, in the Archiving > Status page.
If the address ends with '@MX-record-hostname' please use @
Configure Journaling in Exim on Linux
This can be achieved by editing the local user router to redirect mail to a modified smart host router:
The following configuration has been tested on Ubuntu 14.04.5 LTS, other distributions may use different file locations.
- Edit the local recipient router:
/etc/exim4/conf.d/router/900_exim4-config_local_user
- Add a new router at the top of the file:
- Add the following to the
local_user
router: - Add a new router at the bottom of the file:
journal: debug_print = "R: journaling for $local_part@$domain" driver = redirect domains = +local_domains redirect_router = journal_send data = daba7d5d-19a3-4a62-b796-37d1f71a2953-mailassure.technology@mx1.mtaroutes.com
local_user: debug_print = "R: local_user for $local_part@$domain" driver = accept domains = +local_domains check_local_user local_parts = ! root transport = LOCAL_DELIVERY cannot_route_message = Unknown user
journal_send: driver = manualroute domains = +local_domains transport = remote_smtp route_list = * smtpout.mtaroutes.com