Add a router, before the routers that would normally deal with
incoming mail for the domain(s) in question.
archiver:
driver = redirect
verify = false
expn = false
domains = ${lookup{$domain}lsearch{/etc/exim/mailarch}{$domain}fail}
data = ${lookup{$domain}lsearch{/etc/exim/mailarch}}
file_transport = address_file
pipe_transport = address_pipe
unseen = true
repeat_use = false
Add lines in /etc/exim/mailarch (any other name could be used
instead) for the domains in question:
domain1: mail-archive@domain1, archive@???
domain2: /home/customer/mail/domain2
domain3: "|procmail -m /etc/procmailrcs/domain3-arch"
-aw
On Tue, 13 Apr 2004, fxpbackup.com wrote:
> Could you give me more specifics on that? I really haven't done anything
> with exim beyond setting up mailscanner / clamAV and fixing some cPanel
> induced bugs.
>
> http://www.FXPBackup.com
> Encrypted Backup Hosting
> Dedicated Servers
> -----Original Message-----
> From: A. Wik [mailto:aw@narpes.com]
> Sent: Tuesday, April 13, 2004 8:46 PM
> To: exim-users@???
> Subject: Re: [Exim] Archive Email
>
> On Tue, 13 Apr 2004 neo@??? wrote:
>
> > I need to find a simple way to either forward a copy of all
> > emails for a domain to a specific account or to actually copy the
> > message files themselves within the server to a storage area for
> > ongoing archiving. More and more businesses are requesting this
> > for legal purposes and I have yet to find a way to do it in Exim
> > itself.
>
> I do something like that using the "unseen = true" router option
> for for keeping archives of some mailing lists I run.
>
> -aw
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/2004
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/2004
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>