Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Aug 2013 22:43:49 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD-Update + Sendmail
Message-ID:  <52016E15.1020507@FreeBSD.org>
In-Reply-To: <52016A8D.14552.95D18@lausts.acm.org>
References:  <5200FE0E.8506.5CB69E@lausts.acm.org>, <alpine.BSF.2.00.1308061113030.28510@io-tx.com> <52016A8D.14552.95D18@lausts.acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 06/08/2013 22:28, Thomas Laus wrote:
> I like the 'sendmail from ports' suggestion a little better.  Going this 
> route, I only need to make configuration changes to /etc/mail/mailer.conf 
> once.  All subsequent freebsd-update operations won't require rebuilding 
> sendmail and it's tools.  Any updates to the port version are covered by the 
> normal port update system.  Future updates to the port version only require a 
> 'make restart' in the /etc/mail directory after reviewing my .mc file for any 
> affected changes.

If you're using the ports version of sendmail, a handy tip is to add
this to /etc/make.conf:

SENDMAIL_CF_DIR=        /usr/local/share/sendmail/cf
MAKEMAP=                /usr/local/sbin/makemap

so you use a version of the sendmail M4 config bits that matches the
sendmail binary you're running, and you can use /etc/mail/Makefile to
generate and install the configs exactly as if you were using the base
system sendmail.

	Cheers,

	Matthew

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



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlIBbhwACgkQ8Mjk52CukIwSpACfb2KbVk79v8YXNPw1E0zW7YJO
6kwAnjWeuZ46zcSyty6Rz9wXkXWGS7+n
=OdLc
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52016E15.1020507>