Some usefull things to put in site.config.m4
Milter:
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ')
You have to build the libmilter stuff separately, the regular
./Build -c will not build it automatically.
Sasl:
APPENDDEF(`confENVDEF', `-DSASL=2')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl2')
TLS:
APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS')
APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto')
APPENDDEF(`confINCDIRS',`-I/usr/kerberos/include')
APPENDDEF(`confLIBDIRS',`-L/usr/kerberos/lib')
SSMTP: include the
TLS stuff, plus
APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_SMTP_SSL')
Remember that
FFR means
for future release, so check those release notes if you are building newer than 8.12.11.