Re: [Exim] filter weirdness - 3.36

Pàgina inicial
Delete this message
Reply to this message
Autor: Tamas TEVESZ
Data:  
A: Peter Galbavy
CC: exim-users
Assumpte: Re: [Exim] filter weirdness - 3.36
On Wed, 17 Mar 2004, Peter Galbavy wrote:

> and is saved in that folder *as well*. The above address is
> redundent and I will be dumping it, but I would like to understand what is
> happening in this case.


if you want processing to stop at the first match, you shold stick in
a "finish" there, something along the lines of

    # Exim filter
    $if h_x-spam-flag: matches "YES" then save $home/.SPAM/ finish endif
    <other rules>


maybe you also need to mark it as "seen" as well, i don't remember
offhand whether "save" counts as a significant delivery or not.

--
[-]
'Luck is my middle name,' said Rincewind, indistinctly.
'Mind you, my first name is Bad.'