summary refs log tree commit diff
path: root/nixos/modules/services/mail
diff options
context:
space:
mode:
authorMatt McHenry <github@matt.mchenryfamily.org>2017-08-10 21:10:00 -0400
committerMatt McHenry <github@matt.mchenryfamily.org>2017-08-10 21:32:03 -0400
commit01fbf30041d1ee0c3ad819fe59389eadc92d9ac4 (patch)
tree5f5cfe453cabe20f5f94b1ab2f477ae23b9d9daa /nixos/modules/services/mail
parentedd4a0efe3daf137c043275062581a9ae8ac8a1e (diff)
downloadnixlib-01fbf30041d1ee0c3ad819fe59389eadc92d9ac4.tar
nixlib-01fbf30041d1ee0c3ad819fe59389eadc92d9ac4.tar.gz
nixlib-01fbf30041d1ee0c3ad819fe59389eadc92d9ac4.tar.bz2
nixlib-01fbf30041d1ee0c3ad819fe59389eadc92d9ac4.tar.lz
nixlib-01fbf30041d1ee0c3ad819fe59389eadc92d9ac4.tar.xz
nixlib-01fbf30041d1ee0c3ad819fe59389eadc92d9ac4.tar.zst
nixlib-01fbf30041d1ee0c3ad819fe59389eadc92d9ac4.zip
postfix: warn about deprecated extraMasterConf option
Diffstat (limited to 'nixos/modules/services/mail')
-rw-r--r--nixos/modules/services/mail/postfix.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix
index 47ce2c4c5e32..a3e60cfecad7 100644
--- a/nixos/modules/services/mail/postfix.nix
+++ b/nixos/modules/services/mail/postfix.nix
@@ -839,5 +839,8 @@ in
     (mkIf (cfg.extraConfig != "") {
       warnings = [ "The services.postfix.extraConfig option was deprecated. Please use services.postfix.config instead." ];
     })
+    (mkIf (cfg.extraMasterConf != "") {
+      warnings = [ "The services.postfix.extraMasterConf option was deprecated. Please use services.postfix.masterConfig instead." ];
+    })
   ]);
 }