procmail
[Top] [All Lists]

if-not-met with E, what will happen exactly

2000-03-19 12:09:10
Hi,

I was trying to set up a filter that catches forged Received from fields
inserted by the "-0700 (EDT)" spamware. Hwoever, i have small problem.

The recipe:

  :0
  * ^Received: foo
  {
          :0
          * ^Received: foo.bar
          action foo.bar
 
          :0 E
          * ^Received: foo.baz
          action foo.baz
 
          :0 E
          action foo
  }


What i wanted is this:

  if ... done
  elif ... done
  elif ... done

So, if foo.bar matches it should do the action for foo.bar and exit this
recipe completly. If foo.bar matches it will not test for foo.baz because of
that 'E' flag on that foo.baz test, but will it still do that last one?
Or will it skip that last one as well because of this 'E' flag on that
one?

Thanks in advance, -Rejo.



-- 
= Rejo Zenger  <rejo(_at_)sisterray(_dot_)xs4all(_dot_)nl>                      
 PGP: see headers
= Too much to fit in this .sig:  http://mediaport.org/~sister (and my_urls.html)
--------------------------------------------------------------------------------
  Destroy a spamhaus! http://www.xs4all.nl/~sister/mirror/sengir/spam_sites.html

<Prev in Thread] Current Thread [Next in Thread>