Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: andreashaerter on April 02, 2024, 09:21:37 PM

Title: New plugin: identity_from_directory (maintain identities with LDAP / AD)
Post by: andreashaerter on April 02, 2024, 09:21:37 PM
Hi, we just released a new Roundcube plugin to automatically populate and maintain user identities on each login[/b], based on corresponding LDAP or Active Directory user data.

I hope this is also useful for somebody else, we use it for our email stack to get rid of Exchange (https://foundata.com/de/email-server-groupware/), so no one-man-show and there will be proper maintenance in the future.


This hopefully provides all an admin needs, including fallback values for missing fields etc..

Small example: A user with the following Active Directory data

(https://raw.githubusercontent.com/foundata/roundcube-plugin-identity-from-directory/main/doc/images/active-directory-user-settings-01.png)

and a signature template set to

Code: (php) [Select]
$config['identity_from_directory_signature_template_html'] = '
<p>
    Kind regards<br />
    <strong>%name_html%</strong><br />
    %organization_html%
</p>
<p>
    mailto: <a href="mailto:%email_html%">%email_html%</a><br />
    phone: <a href="tel:%phone_url%">%phone_html%</a><br />
    fax: <a href="tel:%fax_url%">%fax_html%</a><br />
    web: <a href="%website_html%">%website_html%</a>
</p>';

would result in the following Roundcube identities after the user login:

(https://github.com/foundata/roundcube-plugin-identity-from-directory/blob/main/doc/images/roundcube-user-identities-01.png?raw=true)