Skip to content

vreorg.8

Manvendra Bhangui edited this page Feb 25, 2024 · 3 revisions

NAME

vreorg - Recreate Directory Structure Layout for a virtual domain

SYNOPSYS

vreorg -d virtual_domain [ -r ] [ -R ] user_list

DESCRIPTION

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.

OPTIONS

-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.

RETURN VALUE

0 for success, 1 for any failure.

SEE ALSO

printdir(1), vadduser(1), vdeluser(1),

Clone this wiki locally