[exim] Archiving all inbound and outbound emails for auditin…

Top Page
Delete this message
Reply to this message
Author: Jean-Philippe Côté
Date:  
To: exim-users
Subject: [exim] Archiving all inbound and outbound emails for auditing purposes

Greetings !

I am at at a loss trying to figure out how to send a copy of all inbound and outbound emails to specific accounts (or files for that matter) for auditing purposes. I found this example which was to be placed after "begin routers" in exim.conf:

archive_outgoing:
driver = redirect
data = outgoing@xxxxxxxxxx
senders = domain.com
unseen

archive_incoming:
driver = redirect
domains = domain.com
data = incoming@xxxxxxxxxx
unseen

It works for incoming mail but not for outgoing. What am I doing wrong ? Is the "senders" parameter refering to the "from" field of the message to be sent outbound ?

TIA.

My configuration:

Exim 4.6
CentOS 4

--
Jean-Philippe Côté
Chef, développement informatique

Terra Incognita
3530 Saint-Laurent, Bureau 500, Montréal (Québec) H2X 2V1
T: (514) 847-3536 #5678
@: jpcote@???