Skip to main content

fixemailugid

fixemailugid

This tool corrects the UID and GID of email accounts, especially useful if you have synced the home directory from another server or migrated from another control panel using rsync

Command:

/usr/local/eenos/scripts/fixemailugid

Command Option(s):

# /scripts/fixemailugid 
Copyright(c) 2024-2025, eenos.com
Eenos Email Account UID/GID Fix Tool
This tool corrects the UID and GID of email accounts,
especially useful if you have synced the home directory from another server.
    
usage: fixemailugid [options] [values]

Command(s):
  -u user_name, --user user_name
                        To fix email account UID/GID of Eenos user
  -a, --all             To fix all email accounts UID/GID in this server

Option(s):
  -h, --help            show this help message and exit

Fix the UID/GID of email accounts of a single hosting account

/usr/local/eenos/scripts/fixemailugid -u USER_NAME

Where USER_NAME is the Eenos user name.

To fix all accounts in the server, run the following command:

/usr/local/eenos/scripts/fixemailugid -a