[Dovecot] sieve discard

Jim Horner jhorner at arinbe.com
Mon Jul 23 07:52:43 EEST 2007



Does the keyword/action discard work by default or is there something I have 
to do in the configuration to get to work... maybe I missed something on 
http://wiki.dovecot.org/LDA/Sieve

I have the following rule:

if anyof (
     header :contains ["Subject"] ["Test Discard"]
) {
    discard;
    stop;
}

but it delivers to INBOX with or w/o the "stop;". If I change the rule to 

if anyof (
     header :contains ["Subject"] ["Test Discard"]
) {
    fileinto "spam";
    stop;
}

the message will deliver into my spam folder which makes me think I am doing 
something wrong with "discard".

Using 1.0.2 sieve plug-in.

Thanks.


More information about the dovecot mailing list