Topic: Hook for calling external function on add/edit/delete user

==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL) MySQL
- Linux/BSD distribution name and version: debian Wheezy
- Related log if you're reporting an issue:


i searched the the forum but couldn't find an answer.

We try to setup an integrated system with iRedMail and SOGo with native outlook support.
Since the native outlook support of SOgoneeds the user details in samba4 internal ldap, we need a method to sync the userdata to samba4.

Now, the easiest way (in our opinion) would be to implement a hook in iRedMail/iRedMailAdmin to a script called on user add/edit/delete function with the required data (like username/password).

Is there any way we could accomplish this ?
Any other ideas on how to solve this issue ?