Mail(1) breaks when contrib/sendmail is replaced with postfix?

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Jul 13 02:19:14 PDT 2004


On Tue, Jul 13, 2004 at 12:57:21AM -0700, Darren Pilgrim wrote:

> /usr/bin/mail tries to run /usr/sbin/sendmail directly.  This probably isn't
> a good idea, since IIRC sendmail can now be package-ized and removed from
> the base system as well as excluded from buildworld.  This is what seems to
> be breaking the periodic script, since I get this error when running
> periodic:

Piping a message into /usr/sbin/sendmail is the standard Unix API for
sending e-mail.  You shouldn't remove it just because of the name
'sendmail'.

Despite the name, that is not the sendmail(8) binary on FreeBSD.  It's
a link to a wrapper program that substitutes which ever MTA (postfix,
exim, qmail, sendmail, etc.) you wish to use.

It's all explained in the mailwrapper(8) man page.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040713/8cc7e216/attachment.bin


More information about the freebsd-questions mailing list