Hi Christian,
thank you VERY much for the lightning quick reply and yes, that is the mechanism...
Based on the document you pointed me to alone I could not get things going because it leaves out a few things and also is out of date, but with the help of one other forum post (
http://forum.zentyal.org/index.php/topic,10267.msg42729.html#msg42729) I managed to solve my problem quickly and smoothly.
And just in case someone "official" listens in, here are some suggestions for a revision of the document...
- The folder name now is /etc/zentyal/hooks and not /etc/ebox/hooks
- Same for the stubs directory, which is now in /usr/share/zentyal/stubs
- The document does not say which service is called what (webserver or apache or apache2) but /usr/share/zentyal/stubs lists all services with the names used.
- The document does not mention that the file/script has to be made executable. Don't laugh, I only realized that these were "real" shell scripts when I read the above post.
None of the examples are set to executable, which in a way makes sense, but also is misleading as well.
- The document does not really say which file (or rather extension) type is executed when and what happened up to that point. This is explained for .postsetconf in the above post.
Thanks again,
Ingmar