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

Re: "git send-email" thru Gmail incurs few minutes delay

From
JMJeff Merkey <linux.mdb@gmail.com>
Date
Feb 8, 2016, 00:42 UTC
Message-ID
<CAO6TR8UGwqtsXSoYkxgjMy34rrkHAFJ+ALf0ufSaA8uDrDmxqQ@mail.gmail.com>
In-Reply-To
<CAM_ZknWNZFxhz8ELf+sc1X3gO=H3F+GYuNkornhU9qouffj6Hw@mail.gmail.com>
On 2/7/16, Andrey Utkin <andrey.utkin@corp.bluecherry.net> wrote:
Show 27 quoted lines
> On Sun, Jan 3, 2016 at 3:52 PM, Andrey Utkin
> <andrey.utkin@corp.bluecherry.net> wrote:
>> After "Send this email? ([y]es|[n]o|[q]uit|[a]ll): y" prompt and
>> before "Password for 'smtp://XXX@gmail.com@smtp.gmail.com:587':"
>> prompt I always have a delay of 2-3 minutes. It is weird! "Unsafe
>> clients" are allowed in Gmail settings.
>> I experience this both with @gmail.com mailbox and with gmail-based
>> company domain mail.
>> I noticed this happening the first time several months ago.
>> Has anybody else experienced this? Any solution?
>> My git version is 2.6.4.
>
> Tested more with fresh git version 2.7.1.380.g0fea050 (from git's git)
>  # equery list '*' | grep -i smtp
> dev-perl/Net-SMTP-SSL-1.30.0
> mail-mta/ssmtp-2.64-r3
>
> It seems the delay is caused by git-send-email trying to resolve
> workstation's FQDN.
> When I add "smtpdomain = localhost.localdomain" to [sendmail] section
> in gitconfig, it proceeds immediately.
> The same behavior (including workaround case) happens with
> openmailbox.org and fastmail.com for me.
> BTW "smtpEncryption = tls" in gitconfig seems to mean STARTTLS, so
> using fastmail's TLS port 465 doesn't work at all, you need to use
> 587.
>
Try this page.  Some good gmail config info.
http://kernelnewbies.org/FirstKernelPatch
Jeff
Previous: Andrey UtkinNext: Andrey Utkin
Message 6 of 7 in “"git send-email" thru Gmail incurs few minutes delay”
  1. Andrey UtkinJan 3, 2016
  2. Jeff MerkeyJan 3, 2016
  3. Geert UytterhoevenJan 5, 2016
  4. Andrey UtkinJan 5, 2016
  5. Andrey UtkinFeb 8, 2016
  6. Jeff MerkeyFeb 8, 2016
  7. Andrey UtkinFeb 8, 2016

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.