jengelh /usr/libexec/gromox/cleaner -d /var/lib/gromox/user/X/Y (man cleaner)
Thanks. Always good to know.
sbudach Ha ha… too late… 😂 But thanks, this may will come handy over the next days, when I will be performing a couple of those migrations.
For the Migration-Tests I always deleted the Users.
With an LDAP as Backend it's just a matter of a couple of commands to destroy all users and recreate them with e.g. these vars/commands:
GROMOX_SVCS=$(systemctl list-unit-files |awk '/^gromox/ {ORS=""; print $1" "}')
USERLIST=$(grommunio-admin user list | awk '{print $2}' |grep -v -E '^admin$|^users$')
for user in $USERLIST; do grommunio-admin user delete --yes $user; done
systemctl restart ${GROMOX_SVCS}
grommunio-admin ldap downsync --complete --auto