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

From: Martin Langhoff <>
Date: 2006-05-16 08:07:16
On 5/16/06, Junio C Hamano <> wrote:
> Ryan Anderson <> writes:
> > I think, in practice, that /usr/lib/sendmail will exist anywhere you hve
> > something running on port 25, at least on unixy machines.
> exim, postfix and friends?

/usr/sbin/sendmail is there for any current MTA, so if qmail, exim,
postfix, sendmail and all MTAs I can think of install a working
sendmail binary.

Newish desktop-targetted distros (and MacOSX) are leaning towards not
running an MTA on port 25 any more unless you ask them for it. They'll
do crontab-driven queue flushes, so the messages you feed to
/usr/sbin/sendmail will be sent a few minutes later.

That is why IMHO /usr/sbin/sendmail is a better default than
localhost:25, but I can live with either ;-)

> I used to know somebody who port-forwarded 25/tcp to central
> smtp server from smaller machines in her intranet installation,

I can understand that, but I think the changes in unixy distros
mentioned above make it unnecessary today.


To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at
Received on Tue May 16 08:07:58 2006

This archive was generated by hypermail 2.1.8 : 2006-05-16 08:08:20 EST