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

Re: [PATCH] send-mail: Add option to sleep between sending each email.

From
Georgi Chorbadzhiyski <gf@unixsol.org>
Date
Sep 8, 2011, 09:11 UTC
Message-ID
<4E6886B8.8080902@unixsol.org>
In-Reply-To
<CALkWK0kH+pD6ymtt9oWLhT0Bftp4EvtrwTtNVw6mjX0aObb-BQ@mail.gmail.com>
Around 09/08/2011 11:43 AM, Ramkumar Ramachandra scribbled:
Show 24 quoted lines
> Hi Georgi,
> 
> Georgi Chorbadzhiyski writes:
>> Sometimes when sending lots of changes it is not nice
>> to send emails as fast as possible. Of course you can
>> confirm each email after waiting couple of seconds but
>> this is not optimal. This patch adds --sleep option
>> to git-send-mail and corresponding sendmail.sleep config
>> variable to control how much seconds to wait between
>> sending each email. The default is 0 (not wait at all).
> 
> I use git-send-email a lot, and I ask it to print out the list of all
> emails once before confirming.  After confirming, I just switch back
> to Emacs and continue work- in the many instances, I've never actually
> needed to slow the process down.  If anything, I wished it could
> concurrently send many emails and do things /faster/ *.   I'm a little
> curious about why you want to slow it down- is your SMTP server
> configured to block you because it suspects that you're trying to
> spam?
> 
> Thanks.
> 
> * I first need to see if SMTP servers today can take in emails at this
> speed without suspecting spam.

It is not the mail server, it is workaround mainly for web archives and MUAs that look at received dates when sorting threads.

When they receive a lot of email in one thread very quickly (and out of order) they do not thread correctly.

See for example this: http://mailman.videolan.org/pipermail/dvblast-devel/2011-August/thread.html The thread named: [dvblast-devel] [PATCH 0/4] Post git migration changes See how 1,3,4/4 are not detected to be part of the thread even when all headers are set correctly by git-send-email.

Probably my mail server send them out of order and that is why I have the idea to introduce some small delay between sending each email. Easier on the MTA, works around the possibility to send emails out of order the flip side is that it takes more time.

-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/
Previous: Ramkumar Ramachandra
Message 17 of 17 in “send-mail: Add option to sleep between sending each email.”
  1. send-mail: Add option to sleep between sending each email.Georgi Chorbadzhiyski, Sep 7, 2011
  2. Ramkumar RamachandraSep 8, 2011
  3. Matthieu MoySep 8, 2011
  4. Ramkumar RamachandraSep 8, 2011
  5. Ramkumar RamachandraSep 8, 2011
  6. Ramkumar RamachandraSep 8, 2011
  7. Georgi ChorbadzhiyskiSep 8, 2011
  8. Matthieu MoySep 8, 2011
  9. Georgi ChorbadzhiyskiSep 8, 2011
  10. Georgi ChorbadzhiyskiSep 8, 2011
  11. Jakub NarebskiOct 3, 2011
  12. Georgi ChorbadzhiyskiSep 8, 2011
  13. Junio C HamanoSep 8, 2011
  14. Matthieu MoySep 8, 2011
  15. mfwitten@gmail.comSep 9, 2011
  16. Ramkumar RamachandraSep 12, 2011
  17. Georgi ChorbadzhiyskiSep 8, 2011

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.