Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2012 09:40:56 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: Problem with sendmail update
Message-ID:  <501B8E98.6060503@FreeBSD.org>
In-Reply-To: <5EC44BEE2F4B4E5684965E8A8DA6AA0A@kioskoffice>
References:  <5EC44BEE2F4B4E5684965E8A8DA6AA0A@kioskoffice>

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

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

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



--------------enigCACB2D1C6C76FA46B47E8AF6
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/

iEYEARECAAYFAlAbjp4ACgkQ8Mjk52CukIz3tQCdF5aZ8K5p8fn5z/OGl4mXBT5S
FKUAnRhL/RKkS0jBxZgqXLTQTdwHFbMp
=drsM
-----END PGP SIGNATURE-----

--------------enigCACB2D1C6C76FA46B47E8AF6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?501B8E98.6060503>