FreeBSD-Update + Sendmail

Matthew Seaman matthew at FreeBSD.org
Tue Aug 6 21:44:02 UTC 2013


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 268 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130806/994d9978/attachment.sig>


More information about the freebsd-stable mailing list