From 0c1801b48995ec6909e040abedaa56a64f0db430 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 27 Jun 2023 10:03:43 +0200 Subject: 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. --- mail-server/dovecot.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- cgit v1.2.3