From: Martin Langhoff Date: Mon, 15 May 2006 10:37:18 GMT Subject: Re: [PATCH] send-email: allow sendmail binary to be used instead of SMTP Message-ID: <46a038f90605150337l3357ce3by22834823eee7b87c@mail.gmail.com> In-Reply-To: <20060515101142.GD6855@localdomain> On 5/15/06, Eric Wong wrote: > Junio C Hamano 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