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

2016-02-07 Thread Andrey Utkin
On Mon, Feb 8, 2016 at 2:42 AM, Jeff Merkey  wrote:
> Try this page.  Some good gmail config info.
>
> http://kernelnewbies.org/FirstKernelPatch
>
> Jeff

Thanks Jeff, but I believe there's nothing new for me. I have
successfully sent my first kernel patch a long time ago.
Also my gitconfig sendemail section follows exactly the gmail-based
example from git-send-email manpage.

-- 
Bluecherry developer.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2016-02-07 Thread Andrey Utkin
On Sun, Jan 3, 2016 at 3:52 PM, Andrey Utkin
 wrote:
> After "Send this email? ([y]es|[n]o|[q]uit|[a]ll): y" prompt and
> before "Password for 'smtp://x...@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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2016-01-05 Thread Andrey Utkin
On Tue, Jan 5, 2016 at 1:27 PM, Geert Uytterhoeven  wrote:
> Does it work better if you store the (preferably app-specific) password in
> smtppass in .gitconfig?

No.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2016-01-03 Thread Andrey Utkin
After "Send this email? ([y]es|[n]o|[q]uit|[a]ll): y" prompt and
before "Password for 'smtp://x...@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.

-- 
Bluecherry developer.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html