Re: [exim] Email Journaling with Exim 4.x

Top Page
Delete this message
Reply to this message
Author: Kjetil Torgrim Homme
Date:  
To: Justin Brown
CC: exim-users
Subject: Re: [exim] Email Journaling with Exim 4.x
On Mon, 2007-05-21 at 16:44 -0700, Justin Brown wrote:
>     We are using exim to manage the email for a domain with several hundred
> users. The owners of this domain require that all email be archived for
> legal purposes. We currently have an entry in /etc/antivirus.exim which
> forwards all the email to a third-party archiving service. This has worked
> well and the emails are being forwarded properly, however this approach
> causes multiple messages to be sent to the service when an email is sent to
> multiple addresses at the domain in question. What is the best way to
> journal all incoming and outgoing email to this domain without generating
> multiple copies of the same message when multiple addresses are specified in
> the to, cc or bcc fields?
>     The entry I currently have in /etc/antivirus.exim is as follows:

>
>     unseen deliver "user@???"


if you do it with an unseen router instead, and redirect to the *same*
address, Exim will automatically eliminate duplicates.

archive:
driver = redirect
verify = false
data = archive@???
unseen

untested. you probably want a condition to filter away system accounts
at a minimum.

--
Kjetil T.