Re: [exim] How to copy every accepted message to one mailbox…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jason_Meers
Päiväys:  
Vastaanottaja: Marek Zawadzki
Kopio: exim-users
Aihe: Re: [exim] How to copy every accepted message to one mailbox (system-wide)?
Marek Zawadzki wrote:
> Hi all,
>
> I need a recipe to copy every message received and accepted by Exim to
> a single mailbox (aisde from normally delivering it to the local
> recipient).
> Something like a "global .forward file" with "\original_acount,
> some_other_mailbox". If possible without having a .forward file in every
> user's homedir.
>
> I need this to have an employee to go through all emails everyday and sort
> spam/ham out so it can be then fed to SpamAssasin via sa-learn.
> I know it's going to be a tedious job, but I found out in the SA documentation
> that teaching SA with forwarded email is a bad idea.
> Copying by users between folders is not an option either in our environment.
>
> Thanks for all your suggestions,
>
> -marek
>
>

Use a system filter with an entry like this:

# Exim Filter
unseen deliver     spam-sorter@???    errors_to     
postmaster@???



Also pay attention to these configuration options:

system_filter = xxxxxx
system_filter_reply_transport = xxxxxx
system_filter_user = xxxxx

More help here:
http://www.exim.org/exim-html-4.66/doc/html/filter.html    or
http://www.exim.org/exim-pdf-4.66/doc/filter.pdf


Thanks
Jason_Meers

--
website: http://www.exim-new-users.co.uk
hosting: http://www.line3.co.uk