diff options
| author | Franz Pletz <fpletz@fnordicwalking.de> | 2023-08-10 05:09:36 +0200 |
|---|---|---|
| committer | Franz Pletz <fpletz@fnordicwalking.de> | 2023-08-10 05:09:36 +0200 |
| commit | 1194b13a33fa40b1b3161c73b52d9443dee6fbf3 (patch) | |
| tree | c9629e7aae51e05c862c15fd7b3e19f99f9d444a | |
| parent | nixos/public-inbox: remove spamassassin integration (diff) | |
| download | nixpkgs-origin/public-inbox-spamassassin.tar.gz | |
nixos/public-inbox: spamcheck setting needs to be setorigin/public-inbox-spamassassin
| -rw-r--r-- | nixos/modules/services/mail/public-inbox.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nixos/modules/services/mail/public-inbox.nix b/nixos/modules/services/mail/public-inbox.nix index 8bf8cd6eab3a..c2c77322a7a2 100644 --- a/nixos/modules/services/mail/public-inbox.nix +++ b/nixos/modules/services/mail/public-inbox.nix @@ -303,6 +303,22 @@ in }; }; }; + options.publicinboxmda.spamcheck = mkOption { + type = with types; enum [ "spamc" "none" ]; + default = "none"; + description = lib.mdDoc '' + If set to spamc, {manpage}`public-inbox-watch(1)` will filter spam + using SpamAssassin. This is currently not working in NixOS. + ''; + }; + options.publicinboxwatch.spamcheck = mkOption { + type = with types; enum [ "spamc" "none" ]; + default = "none"; + description = lib.mdDoc '' + If set to spamc, {manpage}`public-inbox-watch(1)` will filter spam + using SpamAssassin. This is currently not working in NixOS. + ''; + }; options.publicinboxwatch.watchspam = mkOption { type = with types; nullOr str; default = null; |
