Command Line Utility - Account
Previous  Top  Next

ACCOUNT.EXE is a command-line utility that lets you manipulate accounts. You don't have to use this utility as all its capabilities are also available from the graphical user interface. You may wish to use this tool to automate adding users as part of your business process.

ACCOUNT -add <account> <type>  
ACCOUNT -edit <account> <type>  
ACCOUNT -del <account>  
ACCOUNT -notify <account>  
ACCOUNT -pwd <account> [<oldpwd> <newpwd>]  
ACCOUNT -reset <account>  
ACCOUNT -addalias <account> <alias>  
ACCOUNT -delalias <account> <alias>  
ACCOUNT -importfile <filename> <type>  
ACCOUNT -exportfile [-include_type] <filename>  
<type> can be:  
1 for Master User (Can add and remove accounts)  
2 for Regular User (Configuration and Spam View allowed)  
3 for Regular User (No Configuration allowed)  
5 for No Spam View, No UnSpam allowed  
4 for No Config - No Spam View - No Login allowed  
0 for a passthrough account (no analysis)  
9 for not active  
See accounts.conf for more information on user types.  
-add - Adds a user. You must specify the type.
-edit - Changes the type of the user.
-del - Deletes a user.
-notify - Sends a notification message to the user letting them know how to log in.
-pwd - Resets the user's pwd. You can also set the pwd if you know the old pwd. The command will fail if the oldpwd is not correct.
-reset - Resets the user's settings, except for the password.
-addalias - Adds an alias account for the specified account.
-delalias - Deletes an alias account for the specified account.
-importfile - Adds all users as specified type. e-mail, type, pwd on a line. Separator is a comma. If pwd is included and not type, then an extra separator is necessary. The type, if provided on a line, will override the type specified on the command-line.
Example lines:,,mysecret,1,mysecret,3  
-exportfile - Exports users to a file. Passwords cannot exported because they are not available.
Example lines:  
Example lines with -includetype option:,3,4