Re: [exim] Archiving all inbound and outbound emails for aud…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Renaud Allard
Date:  
À: Jean-Philippe Côté
CC: exim-users
Sujet: Re: [exim] Archiving all inbound and outbound emails for auditing purposes


Jean-Philippe Côté wrote:
> 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 ?
>


As explained at
http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch15.html,
"senders" does not take a domain name but an address list. You could try
with:
archive_outgoing:
driver = redirect
data = outgoing@xxxxxxxxxx
senders = *@domain.com
unseen