diff options
author | Thanos Apollo <[email protected]> | 2023-04-27 17:43:53 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-04-27 17:43:53 +0300 |
commit | a62076ff2941d5c0be4407e4baa456b028833e06 (patch) | |
tree | cc8560e9e4f434a10bf590a78ab5939b1296fa41 | |
parent | 7cb1ca8280b8afdfb44d246b6fd1a42686964ee6 (diff) |
gitconfig: Update sendmail
Use credential helper to get smtp key through pass and customize
variables for sendmail
-rw-r--r-- | .gitconfig | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -5,4 +5,14 @@ [commit] gpgsign = true [format] - subjectPrefix = Patch git-send-email.io
\ No newline at end of file + subjectPrefix = PATCH +[sendemail] + from = Thanos Apollo <[email protected]> + smtpserver = smtp.fastmail.com + smtpuser = [email protected] + smtpencryption = ssl + smtpserverport = 465 + annotate = yes + +[credential "smtp://smtp.fastmail.com:465"]b + helper = "!f() { echo [email protected]; echo \"password=$(pass show fastmail.com/thanosapollo.com | sed -n '3p')\"; }; f"
\ No newline at end of file |