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

Re: [PATCH] post-receive-email: do not call sendmail if no mail was generated

From
Lars Noschinski <lars@public.noschinski.de>
Date
Sep 8, 2009, 09:20 UTC
Message-ID
<20090908092059.GA8207@lars.home.noschinski.de>
In-Reply-To
<1251481187-6361-1-git-send-email-lars@public.noschinski.de>
* Lars Noschinski <lars@public.noschinski.de> [09-08-28 19:39]:
Show 9 quoted lines
> contrib/hooks/post-receive-email used to call the send_mail function
> (and thus, /usr/sbin/sendmail), even if generate_mail returned an error.
> This is problematic, as the sendmail binary provided by exim4 generates
> an error mail if provided with an empty input.
> 
> Therefore, this commit changes post-receive-email to only call sendmail
> if generate_mail returned without error.
> 
> Signed-off-by: Lars Noschinski <lars@public.noschinski.de>

Is anything wrong with this patch? Or is it just queued to be committed some time?

 - Lars.
Previous: Lars NoschinskiNext: Junio C Hamano
Message 2 of 3 in “post-receive-email: do not call sendmail if no mail was generated”
  1. post-receive-email: do not call sendmail if no mail was generatedLars Noschinski, Aug 28, 2009
  2. Lars NoschinskiSep 8, 2009
  3. Junio C HamanoSep 8, 2009

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.