Virtualmin and Zarafa

2 posts / 0 new
Last post
#1 Sat, 09/12/2009 - 06:51
kooistrag

Virtualmin and Zarafa

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.

Mon, 09/14/2009 - 12:26
JamieCameron

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..

''

Topic locked