Re: [Exim] Filter mania

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Andromeda
CC: Exim
Sujet: Re: [Exim] Filter mania
On Wed, 20 Dec 2000, Andromeda wrote:

> If I can use a system filter how can I test for a certain local part in a
> file in a condition in my system filter as illustrated below:
>
> if ($local_part <test for presence in subscription file>) and ... then
> ... filter here ...
> endif


You can't test for a local part in a system filter. Why not? Because a
message may have several recipients. A system filter is run only once.

> The reason why I am asking is, I have a certain set of filters which I want
> to make available to all users system-wide on a subscription basis (i.e.
> they email me if they want to have that filter enabled).


RTFM Section 47.3 "Per address filtering"

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.