On 24. Sep 2020, at 18.58, Graham Leggett minfrin@sharp.fm wrote:
Hi all,
According to the docs at https://wiki.dovecot.org/Pigeonhole/Sieve, some extensions are not available by default.
The docs tell me the sieve_plugins, sieve_extensions and/or sieve_global_extensions configs are involved, but I can find no authoritative documentation as to what the values should be.
What values must I use to make “vnd.dovecot.environment” available?
Adding "sieve_global_extensions = +vnd.dovecot.environment” to 90-sieve.conf seems to not be enough.
[root@gatekeeper ~]# sievec -D /var/lib/dovecot-sieve/default.sieve sievec(root): Debug: sieve: Pigeonhole version 0.5.8 (b7b03ba2) initializing sievec(root): Debug: sieve: include: sieve_global is not set; it is currently not possible to include
:global' scripts. sievec(root): Debug: sieve: file storage: Using Sieve script path: /var/lib/dovecot-sieve/default.sieve sievec(root): Debug: sieve: file script: Opened script
default' from/var/lib/dovecot-sieve/default.sieve' default: line 5: error: require command: unknown Sieve capability
vnd.dovecot.environment'. default: line 19: error: referring to variable in unknown namespace 'vnd'. default: error: validation failed. sievec(root): Fatal: failed to compile sieve script '/var/lib/dovecot-sieve/default.sieve'
can you link your doveconf -n and the sieve script?
Sami