[Dovecot] Testing sieve

Jim Knuth jk at jkart.de
Sun Mar 20 01:16:56 EET 2011


Hi,

I`ve now compiled sieve and have a globalsieverc
in /etc/dovecot/sieve/globalsieverc.
How can I testing the rules?

1.

require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
    fileinto :create "Spam";
    stop;
}

The second rule not working, the first rule
I do not know.

2.

require "fileinto";
if header :contains "subject" "Stress" {
   fileinto "Ablage";
   stop;
}

main.cf entry is

mailbox_command = /usr/lib/dovecot/dovecot-lda -a "$RECIPIENT"

Thanks in advance
-- 
Mit freundlichen Grüßen,
Jim Knuth

P.S.: Bitte senden Sie KEINE HTML-Mails!

#####
Zufallszitat:
Ist das Leben nicht hundert Mal zu kurz, sich in ihm - zu langweilen?
[Nietzsche]


More information about the dovecot mailing list