Browse Source

Mise à jour de 'zimbra/Migration/6_imports_filters_and_sig.sh'

master
nicolas.fort 9 months ago
parent
commit
07a63bba33
  1. 6
      zimbra/Migration/6_imports_filters_and_sig.sh

6
zimbra/Migration/6_imports_filters_and_sig.sh

@ -1,5 +1,11 @@
#!/bin/bash
RCODE=$?
if [ ! whoami = "zimbra" ]; then
echo "Le user doit être zimbra, pas root ! "
exit 1;
fi
echo "Import des Filtres"
for user in `cat /opt/zimbra/nfsbackup/migration/accounts/users.txt`; do echo "Importation des filtres : $user"; zmprov ma $user zimbraMailSieveScript "`cat /opt/zimbra/nfsbackup/migration/filters/$user-filters.txt`";done

Loading…
Cancel
Save