Sieve global path?

Tamsy dovecot-list at mohtex.net
Fri Nov 10 11:56:10 EET 2017


Stephan von Krawczynski wrote on 10.11.2017 16:35:
> On Fri, 10 Nov 2017 03:41:20 -0500
> Bill Shirley <bill at KnoxvilleChristian.org> wrote:
>
>> No it isn't shown as a folder.  All folder directories here begin with a dot.
>> i.e.  .INBOX  .Trash  .Drafts
>>
>> Bill
> No, they don't. me thought that, too. But using the rainloop webmail interface
> on top of such a config showed the sieve folder in the overview. Sometimes you
> can even see a "dovecot" folder, which also disappears when sieve is outside.
>
> --
> Regards,
> Stephan
>
>
>
>> On 11/10/2017 3:07 AM, Stephan von Krawczynski wrote:
>>> On Thu, 9 Nov 2017 21:02:44 -0500
>>> Bill Shirley <bill at KnoxvilleChristian.org> wrote:
>>>   
>>>> Set the sieve_global_dir like this.
>>>> /etc/dovecot/conf.d/99-mystuff.conf:
>>>> .
>>>> .
>>>> plugin {
>>>>      sieve                 = ~/Maildir/dovecot.sieve
>>>>      sieve_dir             = ~/Maildir/sieve
>>>>      sieve_global_dir      = /etc/dovecot/sieve/global/
>>>>      sieve_before          = /etc/dovecot/sieve/before.d/
>>>> #  sieve_before2        =
>>>> #  sieve_before3        =
>>>>      sieve_after           = /etc/dovecot/sieve/after.d/
>>>> #  sieve_after2         =
>>>> #  sieve_after3         =
>>>>
>>>>      fts                   = lucene
>>>>      fts_lucene            = whitespace_chars=@.
>>>> }
>>>>
>>>> Permissions:
>>>> drwxr-xr-x. 174 root root system_u:object_r:etc_t:s0         12288 Nov  9
>>>> 11:43 /etc drwxr-xr-x.   4 root root system_u:object_r:dovecot_etc_t:s0
>>>> 95 Apr 28  2016 /etc/dovecot drwxr-xr-x.   5 root root
>>>> system_u:object_r:dovecot_etc_t:s0    64 Jul 13  2015 /etc/dovecot/sieve
>>>> drwxr-xr-x.   2 root root system_u:object_r:dovecot_etc_t:s0    10 Jul 13
>>>> 2015 /etc/dovecot/sieve/global
>>>>
>>>> Since this directory is read-only to all but root, pre-complie your
>>>> scripts with 'sievec'.
>>>>
>>>> Bill
>>> ... And don't follow this example setting sieve_dir inside your maildirs.
>>> This will lead to the dir being shown as imap folder which you don't want.
>>> Simply put out it outside and everything is fine.
>>>   
Excactly the same happens with Roundcube (at least v.1.2): The Sieve 
folder shows up in the Folder View.


More information about the dovecot mailing list