summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-04-27 17:43:53 +0300
committerThanos Apollo <[email protected]>2023-04-27 17:43:53 +0300
commita62076ff2941d5c0be4407e4baa456b028833e06 (patch)
treecc8560e9e4f434a10bf590a78ab5939b1296fa41 /.gitconfig
parent7cb1ca8280b8afdfb44d246b6fd1a42686964ee6 (diff)
gitconfig: Update sendmail
Use credential helper to get smtp key through pass and customize variables for sendmail
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig12
1 files changed, 11 insertions, 1 deletions
diff --git a/.gitconfig b/.gitconfig
index cf20d7b..8df5faa 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -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