Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: fritz001 on February 11, 2010, 01:17:53 AM

Title: sieve filter question
Post by: fritz001 on February 11, 2010, 01:17:53 AM
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