Re: [exim] Confused about SEEN in filter

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
A: exim-users
Assumpte: Re: [exim] Confused about SEEN in filter
On 21/06/06, Marc Perkel <marc@???> wrote:
> why does this work?
>
> if $h_From: contains "mperkel"
> then
> seen finish
> endif
>
>
> but this doesn't
>
> if $h_From: contains "mperkel"
> then
> seen
> endif
>
> It seems to me that if a message is considered "seen" then it should be
> diiscarded. But in the second case it is ignored. The reason I'm doing
> just seen is bacause I'm doing other thigs after the seen.


You need to use 'seen <command>' - so if you want to do some other
things, you could use

if $h_Subject: contains "Reading the docs usually helps"
then
<do something>
<do something else>
seen finish
endif

Peter

--
Peter Bowyer
Email: peter@???