[Dovecot] Sieve question

Leander S. leander.schaefer at googlemail.com
Sat Jul 10 20:38:34 EEST 2010


Hi,

is there a possibility to give the if cases a AND / OR sensetivity?


if header :comparator "i;ascii-casemap" :contains "X-Spam-Flag" "YES"  
*AND NO *"X-Amavis-Alert" "INFECTED"{
  fileinto "Spam";
  stop;
} elsif header :comparator "i;ascii-casemap" :contains "X-Amavis-Alert" 
"INFECTED" {
  fileinto "Virus";
  stop;
} else {
   keep;
}



I know - I could turn the two cases arround and it would sort in Virus 
before Spam which would prevent Virusmails going into the Spam folder 
accidently but I'm just intested for some other cases.


Thanks


More information about the dovecot mailing list