1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-20 07:12:36 +00:00
home-manager/tests/modules/programs/git/git-with-msmtp-expected.conf
Vonfry 6f71acf71b
git: apply sendmailCmd instead of smtpServer (#6399)
In manpage of git-send-email --smtp-server,

    For backward compatibility, this option can also specify
    full pathname of a sendmail-like program instead; the program
    must support the -i option. This method does not support
    passing arguments or using plain command names. For those use
    cases, consider using --sendmail-cmd instead.
2025-03-04 22:46:31 +01:00

21 lines
462 B
Text

[gpg]
format = "openpgp"
[gpg "openpgp"]
program = "path-to-gpg"
[sendemail "hm-account"]
from = "H. M. Test Jr. <hm@example.org>"
smtpEncryption = "tls"
smtpServer = "smtp.example.org"
smtpSslCertPath = "/etc/ssl/certs/ca-certificates.crt"
smtpUser = "home.manager.jr"
[sendemail "hm@example.com"]
envelopeSender = "auto"
from = "H. M. Test <hm@example.com>"
sendmailCmd = "@msmtp@/bin/msmtp"
[user]
email = "hm@example.com"
name = "H. M. Test"