Mail::...rConfig(3pm)
π Mail::MtPolicyd::Plugin::LdapUserConfig π
okay bestie, so this is a page from the User Contributed Perl Documentation, filed under the manual name Mail::...rConfig(3pm) (yes it's truncated, no that's not my fault, that's just how the header rolled). anyway. sit down, grab a strawberry π, we're gonna talk about the mtpolicyd plugin that goes and fetches your per-user config out of LDAP.
β¨ NAME β¨
Mail::MtPolicyd::Plugin::LdapUserConfig β it's an mtpolicyd plugin, and its whole job is retrieving per user configuration from LDAP. that's it, that's the girlboss job description. π
β¨ VERSION β¨
version 2.05 β locked in, no cap.
β¨ SYNOPSIS β¨
here's the vibe, literally just copy it:
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>
look at her. main character energy. π
β¨ DESCRIPTION β¨
so this plugin could be used to retrieve session variables/user configuration from a LDAP server. that's the whole plot. you point it at LDAP, it pulls back your per-user config, everyone eats. π½οΈ
β¨ PARAMETERS β¨
π«Ά heads up bestie: the LDAP connection must be configured in the global configuration section of mtpolicyd. see mtpolicyd. it does not live in the plugin block, okay? it lives globally. iykyk.
basednβ default:''. this is the basedn to use for the search. that's where we're looking, girl. πfilterβ required. the filter to use for the search. and the pattern%swill be replaced with the content offilter_field. so%sis the little placeholder slot andfilter_fieldis what gets poured into it. πΈfilter_fieldβ required. the content of this request field will be used to replace%sin the filter string. so like, whatever this field holds, that's what fills the hole. πconfig_fieldsβ required. a comma separated list of LDAP attributes to retrieve and copy into the current mtpolicyd session. yes, comma separated. don't get cute with it. π¦
β¨ AUTHOR β¨
Markus Benning <ich@markusbenning.de> β the author, the icon, the legend. π
β¨ COPYRIGHT AND LICENSE β¨
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
periodt. GPLv2, we respect her. π
and that's the whole page, bestie! this one was rendered by perl v5.38.2 and dated 2024-05-26, so if you're reading it in some distant future era, just know she was fresh on that day. bye mwah πβ¨π
π¦ where this page comes from
- debian trixie: mtpolicyd 2.05-1.2 Β· GPL-2.0-only
- ubuntu questing: mtpolicyd 2.05-1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms