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

Reply via email to