sieve cli

Erwan David
Thu, 03 Oct 2019 17:17:26 -0000

Le 03/10/2019 ? 18:40, Matthew Broadhead via dovecot a
?crit?:
> 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
>

You can use the sieve-connect command which uses the managesieve
protocol to speak to the server.