Re: [Exim] filter rule precedence

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Vadim Vygonets
Date:  
À: exim-users
Sujet: Re: [Exim] filter rule precedence
Quoth Rob Lingelbach on Fri, Jan 31, 2003:
> I'm a little confused about the precedence of a filter rule I'm
> trying to implement. I need messages addressed to 'tig-announce'
> to be discarded unless they are explicitly from either of two
> users, 'dlt' or 'rob@emsh'. This is what I wrote, and in the system
> filter file it seemingly discards all mail:
>
> if $local_part contains "tig-announce" and
>    $header_from does not contain "rob@emsh" or

                                              ^^
                                              ^^
"and".


>    $header_from does not contain "dlt"
> then
>    seen finish
> endif


I would also avoid using "contain" for this. Especially on the
first line, where I would use "is" instead.

Vadik.

--
Smile! The Illuminati are watching.