@ -1,5 +1,11 @@
#!/bin/bash
RCODE=$?
if [ ! whoami = "zimbra" ]; then
echo "Le user doit être zimbra, pas root ! "
exit 1;
fi
echo "Export mailboxes :"
for user in `cat /opt/zimbra/nfsbackup/migration/accounts/users.txt`;