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

Issues with git send-email and msmtp

From
RMRoger Pau Monné <royger@freebsd.org>
Date
Mar 21, 2017, 15:49 UTC
Message-ID
<20170321154921.3jgn4ktcop4shct2@dhcp-3-128.uk.xensource.com>
Hello,

I'm trying to use git send-email with msmtp, and I have added the following to my .gitconfig:

[sendemail]
	smtpserver = "/usr/local/bin/msmtp"

This seems to work fine, except that sometimes git dies unexpectedly after queuing a patch to msmtp:

Died at /usr/local/Cellar/git/2.12.0/libexec/git-core/git-send-email line 1350, <FIN> line 3.

I'm guessing there's some kind of race, because this is not 100% reproducible, sometimes succeeds while others simply dies with the above message. As you can imagine, this is specially annoying when sending patch series.

Has someone seen similar issues when using send-email and msmtp? Am I missing something in my .gitconfig?

Thanks, Roger.
(please keep me in the Cc since I'm not subscribed)
Next: Jeff King
Message 1 of 4 in “Issues with git send-email and msmtp”
  1. Roger Pau MonnéMar 21, 2017
  2. Jeff KingMar 21, 2017
  3. Eric WongMar 21, 2017
  4. Roger Pau MonnéMar 22, 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.