Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 21:00:25 -0600
From:      "Mike Loiterman" <mike@ascendency.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Recompiling Sendmail?
Message-ID:  <002c01c28b89$ff4cf850$0302a8c0@mike>

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

cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src
- -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -DNEWDB
- -DNIS -DNETINET6 -DTCPWRAPPERS -DMAP_REGEX -DSTARTTLS -D_FFR_TLS_O_T
- -D_FFR_TLS_1 -D_FFR_TLS_TOREK -I/usr/local/include/sasl -DSASL
- -D_FFR_UNSAFE_SASL     -L/usr/local/lib -o sendmail alias.o
arpadate.o bf_torek.o clock.o collect.o conf.o control.o convtime.o
daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o
map.o mci.o milter.o mime.o parseaddr.o queue.o readcf.o recipient.o
savemail.o sfsasl.o shmticklib.o srvrsmtp.o stab.o stats.o sysexits.o
timers.o trace.o udb.o usersmtp.o util.o version.o  -lutil -lwrap
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a -lssl
- -lcrypto -lsasl
cc: /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a: No
such file or directory
*** Error code 1

Forgive me if I included too much or too little.  I just grabbed a
big chunk and pasted it in, I don't know where the erroneous command
begins!

Is it even possible to do what I'm trying to do?  If so, what would
be the best way to recompile sendmail, with the needed options,
without breaking the existing installation.

Thanks.

...........................................
Randomly Generated Quote:
Never insult an alligator until you've     
crossed the river.                         

Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net



-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4
Comment: Message digitally signed by Mike Loiterman

iQA/AwUBPdMRyGjZbUnRudGOEQJtwQCeIufJqnpl43xiu4pyGTi97cETyRMAn3lk
UF5foYlF8Ly+Mws3WDdF9XvP
=lWEH
-----END PGP SIGNATURE-----


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?002c01c28b89$ff4cf850$0302a8c0>