{"thread":{"id":"41110","subject":"\"git send-email\" thru Gmail incurs few minutes delay","startedAt":"2016-01-03T13:52:12Z","lastAt":"2016-02-08T03:15:55Z","messageCount":7,"participants":["Andrey Utkin","Jeff Merkey","Geert Uytterhoeven"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"275274","messageId":"CAM_ZknWuOSbQcGvXaCDUKAJX7hR5FxJO3a8axPYS4ekyRiczCQ@mail.gmail.com","threadId":"41110","inReplyTo":null,"subject":"\"git send-email\" thru Gmail incurs few minutes delay","fromName":"Andrey Utkin","fromEmail":"andrey.utkin@corp.bluecherry.net","sentAt":"2016-01-03T13:52:12Z","receivedAt":"2016-01-03T13:52:12Z","isPatch":false,"sender":{"key":"andrey.utkin@corp.bluecherry.net","avatar":null},"body":"After \"Send this email? ([y]es|[n]o|[q]uit|[a]ll): y\" prompt and\nbefore \"Password for 'smtp://XXX@gmail.com@smtp.gmail.com:587':\"\nprompt I always have a delay of 2-3 minutes. It is weird! \"Unsafe\nclients\" are allowed in Gmail settings.\nI experience this both with @gmail.com mailbox and with gmail-based\ncompany domain mail.\nI noticed this happening the first time several months ago.\nHas anybody else experienced this? Any solution?\nMy git version is 2.6.4.\n\n-- \nBluecherry developer.\n"},{"id":"275276","messageId":"CAO6TR8UzKR=cXu-bgf4HfBwNKrmMx-Ucha-nHUA3ranw2AoxgA@mail.gmail.com","threadId":"41110","inReplyTo":"CAM_ZknWuOSbQcGvXaCDUKAJX7hR5FxJO3a8axPYS4ekyRiczCQ@mail.gmail.com","subject":"Re: \"git send-email\" thru Gmail incurs few minutes delay","fromName":"Jeff Merkey","fromEmail":"linux.mdb@gmail.com","sentAt":"2016-01-03T15:59:14Z","receivedAt":"2016-01-03T15:59:14Z","isPatch":false,"sender":{"key":"linux.mdb@gmail.com","avatar":null},"body":"On 1/3/16, Andrey Utkin <andrey.utkin@corp.bluecherry.net> wrote:\n> After \"Send this email? ([y]es|[n]o|[q]uit|[a]ll): y\" prompt and\n> before \"Password for 'smtp://XXX@gmail.com@smtp.gmail.com:587':\"\n> prompt I always have a delay of 2-3 minutes. It is weird! \"Unsafe\n> clients\" are allowed in Gmail settings.\n> I experience this both with @gmail.com mailbox and with gmail-based\n> company domain mail.\n> I noticed this happening the first time several months ago.\n> Has anybody else experienced this? Any solution?\n> My git version is 2.6.4.\n>\n> --\n\n\nYes. I see it.  It's the gmail smtp gateway but 3 minutes is short, I\nam seeing longer.  It's gmail not git.\n\nJeff\n\n\n> Bluecherry developer.\n> --\n> To unsubscribe from this list: send the line \"unsubscribe linux-kernel\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n> Please read the FAQ at  http://www.tux.org/lkml/\n>\n"},{"id":"275371","messageId":"CAMuHMdUZf2CLyzWVr+KUcgALejWpgEhUt1DMDBg614bKbFEXZw@mail.gmail.com","threadId":"41110","inReplyTo":"CAM_ZknWuOSbQcGvXaCDUKAJX7hR5FxJO3a8axPYS4ekyRiczCQ@mail.gmail.com","subject":"Re: \"git send-email\" thru Gmail incurs few minutes delay","fromName":"Geert Uytterhoeven","fromEmail":"geert@linux-m68k.org","sentAt":"2016-01-05T11:27:05Z","receivedAt":"2016-01-05T11:27:05Z","isPatch":false,"sender":{"key":"geert@linux-m68k.org","avatar":"https://gravatar.com/avatar/8105b34f653a7b5b98e225e565b11ebcc762ad4ab1a9d905a4663db029a9e6bc?d=mp&s=160"},"body":"On Sun, Jan 3, 2016 at 2:52 PM, Andrey Utkin\n<andrey.utkin@corp.bluecherry.net> wrote:\n> After \"Send this email? ([y]es|[n]o|[q]uit|[a]ll): y\" prompt and\n> before \"Password for 'smtp://XXX@gmail.com@smtp.gmail.com:587':\"\n> prompt I always have a delay of 2-3 minutes. It is weird! \"Unsafe\n> clients\" are allowed in Gmail settings.\n> I experience this both with @gmail.com mailbox and with gmail-based\n> company domain mail.\n> I noticed this happening the first time several months ago.\n> Has anybody else experienced this? Any solution?\n> My git version is 2.6.4.\n\nDoes it work better if you store the (preferably app-specific) password in\nsmtppass in .gitconfig?\n\nGr{oetje,eeting}s,\n\n                        Geert\n\n--\nGeert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org\n\nIn personal conversations with technical people, I call myself a hacker. But\nwhen I'm talking to journalists I just say \"programmer\" or something like that.\n                                -- Linus Torvalds\n"},{"id":"275381","messageId":"CAM_ZknX6m1UBrMyzovhRAODMzJxBD+gk86+6fmnDJLK6PwgokA@mail.gmail.com","threadId":"41110","inReplyTo":"CAMuHMdUZf2CLyzWVr+KUcgALejWpgEhUt1DMDBg614bKbFEXZw@mail.gmail.com","subject":"Re: \"git send-email\" thru Gmail incurs few minutes delay","fromName":"Andrey Utkin","fromEmail":"andrey.utkin@corp.bluecherry.net","sentAt":"2016-01-05T15:41:41Z","receivedAt":"2016-01-05T15:41:41Z","isPatch":false,"sender":{"key":"andrey.utkin@corp.bluecherry.net","avatar":null},"body":"On Tue, Jan 5, 2016 at 1:27 PM, Geert Uytterhoeven <geert@linux-m68k.org> wrote:\n> Does it work better if you store the (preferably app-specific) password in\n> smtppass in .gitconfig?\n\nNo.\n"},{"id":"277704","messageId":"CAM_ZknWNZFxhz8ELf+sc1X3gO=H3F+GYuNkornhU9qouffj6Hw@mail.gmail.com","threadId":"41110","inReplyTo":"CAM_ZknWuOSbQcGvXaCDUKAJX7hR5FxJO3a8axPYS4ekyRiczCQ@mail.gmail.com","subject":"Re: \"git send-email\" thru Gmail incurs few minutes delay","fromName":"Andrey Utkin","fromEmail":"andrey.utkin@corp.bluecherry.net","sentAt":"2016-02-08T00:22:50Z","receivedAt":"2016-02-08T00:22:50Z","isPatch":false,"sender":{"key":"andrey.utkin@corp.bluecherry.net","avatar":null},"body":"On Sun, Jan 3, 2016 at 3:52 PM, Andrey Utkin\n<andrey.utkin@corp.bluecherry.net> wrote:\n> After \"Send this email? ([y]es|[n]o|[q]uit|[a]ll): y\" prompt and\n> before \"Password for 'smtp://XXX@gmail.com@smtp.gmail.com:587':\"\n> prompt I always have a delay of 2-3 minutes. It is weird! \"Unsafe\n> clients\" are allowed in Gmail settings.\n> I experience this both with @gmail.com mailbox and with gmail-based\n> company domain mail.\n> I noticed this happening the first time several months ago.\n> Has anybody else experienced this? Any solution?\n> My git version is 2.6.4.\n\nTested more with fresh git version 2.7.1.380.g0fea050 (from git's git)\n # equery list '*' | grep -i smtp\ndev-perl/Net-SMTP-SSL-1.30.0\nmail-mta/ssmtp-2.64-r3\n\nIt seems the delay is caused by git-send-email trying to resolve\nworkstation's FQDN.\nWhen I add \"smtpdomain = localhost.localdomain\" to [sendmail] section\nin gitconfig, it proceeds immediately.\nThe same behavior (including workaround case) happens with\nopenmailbox.org and fastmail.com for me.\nBTW \"smtpEncryption = tls\" in gitconfig seems to mean STARTTLS, so\nusing fastmail's TLS port 465 doesn't work at all, you need to use\n587.\n"},{"id":"277705","messageId":"CAO6TR8UGwqtsXSoYkxgjMy34rrkHAFJ+ALf0ufSaA8uDrDmxqQ@mail.gmail.com","threadId":"41110","inReplyTo":"CAM_ZknWNZFxhz8ELf+sc1X3gO=H3F+GYuNkornhU9qouffj6Hw@mail.gmail.com","subject":"Re: \"git send-email\" thru Gmail incurs few minutes delay","fromName":"Jeff Merkey","fromEmail":"linux.mdb@gmail.com","sentAt":"2016-02-08T00:42:45Z","receivedAt":"2016-02-08T00:42:45Z","isPatch":false,"sender":{"key":"linux.mdb@gmail.com","avatar":null},"body":"On 2/7/16, Andrey Utkin <andrey.utkin@corp.bluecherry.net> wrote:\n> On Sun, Jan 3, 2016 at 3:52 PM, Andrey Utkin\n> <andrey.utkin@corp.bluecherry.net> wrote:\n>> After \"Send this email? ([y]es|[n]o|[q]uit|[a]ll): y\" prompt and\n>> before \"Password for 'smtp://XXX@gmail.com@smtp.gmail.com:587':\"\n>> prompt I always have a delay of 2-3 minutes. It is weird! \"Unsafe\n>> clients\" are allowed in Gmail settings.\n>> I experience this both with @gmail.com mailbox and with gmail-based\n>> company domain mail.\n>> I noticed this happening the first time several months ago.\n>> Has anybody else experienced this? Any solution?\n>> My git version is 2.6.4.\n>\n> Tested more with fresh git version 2.7.1.380.g0fea050 (from git's git)\n>  # equery list '*' | grep -i smtp\n> dev-perl/Net-SMTP-SSL-1.30.0\n> mail-mta/ssmtp-2.64-r3\n>\n> It seems the delay is caused by git-send-email trying to resolve\n> workstation's FQDN.\n> When I add \"smtpdomain = localhost.localdomain\" to [sendmail] section\n> in gitconfig, it proceeds immediately.\n> The same behavior (including workaround case) happens with\n> openmailbox.org and fastmail.com for me.\n> BTW \"smtpEncryption = tls\" in gitconfig seems to mean STARTTLS, so\n> using fastmail's TLS port 465 doesn't work at all, you need to use\n> 587.\n>\n\nTry this page.  Some good gmail config info.\n\nhttp://kernelnewbies.org/FirstKernelPatch\n\nJeff\n"},{"id":"277708","messageId":"CAM_ZknUrVOyCdM32qbxOD_JVfKoqUdeo5Hywyxo3b1KfG=XhEQ@mail.gmail.com","threadId":"41110","inReplyTo":"CAO6TR8UGwqtsXSoYkxgjMy34rrkHAFJ+ALf0ufSaA8uDrDmxqQ@mail.gmail.com","subject":"Re: \"git send-email\" thru Gmail incurs few minutes delay","fromName":"Andrey Utkin","fromEmail":"andrey.utkin@corp.bluecherry.net","sentAt":"2016-02-08T03:15:55Z","receivedAt":"2016-02-08T03:15:55Z","isPatch":false,"sender":{"key":"andrey.utkin@corp.bluecherry.net","avatar":null},"body":"On Mon, Feb 8, 2016 at 2:42 AM, Jeff Merkey <linux.mdb@gmail.com> wrote:\n> Try this page.  Some good gmail config info.\n>\n> http://kernelnewbies.org/FirstKernelPatch\n>\n> Jeff\n\nThanks Jeff, but I believe there's nothing new for me. I have\nsuccessfully sent my first kernel patch a long time ago.\nAlso my gitconfig sendemail section follows exactly the gmail-based\nexample from git-send-email manpage.\n\n-- \nBluecherry developer.\n"}]}