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 "[EMAIL PROTECTED]"
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 = [EMAIL PROTECTED] unseen untested. you probably want a condition to filter away system accounts at a minimum. -- Kjetil T. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
