mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-11-11 19:39:16 +05:00
Merge branch 'eqyiel/nixos-mailserver-feat/make-lmtp_save_to_detail_mailbox-optional'
This commit is contained in:
commit
7788eccc24
10
default.nix
10
default.nix
@ -182,6 +182,16 @@ in
|
||||
default = {};
|
||||
};
|
||||
|
||||
lmptSaveToDetailMailbox = mkOption {
|
||||
type = types.enum ["yes" "no"];
|
||||
default = "yes";
|
||||
description = ''
|
||||
If an email address is delimited by a "+", should it be filed into a
|
||||
mailbox matching the string after the "+"? For example,
|
||||
user1+test@example.com would be filed into the mailbox "test".
|
||||
'';
|
||||
};
|
||||
|
||||
extraVirtualAliases = mkOption {
|
||||
type = types.loaOf (mkOptionType {
|
||||
name = "Login Account";
|
||||
|
@ -139,7 +139,7 @@ in
|
||||
}
|
||||
|
||||
recipient_delimiter = +
|
||||
lmtp_save_to_detail_mailbox = yes
|
||||
lmtp_save_to_detail_mailbox = ${cfg.lmptSaveToDetailMailbox}
|
||||
|
||||
protocol lmtp {
|
||||
mail_plugins = $mail_plugins sieve
|
||||
|
Loading…
Reference in New Issue
Block a user