From: "Leif Neland" <[EMAIL PROTECTED]>
> Can I make make world make sendmail with milter and sasl / smtp auth just
by
> adding to make.conf?
>
> If so, how?
>
Currently, you need to a patch to enable the building and installing of
libmilter, libsmutil, and the header files needed to build a Milter daemon.

I just sent PR 23811 that contains the patch to enable Milter on both STABLE
and CURRENT (minor fuzziness).

    http://www.freebsd.org/cgi/query-pr.cgi?pr=23811

So after applying the patch, add the following into your make.conf

# See security/cyrus-sasl/files/Sendmail.README
#
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL -D_FFR_UNSAFE_SASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl
#SENDMAIL_DPADD=
#
SENDMAIL_MILTER=        yes

I have also put this patch at:

ftp://www.westbend.net/pub/sendmail/milter.patch

When you build your milter daemons you can use either a shared  (-lmilter)
or a static (/usr/lib/libmilter.a) libmilter library.

    cc -I/usr/include/sendmail -o sample sample.c -lmilter
/usr/lib/libsmutil.a -pthread

After you build your milter daemons, you will need to create a shell script
that will start/stop the milter daemons.  This script needs to be placed in
PREFIX/etc/rc.milter (see src/lib/libmilter/sample.sh).

Scot W. Hetzel



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

Reply via email to