-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sieve (dovecot/pigeonhole) script fails after updating #286859
Comments
You have to set services.dovecot2.sieve.extensions = [ "fileinto" ]; See #275031 |
That fixed it, thanks. And I did a search first but I suppose only in "issues" not pull requests. I'll try harder to find the answers myself in future! |
Maybe sieve.extensions should be set to dovecot's default value (haven't checked what that is yet) so you can add to it like in this config. |
@jeschmidt can you please re-open the bug? At the moment, if the sieve.extensions option is not set, the module will emit `sieve_extensions ='. This will disable all extensions, including dovecot's defaults. In fact, it's enough to enable any extension in sieve.extension - in your case "copy" would have had the same effect as "fileinto". If anything is set, the module will emit "sieve_extensions = +copy": it's keeping the defaults and adds copy. The correct bug fix would be either:
@RaitoBezarius: Can you have a look? You seem to have introduced those lines in the module. |
I actually introduced this initially. Sorry about that! #286184 should get rid of this bad default. |
Describe the bug
Without changing configuration, I ran nixos-rebuild switch --update on my mail server. Note: I am using the nixos-unstable channel.
Most of my 'sieve' configuration was done using services.dovecot2.extraConfig as there wasn't much native nix config for it, which seems to have changed recently. I had a very basic configuration:
And the sieve script itself is very basic also, just moving mail into subfolders based on From address. I won't paste the script for now (it's named "fromfilter" in the below log) but I can if requested. Here's the error I get in .dovecot.sieve.log when every new mail arrives:
Which is weird because 'fileinto' is a basic capability of sieve and not a plugin or extension.
Expected behavior
Expected sieve protocol to function as it did previously with the same configuration
Notify maintainers
@2xsaiko I think this might have to do with your recent changes to dovecot.nix?
Metadata
The text was updated successfully, but these errors were encountered: