Problem with sendmail update

Matthew Seaman matthew at FreeBSD.org
Fri Aug 3 08:41:14 UTC 2012


On 02/08/2012 16:07, Mervyn Passmore wrote:
> We've made & installed 8.14.5 and both the new and old versions seem to be
> installed and running according to PS. Whatever is starting sendmail is
> initiating the old version.

If you're replacing the system sendmail with the version from ports,
then you need to update /etc/mail/mailer.conf -- something like this:

# $FreeBSD: stable/9/etc/mail/mailer.conf 93858 2002-04-05 04:25:14Z
gshapiro $
#
# Execute the "real" sendmail program, named /usr/local/sbin/sendmail
#
sendmail	/usr/local/sbin/sendmail
send-mail	/usr/local/sbin/sendmail
mailq		/usr/local/sbin/sendmail
newaliases	/usr/local/sbin/sendmail
hoststat	/usr/local/sbin/sendmail
purgestat	/usr/local/sbin/sendmail

Also, don't confuse the version of the sendmail from the config file
with the version in the binary -- both of them show up in the SMTP banner:

% telnet localhost smtp
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 smtp.infracaninophile.co.uk ESMTP Sendmail 8.14.5/8.14.5; Fri, 3 Aug
2012 09:34:40 +0100 (BST)
                                               ^^^^^^^^^^^^^
The first one is the version of the binaries, the second is the
configuration version, which you can easily change by modifying the
DZ8.14.5 line in sendmail.cf

	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: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120803/2be97ec5/signature.pgp


More information about the freebsd-questions mailing list