Custom Sendmail through /etc/make.conf

Chuck Swiger cswiger at mac.com
Tue Aug 2 04:19:09 GMT 2005


Dan Mahoney, System Admin wrote:

> Hey all...
> 
> I'm building a new box and thinking I'd like to stick with the "base" 
> sendmail instead of building my own as I've traditionally been doing.
> 
> Here is my devtools/Site/site.config.m4 file
> APPENDDEF(`confENVDEF', `-DSASL -DNETINET6')
> APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')
> APPENDDEF(`confINCDIRS', `-I/usr/local/include')
> APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER -DSTARTTLS')
> APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ')
> APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto -lsasl')
> 
> Fairly simple, turns on SASL, SSL, Milters, and inet6
> 
> What would I put in the /etc/make.conf, which expects things like:

Something like:

#SENDMAIL_CFLAGS+= -DMILTER -DSTARTTLS -DHASURANDOMDEV
#SENDMAIL_CFLAGS+= -I/usr/local/ssl/include -I/usr/local/include
#SENDMAIL_CFLAGS+= -DSASL=2
#SENDMAIL_LDFLAGS+= -L/usr/local/ssl/lib
#SENDMAIL_LDADD=-lssl -lcrypto -lsasl

-- 
-Chuck



More information about the freebsd-questions mailing list