-
-
Notifications
You must be signed in to change notification settings - Fork 2
vreorg.8
vreorg - Recreate Directory Structure Layout for a virtual domain
vreorg -d virtual_domain [ -r ] [ -R ] user_list
vreorg deletes the Directory Structure layout and assigns new hashed component for the home directory of the user. The existing files for the user are moved to the new path if necessary. indimail, indibak, valias MySQL table entries referring to the earlier path are updated with the new path.
-d virtual_domain
The name of the virtual domain.
-r
Reset Dir Structure Layout for virtual_domain
-R
Do not decrement Dir Structure Layout in the original filesystem.
-l users_per_level
By default, vadduser uses an adaptive directory structure based on a
table dir-control which is automatically managed by vadduser(1),
vdeluser(1) and vreorg(8). The basic idea is to break up the
user Maildir directories across multiple directories and sub directories
so that there are never more than 100 user directories in a single
directory. Use this option to change the default compile time value of
100 users per directory, when doing a reorg.
user_list
Name of a file contain valid users for the virtual domain.
0 for success, 1 for any failure.