sendmail milter support

Chuck Swiger cswiger at mac.com
Sun Apr 11 08:17:43 PDT 2004


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



More information about the freebsd-questions mailing list