30 Jul
2009
30 Jul
'09
8:32 a.m.
Nikita Koshikov schreef:
This is my current rule list:
require ["fileinto","envelope","copy"];
rule:[redirect]
if anyof (true) { redirect :copy "alice@domain.com"; }
rule:[Cron]
elsif anyof (header :contains "Subject" "Cron") { fileinto "INBOX/Cron"; }
You are using a if/elseif/else statement. When the if clause (which is always true) is matched, the stuff in the elsif/else clauses is discarded.
You'll need to use 2 separate if statements to make this work.
-- Regards, Tom