all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: lucy <coleclough.lucy@gmail.com>
To: Imran Iqbal <imran@imraniqbal.org>
Cc: guix-devel@gnu.org
Subject: Re: Setting up gmail for git send-email
Date: Thu, 30 May 2024 11:15:00 +0100	[thread overview]
Message-ID: <e3050e04-ee81-c22d-f246-6edda800b1d8@gmail.com> (raw)
In-Reply-To: <qkbez7v3sxjcbfaounmalcf5brrm7rjwg2hh4aen2n4uwlrpdq@hc2hhazgem44>

Hello thank you for the response
A issue for me was the need for 2fa, but thankfully the sendgmail approach seems to work without that by using a gmail dev api setup.
All the best

On 30/05/2024 04:21, Imran Iqbal wrote:
>> 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


  parent reply	other threads:[~2024-05-30 10:15 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 ` Setting up gmail for git send-email Imran Iqbal
2024-05-30  8:25   ` Philip McGrath
2024-05-30 10:15     ` lucy
2024-05-30 10:15   ` lucy [this message]
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=e3050e04-ee81-c22d-f246-6edda800b1d8@gmail.com \
    --to=coleclough.lucy@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=imran@imraniqbal.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.