From owner-freebsd-questions Wed Nov 13 21:30: 5 2002 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 AD02B37B404 for ; Wed, 13 Nov 2002 21:30:02 -0800 (PST) Received: from srv2.resnet.ohio-state.edu (srv2.resnet.ohio-state.edu [164.107.3.56]) by mx1.FreeBSD.org (Postfix) with SMTP id 8DB1543E3B for ; Wed, 13 Nov 2002 21:30:00 -0800 (PST) (envelope-from mistry.7@osu.edu) Received: (qmail 2280 invoked by uid 506); 14 Nov 2002 05:39:46 -0000 Received: from mistry.7@osu.edu by srv2.resnet.ohio-state.edu by uid 503 with qmail-scanner-1.14 ( Clear:. Processed in 0.018546 secs); 14 Nov 2002 05:39:46 -0000 Received: from rdrt-164-107-204-107.resnet.ohio-state.edu (HELO bigguy.am-productions.biz) (164.107.204.107) by srv2.resnet.ohio-state.edu with SMTP; 14 Nov 2002 05:39:46 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Anish Mistry To: mike@ascendency.net Subject: Re: Recompiling Sendmail? Date: Thu, 14 Nov 2002 00:30:06 -0500 User-Agent: KMail/1.4.3 References: <002c01c28b89$ff4cf850$0302a8c0@mike> In-Reply-To: <002c01c28b89$ff4cf850$0302a8c0@mike> Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211140030.06242.mistry.7@osu.edu> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday 13 November 2002 10:00 pm, Mike Loiterman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > I suppose this might be better suited to the comp.mail.sendmail, but > I'm posting it here because I believe my error is ultimately rooted > in my use faulty use of FreeBSD rather then incorrect use of > Sendmail. >=20 > I'm trying to add SMTP AUTH to my base installation of Sendmail > installation without breaking anything! >=20 > I installed cyrus-sasl without any problems. > Now I need to add, according to the Sendmail.readme included with the > cyrus-sasl, the following lines to my /etc/make.conf file: >=20 > # Add SMTP AUTH support to Sendmail > SENDMAIL_CFLAGS+=3D -I/usr/local/include/sasl -DSASL > - -D_FFR_UNSAFE_SASL > SENDMAIL_LDFLAGS+=3D -L/usr/local/lib > SENDMAIL_LDADD+=3D -lsasl >=20 > I did that. =20 >=20 > Now the README says I need to "Rebuild FreeBSD". I thought there > would be a way around rebuilding the entire world when I just need to > rebuild Sendmail so I tried going into /usr/src/usr.sbin/sendmail > and did a "make all install" but I got this error: >=20 This is how I do it: In make.conf: SENDMAIL_CFLAGS=3D-I/usr/local/include/sasl -DSASL1 SENDMAIL_LDFLAGS=3D-L/usr/local/lib SENDMAIL_LDADD=3D-lsasl from a shell: cd /usr/src/usr.sbin/sendmail make cleandir make obj make make install then set your .mc file stuff, create a new sendmail.cf, and restart sendm= ail. --=20 Anish Mistry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message