aa479b0124
If a user using msmtp to send all their email, it would be preferred if git used it as well. The only settings necessary are to set the smtp server to the msmtp binary and set envelop sender to true, which makes git call msmtp with the -f flag to set the from address from the email.
15 lines
304 B
Plaintext
15 lines
304 B
Plaintext
[sendemail "hm-account"]
|
|
from = "hm@example.org"
|
|
smtpEncryption = "tls"
|
|
smtpServer = "smtp.example.org"
|
|
smtpUser = "home.manager.jr"
|
|
|
|
[sendemail "hm@example.com"]
|
|
envelopeSender = true
|
|
from = "hm@example.com"
|
|
smtpServer = "@msmtp@/bin/msmtp"
|
|
|
|
[user]
|
|
email = "hm@example.com"
|
|
name = "H. M. Test"
|