Re: [Exim] Keeping a copy of all mail

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Rory Campbell-Lange
Date:  
À: exim-users
Sujet: Re: [Exim] Keeping a copy of all mail
I'd be interested in Nigel's comments on the legality of keeping a copy
of all mail in an office environment.

Anyway, at present I've got something like this:
...

begin routers

# first router -- redirects spam if necessary
scan_redirect:
driver = redirect
domains = mydomain.co.uk
condition = ${if def:h_X-Redirect-To: {1}{0}}
headers_add = X-Original-Recipient: $local_part@$domain
data = $h_X-Redirect-To:
headers_remove = X-Redirect-To
redirect_router = shadow_all

shadow_all:
driver = accept
transport = shadow_delivery
unseen

...

begin transports

# keeps a copy of all mail in specified folder, great for surfing in
# mutt
shadow_delivery:
debug_print = "T: shadow_delivery"
driver = appendfile
group = mail
user = mail
mode = 0660
envelope_to_add = true
directory=/home/mailbackup
maildir_format

...

On 26/01/04, Peter McGarvey (exi-x@???) wrote:
>
> I need to save a copy of all the mail that passes through an exim server
> - preferably with the saved mail's filename being the message ID. I've
> been scratching my head for a while but I can't seem to come up with a
> solution.
>
> Anyone any suggestions?
>
> Thanks.
>
>
> --
> TTFN, FNORD
>
> Peter McGarvey
> Freelance FreeBSD Hacker
> (will work for bandwidth)
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


--
Rory Campbell-Lange
<rory@???>
<www.campbell-lange.net>