set imap flags in user sieve scripts
Felix Zielcke
fzielcke at z-51.de
Sat Mar 11 18:51:18 UTC 2023
Am Samstag, dem 11.03.2023 um 19:30 +0100 schrieb spi:
>
> 11.03.2023 19:23:21 Benny Pedersen <me at junc.eu>:
>
> > spi skrev den 2023-03-11 13:34:
> >
> > > if address :domain "From" "whatever.com"{
> > > fileinto :flags ["\\todo"] "working/whatever";
> > > }
> >
> > require ["fileinto","imap4flags"];
>
> imap4flags seems not to be accepted in an user script. My sieve
> editor shows an error. If I add require ["fileinto","imap4flags"]; to
> the script it just does not work.
>
> As said it works in a global script, but not an user one.
>
Is imap4flags maybe listed in sieve_global_extensions setting in your
config?
Then you need to remove it from there:
https://doc.dovecot.org/configuration_manual/sieve/configuration/#basic-configuration
You could also try to enable it via sieve_extensions. But AIUI that
shouldn't be needed.
>
More information about the dovecot
mailing list