diff options
author | Florian Klink <flokli@flokli.de> | 2023-06-27 10:03:43 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2023-06-29 20:54:57 +0200 |
commit | 0c1801b48995ec6909e040abedaa56a64f0db430 (patch) | |
tree | 2aa5c38c9df4ce3cbadacaf5e7a9887b033e1622 | |
parent | 24128c3052090311688b09a400aa408ba61c6ee5 (diff) |
dovecot: add dovecot_pigeonhole to system packages
`sieve-test` can be used to test sieve scripts.
It's annoying to nix-shell it in, because it reads the dovecot global
config and might stumble over incompatible .so files (as has happened
to me).
Simply providing it in $PATH is easier.
-rw-r--r-- | mail-server/dovecot.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mail-server/dovecot.nix b/mail-server/dovecot.nix index 01563e0..6730b61 100644 --- a/mail-server/dovecot.nix +++ b/mail-server/dovecot.nix @@ -109,6 +109,13 @@ in } ]; + # for sieve-test. Shelling it in on demand usually doesnt' work, as it reads + # the global config and tries to open shared libraries configured in there, + # which are usually not compatible. + environment.systemPackages = [ + pkgs.dovecot_pigeonhole + ]; + services.dovecot2 = { enable = true; enableImap = enableImap || enableImapSsl; |