Date: Sat, 23 Dec 2000 20:24:28 -0600 From: "Scot W. Hetzel" <hetzels@westbend.net> To: "Leif Neland" <leif@neland.dk>, <freebsd-current@FreeBSD.ORG> Subject: Re: making sendmail with milter and sasl Message-ID: <001801c06d50$a49037a0$8dfee0d1@westbend.net> References: <01b401c06d3f$99f7e060$0e00a8c0@neland.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "Leif Neland" <leifn@neland.dk>
> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001801c06d50$a49037a0$8dfee0d1>
