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.
This commit is contained in:
parent
e08074ff6d
commit
88f4b75a00
@ -88,7 +88,6 @@ in
|
|||||||
|
|
||||||
services.postfix = {
|
services.postfix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recipientDelimiter= "+";
|
|
||||||
extraMasterConf = ''
|
extraMasterConf = ''
|
||||||
mlmmj unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj}/bin/mlmmj-receive -F -L ${spoolDir}/$nextHop
|
mlmmj unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj}/bin/mlmmj-receive -F -L ${spoolDir}/$nextHop
|
||||||
'';
|
'';
|
||||||
|
@ -77,8 +77,6 @@ let
|
|||||||
smtpd_tls_key_file = ${cfg.sslKey}
|
smtpd_tls_key_file = ${cfg.sslKey}
|
||||||
|
|
||||||
smtpd_use_tls = yes
|
smtpd_use_tls = yes
|
||||||
|
|
||||||
recipientDelimiter = ${cfg.recipientDelimiter}
|
|
||||||
''
|
''
|
||||||
+ optionalString (cfg.virtual != "") ''
|
+ optionalString (cfg.virtual != "") ''
|
||||||
virtual_alias_maps = hash:/etc/postfix/virtual
|
virtual_alias_maps = hash:/etc/postfix/virtual
|
||||||
@ -291,14 +289,6 @@ in
|
|||||||
description = "SSL key to use.";
|
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 {
|
virtual = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
description = "
|
description = "
|
||||||
|
Loading…
Reference in New Issue
Block a user