From a62076ff2941d5c0be4407e4baa456b028833e06 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 27 Apr 2023 17:43:53 +0300 Subject: gitconfig: Update sendmail Use credential helper to get smtp key through pass and customize variables for sendmail --- .gitconfig | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 + smtpserver = smtp.fastmail.com + smtpuser = public@thanosapollo.com + smtpencryption = ssl + smtpserverport = 465 + annotate = yes + +[credential "smtp://smtp.fastmail.com:465"]b + helper = "!f() { echo username=public@thanosapollo.com; echo \"password=$(pass show fastmail.com/thanosapollo.com | sed -n '3p')\"; }; f" \ No newline at end of file -- cgit v1.2.3