#! /bin/sh

# Zarafa script that is executed whenever a new user is deleted from
# the external user source, such as an Active Directory tree or
# /etc/passwd.

# This script executes all scripts in /etc/zarafa/userscripts/deleteuser.d
# using find.  The environment variable ZARAFA_USER is set, but beware
# that this string can contain any characters, so take heed to correct
# quoting.

ZARAFA_USER_SCRIPTS=/etc/zarafa/userscripts/deleteuser.d
. /etc/zarafa/userscripts/users_common.sh
