mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
msmtp: allow sending email from aliased addresses
This commit is contained in:
committed by
Robert Helgesson
parent
7b512c94ff
commit
f9a35cacdc
@@ -28,9 +28,12 @@ let
|
||||
tls_trust_file = smtp.tls.certificatesFile;
|
||||
} // optionalAttrs (passwordCommand != null) {
|
||||
passwordeval = toString passwordCommand;
|
||||
} // msmtp.extraConfig) ++ optional primary ''
|
||||
} // msmtp.extraConfig) ++ optional primary "account default : ${name}"
|
||||
++ map (alias: ''
|
||||
|
||||
account default : ${name}'');
|
||||
account ${alias} : ${name}
|
||||
from ${alias}
|
||||
'') aliases);
|
||||
|
||||
configFile = mailAccounts: ''
|
||||
# Generated by Home Manager.
|
||||
|
||||
Reference in New Issue
Block a user