sieve cli

Aki Tuomi
Thu, 03 Oct 2019 16:59:44 -0000

> On 03/10/2019 19:40 Matthew Broadhead via dovecot <dovecot at
dovecot.org> wrote:
>
>
> i am using dovecot-2.2.36-3.el7_7.1.x86_64 on centos 7
>
> is it possible to activate / deactivate a sieve script for a mailbox
> from the command line?
>
> my mailboxes are currently stores in /../vmail/domain.tld/username
>
> if i activate / deactivate a filter set using roundcube (webmail system)
> then it creates or deletes a symbolic link
> /../vmail/domain.tld/username/dovecot.sieve? which points to a file
> /../vmail/domain.tld/username/sieve/managesieve.sieve.
>
> if i create this symbolic link manually it doesn't seem to work

Hi!

You can use 'doveadm sieve' commands to manage scripts, e.g.
'doveadm sieve activate'.

Aki