Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2004 11:17:11 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Spades <spades@galaxynet.org>
Cc:        freebsd Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: sendmail milter support
Message-ID:  <40796177.5040405@mac.com>
In-Reply-To: <01e301c41fbc$f7894e20$fa10fea9@bryanuptrvb0jc>
References:  <01e301c41fbc$f7894e20$fa10fea9@bryanuptrvb0jc>

next in thread | previous in thread | raw e-mail | index | archive | help
Spades wrote:
> how do i check if my sendmail 8.12.11 has milter support compiled?
> how should i install it via ports to have milter up?

"sendmail -d0.1" will list the options sendmail was compiled with.

If you want the OS-version of sendmail to include milter support, add lines 
resembling the following to /etc/make.conf and rebuild sendmail:

# sendmail
SENDMAIL_MC=    /etc/mail/sec.pkix.net.mc
SENDMAIL_CFLAGS+= -DMILTER -DSTARTTLS -DHASURANDOMDEV -DSASL2
SENDMAIL_CFLAGS+= -I/usr/local/include
SENDMAIL_LDFLAGS+= -L/usr/local/lib
SENDMAIL_LDADD+=-lsasl2 -lssl -lcrypto

-- 
-Chuck



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