Re: [Exim] filter weirdness - 3.36

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tamas TEVESZ
Dátum:  
Címzett: Peter Galbavy
CC: exim-users
Tárgy: 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.'