Thursday, January 29, 2015

Integrate MSH Disclaimer & Signatures with LDAP

Version 1.3.0 of application have ability to connect with LDAP directory services. With this new option you can retrieve LDAP object like users and user groups. This will help you to manage disclaimers based on users or user group.

Simple scenario for appending different disclaimers per department

Define company wide disclaimer. Company have three departments: Marketing, Sales and IT. Each department need to have different disclaimer. CEO which is a member of all groups must have one unique signature.
Before you could use Message Sender - User and Message Sender - Group condition you need to configure LDAP Directory Service settings.

Rule 1 (disclaimer only for CEO)


First we need to set up conditions, use Message Sender – User condition. Click button Browse and select your CEO from the list.

Message Sender - User condition.

Due to our scenario we want to stop processing more rules when this one is applied and go to the next one when not applied.

Next rule options on Rule Wizard.


Rule 2 (disclaimer for IT department)


For users in IT department group we need to use Message Sender – Group condition. Click button Browse and select group from the list.

Message Sender - Group condition.

You can leave settings for processing other rules in default state.

Rule 3 and rule 4 (marketing and sales)


For marketing and sales department follow exactly same steps like for rule 2.

Summary

When everything is setup you could test it in action, just send some messages from user within previously specified group.


Learn more about server side disclaimers and signatures for Zimbra, Postfix and Sendmail.