[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Dovecot sieve plugin global rules



 Hi all,
I use Dovecot 2.1.7 on debian squeeze with Sieve plugin. Sieve rules are working nicely if I use the rules in user directories. But if I want to use global rule it's not working. My configuration is below,

/etc/dovecot/conf.d/90-sieve.conf :
 plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_global_dir = /etc/dovecot/sieve/
 }

/etc/dovecot/sieve/dovecot.sieve :

require ["fileinto"];
# rule:[test]
if header :contains "From" "abc.com"
{
        fileinto "INBOX.Junk";
}

This rule is working in the user directory.

Regards,

--
M.Atıf CEYLAN
Yurdum Yazılım


Reply to: