You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manvendra Bhangui edited this page Oct 1, 2024
·
3 revisions
NAME
vmoveuserdir - move homedir of a virtual user to a new path
SYNOPSYS
vmoveuserdiremail_addrnew_homedir
DESCRIPTION
vmoveuserdir changes the current homedir to new_homedir, moving
all existing files to the new path. vmoveuserdir has setuid bit set
and can be run by the root user, by user having uid/gid of the domain in
/etc/indimail/users/assign or if the user has the gid of the domain as
a supplementary group.
POST HANDLE
If the environment variable POST_HANDLE is set, vmoveuserdir
executes the program defined by the POST_HANDLE environment variable
with the uid/gid of the domain in /etc/indimail/users/assign. If
POST_HANDLE is not defined, the program
/usr/libexec/indimail/vmoveuserdir will be executed with root
privileges. The POST_HANDLE progam is run with email_addr,
old_homedir and new_homedir as command line arguments. The
POST_HANDLE program is executed as the last step after all earlier
steps have been successful.