Thank you, Timo, that fixed the problem.
Asai
On 2/17/2025 9:03 AM, Timo Sirainen 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 }
Thank you, Timo, that fixed the problem. Asai On 2/17/2025 9:03 AM, Timo Sirainen 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)
-
Asai