From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 02:36:01 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2236116A4B3 for ; Sat, 4 Oct 2003 02:36:01 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23DC143FEA for ; Sat, 4 Oct 2003 02:35:59 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h949Zl9E013580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Oct 2003 10:35:50 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h949ZlGS013579; Sat, 4 Oct 2003 10:35:47 +0100 (BST) (envelope-from matthew) Date: Sat, 4 Oct 2003 10:35:47 +0100 From: Matthew Seaman To: Noah Message-ID: <20031004093547.GA12179@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Noah , freebsd-questions@freebsd.org References: <20031003204612.M43235@enabled.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <20031003204612.M43235@enabled.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: building sendmail-sasl-8.12.10 problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2003 09:36:01 -0000 --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--