Häläpäti häläpäti
On 18. Feb 2025, at 10.41, Timo Sirainen <timo@sirainen.com> wrote:
On 17. Feb 2025, at 16.26, Asai via dovecot <dovecot@dovecot.org> wrote:
sieve_script personal { active_path = /vmail/%{user | domain }/%{user | username }/home/.dovecot.sieve driver = file path = /vmail/%{user | domain }/%{user | username }/home/sieve }
Looks like %variables aren't really working right with Sieve / doveadm combination. It gives an error:
Error: sieve: sieve_file_storage settings: Failed to parse configuration: Failed to expand sieve_script_path setting variables: Unknown variable 'user'
So for now the only way is to avoid %variables there - that simplifies the config anyway:
sieve_script personal { active_path = ~/.dovecot.sieve path = ~/sieve }
Häläpäti häläpäti On 18. Feb 2025, at 10.41, Timo Sirainen <timo@sirainen.com> wrote: On 17. Feb 2025, at 16.26, Asai via dovecot <dovecot@dovecot.org> wrote: sieve_script personal { active_path = /vmail/%{user | domain }/%{user | username }/ home/.dovecot.sieve driver = file path = /vmail/%{user | domain }/%{user | username }/home/sieve } Looks like %variables aren't really working right with Sieve / doveadm combination. It gives an error: Error: sieve: sieve_file_storage settings: Failed to parse configuration: Failed to expand sieve_script_path setting variables: Unknown variable 'user' So for now the only way is to avoid %variables there - that simplifies the config anyway: sieve_script personal { active_path = ~/.dovecot.sieve path = ~/sieve }
participants (1)
-
Timo Sirainen