On 21/06/06, Marc Perkel <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to