mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 15:19:45 +01:00
baea46c5ac
The git-send-email [0] script uses StartTLS if `smtpEncryption` is set
to `tls`, which can break services that don't support StartTLS.
[0]: bd42bbe1a4/git-send-email.perl (L1533)
PR #1395
28 lines
668 B
Nix
28 lines
668 B
Nix
{ ... }:
|
|
|
|
{
|
|
accounts.email = {
|
|
maildirBasePath = "Mail";
|
|
|
|
accounts = {
|
|
"hm@example.com" = {
|
|
address = "hm@example.com";
|
|
userName = "home.manager";
|
|
realName = "H. M. Test";
|
|
passwordCommand = "password-command";
|
|
imap.host = "imap.example.com";
|
|
smtp.host = "smtp.example.com";
|
|
};
|
|
|
|
hm-account = {
|
|
address = "hm@example.org";
|
|
userName = "home.manager.jr";
|
|
realName = "H. M. Test Jr.";
|
|
passwordCommand = "password-command 2";
|
|
imap.host = "imap.example.org";
|
|
smtp.host = "smtp.example.org";
|
|
smtp.tls.useStartTls = true;
|
|
};
|
|
};
|
|
};
|
|
}
|