Dovecot: Difference between revisions

From NixOS Wiki
Klinger (talk | contribs)
drop 24.05 compat
 
Line 3: Line 3:
== Troubleshooting ==
== Troubleshooting ==


=== sievec fails to compile basic sieve scripts in 24.05 ===
=== sievec fails to compile basic sieve scripts ===


Since NixOS 24.05 even basic sieve commands such as ''fileinto'' need to be enabled explicitly with:
Sieve commands such as ''fileinto'' need to be enabled explicitly with:


<syntaxhighlight lang="nix">services.dovecot2.sieve.globalExtensions = ["fileinto"];</syntaxhighlight>
<syntaxhighlight lang="nix">services.dovecot2.sieve.globalExtensions = ["fileinto"];</syntaxhighlight>

Latest revision as of 08:29, 3 December 2024

This article is about dovecot, a secure imap server.

Troubleshooting

sievec fails to compile basic sieve scripts

Sieve commands such as fileinto need to be enabled explicitly with:

services.dovecot2.sieve.globalExtensions = ["fileinto"];

Otherwise, the sievec command will fail to compile sieve scripts with fileinto statements and as a result the Dovecot service itself will fail to start if the configuration contains services.dovecot2.sieve.scripts.