It pretty much depends on what you're trying to acheive, here's an example of including LDAP support :
Quote:
Use the command sendmail -bt -d0.1 to check the sendmail compiler options. If the string LDAPMAP appears in the “Compiled with:” list, there is no need to recompile sendmail. If LDAPMAP does not appear in the “Compiled with:” list, recompile sendmail to add LDAP support.
To add LDAP support, set LDAP values in the site.config.m4 file and recompile sendmail as shown below:
# cd /usr/local/src/sendmail-8.12.9/devtools/Site
# cat >> site.config.m4
APPENDDEF(`confMAPDEF', `-DLDAPMAP')
APPENDDEF(`confLIBS', `-lldap -llber')
Ctrl-D
# cd /usr/local/src/sendmail-8.12.9
# ./Build –c
After recompiling sendmail, reinstall it:
# ./Build install
|