home-manager/tests/modules/programs/git/git-with-email-expected.conf
Andrew Fontaine baea46c5ac
git: set SSL if useStartTls is false
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
2020-08-13 21:36:31 +02:00

16 lines
331 B
Plaintext

[sendemail "hm-account"]
from = "hm@example.org"
smtpEncryption = "tls"
smtpServer = "smtp.example.org"
smtpUser = "home.manager.jr"
[sendemail "hm@example.com"]
from = "hm@example.com"
smtpEncryption = "ssl"
smtpServer = "smtp.example.com"
smtpUser = "home.manager"
[user]
email = "hm@example.com"
name = "H. M. Test"