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

Re: [PATCH] send-email: allow sendmail binary to be used instead of SMTP

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
May 15, 2006, 10:37 UTC
Message-ID
<46a038f90605150337l3357ce3by22834823eee7b87c@mail.gmail.com>
In-Reply-To
<20060515101142.GD6855@localdomain>
On 5/15/06, Eric Wong <normalperson@yhbt.net> wrote:
Show 11 quoted lines
> Junio C Hamano <junkio@cox.net> wrote:
> > I am not opposed to have an option to run a local submission
> > agent binary (I said I like that if(){}else{} there, didn't I?).
> > The ability to do so is a good thing.  I am not however sure
> > about changing the default when no option is specified on the
> > command line.
>
> By "I believe this is what Martin wanted", I meant changing the default to
> sendmail: <46a038f90604271804j195d62f3x93ae816e809f4ffd@mail.gmail.com>
>
>         > Oh, it should just work with sendmail if it's there and we don't

Thanks Eric! git-send-email used to default to using local binaries. It was only with the switch to Net::SMTP that the default changed to localhost:25. IMHO the developer's machine is more likely to have a working /usr/sbin/sendmail than an SMTP server (specially looking at current linux desktop configurations).

OTOH, as long as I can override it to use sendmail, it's all good.
martin
Previous: Eric WongNext: Junio C Hamano
Message 11 of 17 in “send-email: allow sendmail binary to be used instead of SMTP”
  1. send-email: allow sendmail binary to be used instead of SMTPEric Wong, May 15, 2006
  2. Eric WongMay 15, 2006
  3. send-email: quiet some warningsEric Wong, May 15, 2006
  4. Junio C HamanoMay 15, 2006
  5. send-email: quiet some warnings, reject invalid addressesEric Wong, May 15, 2006
  6. Junio C HamanoMay 15, 2006
  7. Eric WongMay 15, 2006
  8. send-email: allow sendmail binary to be used instead of SMTPEric Wong, May 15, 2006
  9. Junio C HamanoMay 15, 2006
  10. Eric WongMay 15, 2006
  11. Martin LanghoffMay 15, 2006
  12. Junio C HamanoMay 15, 2006
  13. Eric WongMay 15, 2006
  14. Ryan AndersonMay 15, 2006
  15. Junio C HamanoMay 15, 2006
  16. Ryan AndersonMay 15, 2006
  17. Martin LanghoffMay 15, 2006

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.