can someone give me a clue abot if there is any ??
require ["fileinto"];
if anyof (header :contains "From" "postmaster")
{
fileinto "INBOX.test";
keep;
}
elsif anyof (header :contains "X-Spam-Flag" "YES")
{
fileinto "INBOX.Spam";
}
So if i receive a message from postmaster to send the message in test folder, but if i receive a message from postmaster and has Spam flag status to YES to move the message in SPAM.
P.S. i have dovecot 1.1.9 patched with cmusieve support