On Wednesday 13 November 2002 10:00 pm, Mike Loiterman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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.
> 
> I'm trying to add SMTP AUTH to my base installation of Sendmail
> installation without breaking anything!
> 
> 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:
> 
> # Add SMTP AUTH support to Sendmail
>     SENDMAIL_CFLAGS+=   -I/usr/local/include/sasl -DSASL
> - -D_FFR_UNSAFE_SASL
>     SENDMAIL_LDFLAGS+=  -L/usr/local/lib
>     SENDMAIL_LDADD+=    -lsasl
> 
> I did that.  
> 
> 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:
> 
This is how I do it:
In make.conf:
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL1
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-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 sendmail.


-- 
Anish Mistry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to