Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 00:30:06 -0500
From:      Anish Mistry <mistry.7@osu.edu>
To:        mike@ascendency.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Recompiling Sendmail?
Message-ID:  <200211140030.06242.mistry.7@osu.edu>
In-Reply-To: <002c01c28b89$ff4cf850$0302a8c0@mike>
References:  <002c01c28b89$ff4cf850$0302a8c0@mike>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211140030.06242.mistry.7>