Date: Sat, 4 Oct 2003 10:35:47 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Noah <admin2@enabled.com> Cc: freebsd-questions@freebsd.org Subject: Re: building sendmail-sasl-8.12.10 problems Message-ID: <20031004093547.GA12179@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20031003204612.M43235@enabled.com> References: <20031003204612.M43235@enabled.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Oct 03, 2003 at 12:46:12PM -0800, Noah wrote:
> FreeBSD 4.8-STABLE machine
>=20
> okay I just built sendmail-sasl version 8.12.10 from
> /usr/ports/mail/sendmail-sasl but my system is complaining that SASL supp=
ort
> is required. what am I doing wrong. why isnt SASL support being recogniz=
ed?
>=20
> sasl2 'PORTVERSION=3D 2.1.15' is in /usr/ports
>=20
> --- make stop && make start from /etc/mail ---
> # make start [/etc/mail]
> Starting: sendmailWarning: Option: AuthMechanisms requires SASL support (=
-DSASL)
> Warning: Option: AuthOptions requires SASL support (-DSASL)
> sendmail-clientmqueue.
> --- snip ----
Hmmm... Sounds like you're trying to start up the sendmail from the
base system but using the .mc/.cf files with all of the SASL stuff in
it.
Check the contents of /etc/mail/mailer.conf -- make sure you're
starting up the port version of sendmail, which will be
/usr/local/sbin/sendmail
Either that, or ditch the ports version of sendmail, and add the
following to your /etc/make.conf:
SENDMAIL_CFLAGS=3D-I/usr/local/include -DSASL=3D2
SENDMAIL_LDFLAGS=3D-L/usr/local/lib
SENDMAIL_LDADD=3D-lsasl2
plus install the the security/cyrus-sasl2 port. (Read the comments in
/etc/make.conf if you prefer to use SASLv1 -- setup is almost
identical) That will build you a SASL enabled sendmail from the base
system.
See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html
for details of setting up the base system with SASL-ized sendmail
using SASLv1. Same instructions work for SASLv2 if you make the
obvious substitutions.
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
--YiEDa0DAkWCtVeE4
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/fpRydtESqEQa7a0RAkt4AJ4j3Xwf9WjxYVJpsFDApBUyEwtbuQCfb08t
AV3tbRW35ZelKM4M8Jge8Fw=
=28HE
-----END PGP SIGNATURE-----
--YiEDa0DAkWCtVeE4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031004093547.GA12179>
