4. Deployment

4.1. Signature templating

Signatures can be rolled out for all users in a LDAP or AD enviroment. You have to provide a HTML file with supported variables. A list of variables can be found here. Images can be added to the HTML file but this should either be an Image URL or a based64 encoded image. Example:

<img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA
AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO
9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />

The HTML file should be injected in the WebApp settings by running ‘setdefaultsignature.py’ script found here. We have provided an ‘example wrapper’ in the same directory to run this script for multiple users.

Usage:

  • Single server. Run: example_wrapper.sh - This will add a default signature for every user found with kopano-admin -l
  • Multi-server. Run: multiple_users.sh <server> - This will add a default signature for every user found with kopano-admin -l on <server>

Note: The example_wrapper script does not work for multi-company.