These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Virtualmin and Zarafa on the new forum.
Hello,
I am tray to setup a mailserver with zarafa on a Ubuntu system.
Zarafa works with postfix for the maildelevering.
Also i have install webmin with virtualmin on it to create easy users. I can make users with virtualmin on postfix.
For zarafa i have manual make a user with the commandline, like: "/usr/bin/zarafa-admin -c -p -e -f "
Is it possible to setup virtualmin so that when i create a user with virtualmin, the user is also created on zarafa?
Thanks for your help.
Sorry for my bad english.
The best way to set this up is as follows :
1) Create a shell script /etc/post-user.sh containing :
#!/bin/sh
if [ "$USERADMIN_ACTION" = "CREATE_USER" ]; then
/usr/bin/zarafa-admin -c -p -e -f $USERADMIN_USER
fi
2) Go to Webmin -> System -> Users and Groups -> Module Config -> Before and after commands, and enter /etc/post-user.sh into the "Command to run before making changes" field.
Users created in Virtualmin from now on should trigger that command..
''