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 ?