question about sieve "discard"

Andreas Hasenack andreas at
Wed Apr 27 14:46:49 EDT 2005

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

if ....

elsif ....

elsif header :contains "From" "someone at somewhere" {

if ...
(script continues)

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 "someone at somewhere"
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:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list