question about sieve "discard"

Ken Murchison ken at oceana.com
Wed Apr 27 21:11:34 EDT 2005


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 implicit keep.  If discard is used with other
>>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   actions, the other actions still happen.  Discard is compatible with
>>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   all other actions.  (For instance fileinto+discard is equivalent to
>>   fileinto.)
> 
> 
> What confused me a bit, and that's why I asked the list, was the "It
> does so by canceling the implicit keep." So if no other rule matched,
> then the message would be discarded, right?

Correct.

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
---
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




More information about the Info-cyrus mailing list