|
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 ompiled with:?list, there is no need to recompile sendmail. if ldapmap does not appear in the ompiled 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
after recompiling sendmail, reinstall it:
# ./build install
|