[Dovecot] about .dovecot.sieve file can't found for directory

Stephan Bosch stephan at rename-it.nl
Mon Jul 23 12:21:47 EEST 2012


Op 7/23/2012 10:51 AM, F.Y schreef:
> Hi all :
>   i used roundcube webmail and enable filter(managesieve) . i create 
> some rules ,and the rule save in maildir . ok ..see my dovecot config:
>
> mail_location: maildir:/home/data/domains/%d/%n/Maildir
>
> plugin:
>   sieve_dir: /home/data/domains/%d/%n/Maildir/sieve
>   sieve: /home/data/domains/%d/%n/Maildir/.dovecot.sieve
>
> I create some rules, it can save for Maildir/sieve ,but can't found 
> .dovecot.sieve  on Maildir.. i trying for google and baidu search 
> engine,can't found any help .

Never put sieve and sieve_dir inside your mail_location, especially when 
it is a Maildir.

So, this should solve it for you:

plugin:
   sieve_dir: /home/data/domains/%d/%n/sieve
   sieve: /home/data/domains/%d/%n/.dovecot.sieve

Also make sure you have a sensible home directory set (e.g. 
/home/data/domains/%d/%n), since some aspects of Sieve use that for 
storing state information.

Other options exist of course.

Regards,

Stephan.


More information about the dovecot mailing list