From: Imran Iqbal <imran@imraniqbal.org>
To: Lucy Coleclough <coleclough.lucy@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Setting up gmail for git send-email
Date: Wed, 29 May 2024 23:21:21 -0400 [thread overview]
Message-ID: <qkbez7v3sxjcbfaounmalcf5brrm7rjwg2hh4aen2n4uwlrpdq@hc2hhazgem44> (raw)
In-Reply-To: <61c06fbe-6a3a-13a0-e6b8-e595c2762c12@gmail.com>
> I am unsure if my reply on debuggs was sent, i am yet to get a email address
> that supports git send-email,
> Also if anyone sees this and has an invite to riseup email service ( should
> the service be capable of handling another stranger) then please may i have
> a invite?, google sux
I know that this is not the main point of your email (hence changing the
subject), but I would like to chime in on how I get my gmail to work git
send-email. The easiest way is to just have it use another program. In
my case I use msmtp.
In your ~/.gitconfig:
--8<---------------cut here---------------start------------->8---
[sendemail]
smtpserver = /usr/bin/msmtp
smtpserveroption = -a
smtpserveroption = gmail
--8<---------------cut here---------------end--------------->8---
For ~/.msmtp
--8<---------------cut here---------------start------------->8---
defaults
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log
# Gmail
account gmail
host smtp.gmail.com
port 465
tls_starttls off
from username@gmail.com
user username@gmail.com
passwordeval "pass username@gmail.com"
--8<---------------cut here---------------end--------------->8---
The actual password that you put in your password manager in this case
would be an app password [0].
This setup works for me for a bunch of different email accounts across
gmail/live/ymail
[0] https://support.google.com/accounts/answer/185833?hl=en
next prev parent reply other threads:[~2024-05-30 3:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-22 14:38 Kitty terminal new package, symlink problem Lucy Coleclough
2024-05-30 3:21 ` Imran Iqbal [this message]
2024-05-30 8:25 ` Setting up gmail for git send-email Philip McGrath
2024-05-30 10:15 ` lucy
2024-05-30 10:15 ` lucy
2024-05-31 13:23 ` pinoaffe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=qkbez7v3sxjcbfaounmalcf5brrm7rjwg2hh4aen2n4uwlrpdq@hc2hhazgem44 \
--to=imran@imraniqbal.org \
--cc=coleclough.lucy@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.