A friend of mine had these rules (cyrus-imapd-2.2.12):

------8<-------
if ....

elsif ....

elsif header :contains "From" "[EMAIL PROTECTED]" {
        discard;
}

if ...
(script continues)
------8<-------

Note how the if/elsif structure is broken and a new if statement begins
later on. That was a copy&paste error (the second "if" should have been
"elsif" to continue the case-like structure).

The interesting thing is that a message from "[EMAIL PROTECTED]"
survived the discard. Is that because there should be a "stop;" after
the discard action? It matched some other rule down the road in the
second "if" structure.


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to