[Dovecot] Sieve doesnt filter

Sven Schmidt sven at root2.schroederhost.de
Mon Mar 10 18:17:58 EET 2008


Hi!

I have a config like this (globalsieverc):
require "fileinto";
if address :domain :is "to" "domain.de" {
        if header :matches "X-Spam-Level" "\\*\\*\\*\\*\\*\\*\\*\\*" {
                #discard;
                fileinto "spamdir";
        }
}
 else {
  # The rest goes into INBOX
  # default is "implicit keep", we do it explicitly here
  keep;
}

It should filter all Mail for "domain.de" and then look for spam score.





More information about the dovecot mailing list