Dovecot: Difference between revisions

From NixOS Wiki
Writer (talk | contribs)
Created page with "== Troubleshooting == === sievec fails to compile basic sieve scripts in 24.05 === Since NixOS 24.05 even basic sieve commands such as ''fileinto'' need to be enabled explicitly with: <syntaxhighlight lang="nix">services.dovecot2.sieve.globalExtensions = ["fileinto"];</syntaxhighlight> Otherwise, the ''sievec'' command will fail to compile sieve scripts with <code>fileinto</code> statements and as a result the Dovecot service itself will fail to start if the configu..."
 
Writer (talk | contribs)
mNo edit summary
Line 5: Line 5:
Since NixOS 24.05 even basic sieve commands such as ''fileinto'' need to be enabled explicitly with:
Since NixOS 24.05 even basic 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.extensions = ["fileinto"];</syntaxhighlight>


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

Revision as of 21:01, 13 June 2024

Troubleshooting

sievec fails to compile basic sieve scripts in 24.05

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

services.dovecot2.sieve.extensions = ["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.