Mail::MtPolicyd::Plugin::LdapUserConfig - mtpolicyd plugin for retrieving per user configuration from LDAP
version 2.03
ldap_host="localhost" ldap_binddn="cn=readonly,dc=domain,dc=com" ldap_password="secret" <Plugin user_config> module="LdapUserConfig" basedn="ou=users,dc=domain,dc=com" filter="(mail=%s)" filter_field="sasl_username" config_fields="mailMessageLimit,mailSendExternal" </Plugin>
This plugin could be used to retrieve session variables/user configuration from a LDAP server.
The LDAP connection must be configured in the global configuration section of mtpolicyd. See mtpolicyd.
The basedn to use for the search.
The filter to use for the search.
The pattern %s will be replaced with the content of filter_field.
The content of this request field will be used to replace %s in the filter string.
A comma separated list of LDAP attributes to retrieve and copy into the current mtpolicyd session.
Markus Benning <ich@markusbenning.de>
This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
To install Mail::MtPolicyd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::MtPolicyd
CPAN shell
perl -MCPAN -e shell install Mail::MtPolicyd
For more information on module installation, please visit the detailed CPAN module installation guide.