From 649672e76e507440259a158d564b7a6185179ef9 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 2 May 2021 21:49:33 +0000 Subject: [PATCH] nixos/postfix: fix compatibility level Postfix has started outputting an error on startup that it can't parse the compatibility level 9999. Instead, just set the compatibility level to be identical to the current version, which seems to be the (new) intent for the compatibility level. --- nixos/modules/services/mail/postfix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix index 8e5bed5fcb87..35639e1bbc83 100644 --- a/nixos/modules/services/mail/postfix.nix +++ b/nixos/modules/services/mail/postfix.nix @@ -773,7 +773,7 @@ in }; services.postfix.config = (mapAttrs (_: v: mkDefault v) { - compatibility_level = "9999"; + compatibility_level = pkgs.postfix.version; mail_owner = cfg.user; default_privs = "nobody";