nixos: recipientDelimiter is no longer a valid configuration option in Postfix 2.11.x or later

Note that this change in Postfix might affect the mlmmj.nix service in
ways I don't fully understand.

Changed files
-11
nixos
modules
services
-1
nixos/modules/services/mail/mlmmj.nix
···
services.postfix = {
enable = true;
-
recipientDelimiter= "+";
extraMasterConf = ''
mlmmj unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj}/bin/mlmmj-receive -F -L ${spoolDir}/$nextHop
'';
-10
nixos/modules/services/mail/postfix.nix
···
smtpd_tls_key_file = ${cfg.sslKey}
smtpd_use_tls = yes
-
-
recipientDelimiter = ${cfg.recipientDelimiter}
''
+ optionalString (cfg.virtual != "") ''
virtual_alias_maps = hash:/etc/postfix/virtual
···
sslKey = mkOption {
default = "";
description = "SSL key to use.";
-
};
-
-
recipientDelimiter = mkOption {
-
default = "";
-
example = "+";
-
description = "
-
Delimiter for address extension: so mail to user+test can be handled by ~user/.forward+test
-
";
};
virtual = mkOption {