Configure Journaling in Spam Experts/Exim on Linux
This topic describes how to set up journaling using Spam Experts and the Exim MTA on Linux.
To set this up you need to:
- Ensure Archiving is enabled in Spam Experts - see Enable Archiving on a Domain
- Find the Spam Experts global journal address - see Find the Spam Experts Global Journal Address
- Add the global journal address to your Exim MTA on Linux - see Configure Journaling in Exim on Linux
Find the Spam Experts 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:
- Add a new router at the top of the file:
- Add the following to the
- 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 = firstname.lastname@example.org
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