Dear Zarafa users,
With ZCP 7.1 we released a plugin framework which makes it possible to extend DAgent and Spooler functionality with custom Python scripts.
One reason why we have not received much feedback on this though may be that we did not provide many simple to understand examples.
To partially remedy this we have just released two new example scripts. One illustrates basic modification of mail bodies, and the other shows how to create attachments.
The new examples can be found here:
The 'censorship.py' example censors words as defined in the 'censorship.txt' file. The 'uudecode.py' example converts uu-encoded parts of a mail body into separate attachments.
To try these examples, simply place the respective files in the 'plugin_manager_path' as defined in dagent.cfg.
More information about using the plugin framework can be found here:
Please let us know if you have an idea for a new plugin, but aren't sure how to implement some part of it using Python/MAPI.