Re: question about sieve "discard"

2005-04-27 Thread Ken Murchison
Andreas Hasenack wrote: On Wed, Apr 27, 2005 at 09:37:55PM +0200, Goetz Babin-Ebell wrote: 4.5. Action discard Syntax: discard Discard is used to silently throw away the message. It does so by ^ simply canceling the imp

Re: question about sieve "discard"

2005-04-27 Thread Andreas Hasenack
On Wed, Apr 27, 2005 at 09:37:55PM +0200, Goetz Babin-Ebell wrote: > 4.5. Action discard > >Syntax: discard > >Discard is used to silently throw away the message. It does so by > ^ >simply canceling the implici

Re: question about sieve "discard"

2005-04-27 Thread Goetz Babin-Ebell
Andreas Hasenack wrote: 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

Re: question about sieve "discard"

2005-04-27 Thread Michael Loftis
--On Wednesday, April 27, 2005 15:46 -0300 Andreas Hasenack <[EMAIL PROTECTED]> wrote: 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 th

question about sieve "discard"

2005-04-27 Thread Andreas Hasenack
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