Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2012 19:39:55 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Walter Hurry <walterhurry@gmail.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Sendmail and Postfix
Message-ID:  <4FE4BBFB.4080107@FreeBSD.org>
In-Reply-To: <js2cuq$hs4$1@dough.gmane.org>
References:  <js2cuq$hs4$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF4CA07D129E050A0B478F38A
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 22/06/2012 19:19, Walter Hurry wrote:
> It seems that Sendmail is embedded somehow in the base system. What is =

> the 'approved' way to get rid of /usr/bin/mailq? Or better, remove=20
> Sendmail?

You don't need to remove the base system sendmail.  All you need to do
is set up /etc/mail/mailer.conf properly -- and installing the postfix
port should do that for you -- and then any reference to
/usr/sbin/sendmail, /usr/bin/mailq, usr/bin/hoststat etc. will run
postfix instead.  It's really very nicely done.

See mailer.conf(5)

	Cheers,

	Matthew

PS. Alright, yes.  You can prevent sendmail from being built as part of
the base system by defining 'WITHOUT_SENDMAIL=3Dyes' in /etc/src.conf, bu=
t
this supposes that you want to build the system yourself, rather than
using, say, freebsd-update(8).  See src.conf(5) and read in
/usr/src/UPDATING and the Handbook about the procedure for building the
system from source.

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




--------------enigF4CA07D129E050A0B478F38A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/kvAIACgkQ8Mjk52CukIyWgQCfQ/ITM+/YJDXFoLyaEiWwY5Ij
LdIAn1V2VJkUCUYLQZUE49oO93nMRVT1
=tKr+
-----END PGP SIGNATURE-----

--------------enigF4CA07D129E050A0B478F38A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE4BBFB.4080107>