diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-09-24 01:40:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-24 01:40:13 +0100 |
commit | 5e5cd96189baed683d759509cc040b855eaaae08 (patch) | |
tree | 55a330f1d6d90a2bf893bb48774513a76c601a0b | |
parent | 36e8d638d48cb60052febe191407e7ba011d4c68 (diff) | |
parent | 868040ee22fe7e79a39b6423095ab4185d584b6b (diff) | |
download | nixpkgs-5e5cd96189baed683d759509cc040b855eaaae08.tar nixpkgs-5e5cd96189baed683d759509cc040b855eaaae08.tar.gz nixpkgs-5e5cd96189baed683d759509cc040b855eaaae08.tar.bz2 nixpkgs-5e5cd96189baed683d759509cc040b855eaaae08.tar.lz nixpkgs-5e5cd96189baed683d759509cc040b855eaaae08.tar.xz nixpkgs-5e5cd96189baed683d759509cc040b855eaaae08.tar.zst nixpkgs-5e5cd96189baed683d759509cc040b855eaaae08.zip |
Merge pull request #47180 from avnik/fix/rmilter
Fix rmilter socket path, add deprecation notice
-rw-r--r-- | nixos/modules/services/mail/rmilter.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/rmilter.nix b/nixos/modules/services/mail/rmilter.nix index 7f38d757013..0d91b247cd3 100644 --- a/nixos/modules/services/mail/rmilter.nix +++ b/nixos/modules/services/mail/rmilter.nix @@ -89,7 +89,7 @@ in bindSocket.path = mkOption { type = types.str; - default = "/run/rmilter/rmilter.sock"; + default = "/run/rmilter.sock"; description = '' Path to Unix domain socket to listen on. ''; @@ -193,6 +193,9 @@ in config = mkMerge [ (mkIf cfg.enable { + warnings = [ + ''`config.services.rmilter' is deprecated, `rmilter' deprecated and unsupported by upstream, and will be removed from next releases. Use built-in rspamd milter instead.'' + ]; users.users = singleton { name = cfg.user; |