Re: [Exim] System filter

Góra strony
Delete this message
Reply to this message
Autor: Dave C.
Data:  
Dla: Sean Bushby
CC: exim-users
Temat: Re: [Exim] System filter
It sounds like you want a per-user filter. This is accomplished by
using the forwardfile driver, and adding filter=yes in its stanza.

You dont have to override the driver for .forward with this, you can
create a new director that uses something like '.filter' as its
filename, and then place different versions of that file in their home
dir. This will only affect mail that is being sent to that user..

I'm not sure how you would catch mail being sent.. possible with a
transport filter (completely differnt concept that the 'filter'
language)


On Thu, 21 Sep 2000, Sean Bushby wrote:

> Hi Dave
>
> I donno if you understood what I was trying to do with the exim system
> filter.
>
> Basically I want to tailor 3 - 5 versions of the filter, all elimating
> viruses, but the different version would have, say lower to higher
> restriction with regards to what file types I stick, I then want to put
> these in the users home directory and then when their come is sent or
> received it uses the filter in their directory rather than having one main
> filter.
>
> thta's why I thought perhaps I could change the
> >         message_filter = /conf/exim/system_filter.exim
> >         message_body_visible = 5000
> to something so it looked for the filter in their directory, and can I
> change the filter file to a .forward file seeing as t has the # Exim filter
> at the top of the file.

>
> Regards
> Sean Bushby
> Network Administrator
> Club Leisure Group
> www.clubleisure.co.za
> +27 (31) 7177300
> 082-652-6218
>
>


--