git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git send-email does not work with Google anymore?!

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Oct 6, 2017, 16:13 UTC
Message-ID
<878tgo6ypk.fsf@evledraar.booking.com>
In-Reply-To
<EC14D46D-61AB-4531-AE20-8C2B3F6B5A2A@gmail.com>
On Thu, Oct 05 2017, Lars Schneider jotted:
Show 26 quoted lines
> Hi,
>
> I used to use the Google SMTP server to send my patches to the list with
> the following config:
>
>     [sendemail]
>         smtpencryption = tls
>         smtpserver = smtp.gmail.com
>         smtpuser = larsxschneider@gmail.com
>         smtpserverport = 587
>         from = larsxschneider@gmail.com
>         chainreplyto = false
>         suppresscc = self
>
> Apparently that stopped working today. I get this error:
>
>     (mbox) Adding cc: Lars Schneider <larsxschneider@gmail.com> from line 'From: Lars Schneider <larsxschneider@gmail.com>'
>     Password for 'smtp://larsxschneider@gmail.com@smtp.gmail.com:587':
>     5.7.14 <https://accounts.google.com/signin/continue?...token...
>     5.7.14 ...> Please log in via your web browser and
>     5.7.14 then try again.
>     5.7.14  Learn more at
>     5.7.14  https://support.google.com/mail/answer/78754 ... - gsmtp
>
> Of couse I tried to log in via web browser etc. Does anyone else use
> Google as SMTP server? If yes, does it work for you?

It still works for me. Just sent myself an E-Mail now via git-send-email.

    Password for 'smtp://avarab@gmail.com@smtp.gmail.com:465':
    OK. Log says:
    Server: smtp.gmail.com
    [...]
    Result: 250
My settings are:
    [sendemail]
            smtpserver = smtp.gmail.com
            smtpEncryption = ssl
            smtpuser = avarab@gmail.com
            confirm = always

And my https://myaccount.google.com/apppasswords lists an app password.

If you see this E-Mail from me that means my local Exim instance (which also has an app password) is able to send E-Mail as well.

I have 2fa turned on on my Google account, I just have these app passwords for GMail.

Previous: Christian CouderNext: Dennis Kaarsemaker
Message 7 of 9 in “git send-email does not work with Google anymore?!”
  1. Lars SchneiderOct 5, 2017
  2. Paolo BonziniOct 5, 2017
  3. ankostisOct 5, 2017
  4. Paolo BonziniOct 5, 2017
  5. Kaartic SivaraamOct 6, 2017
  6. Christian CouderOct 6, 2017
  7. Ævar Arnfjörð BjarmasonOct 6, 2017
  8. Dennis KaarsemakerOct 23, 2017
  9. Lars SchneiderNov 17, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.