package request sendmail
I would like to have sendmail :) I am using stuff like this, and I am not sure it would be possible to convert this to other mail clients.
define(`confLDAP_HOST',`esyscmd(`printf $LDAP_HOST')')dnl
define(`confLDAP_DEFAULT_SPEC',`-H ldaps://'confLDAP_HOST`/ -d "dc=xxx,dc=local" -M simple -P /etc/mail/ldap-secret -b ,dc=xxx,dc=local')dnl
FEATURE(`mailertable', `LDAP')dnl
FEATURE(`virtusertable', `LDAP')dnl
FEATURE(`ldap_routing')dnl
LDAPROUTE_DOMAIN_FILE(`@LDAP')dnl
FEATURE(`access_db', `LDAP')dnl
HACK(`dnswl', `xxx.xxx.xx')dnl
HACK(`require_rdns')dnl