Custom Sendmail through /etc/make.conf
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:
#SENDMAIL_CFLAGS+= -DMILTER -DSTARTTLS -DHASURANDOMDEV
#SENDMAIL_CFLAGS+= -I/usr/local/ssl/include -I/usr/local/include
#SENDMAIL_LDADD=-lssl -lcrypto -lsasl
More information about the freebsd-questions