-
-
Notifications
You must be signed in to change notification settings - Fork 3
vserverinfo.1
vserverinfo - Display server info of a node in a IndiMail cluster
vserverinfo [options] | [email_addr]
vserverinfo can display server information for a node in an extended IndiMail cluster. In one form of usage of vserverinfo, one can either provide the domain and - either the mailstore host or MySQL server. In the second form of usage, one can provide an email address of a user present in the node in a extended IndiMail cluster.
vserverinfo displays following information for a user specified by email email_addr.
Field | Description | |
---|---|
domain | domain name | |
server | MySQL server holding user records | |
mdahost | Mailstore for the user | |
user | user's name | |
password | user's password | |
port | MySQL port | |
database | MySQL database |
vserverinfo can be run only by root or indimail user.
vserverinfo can be used in two forms. In the first form, you can specify the domain and the mailstore (or MySQL server). In the second form, if you specify an email id, and vserverinfo will display the mailstore on which the user's Maildir is located and also display the corresponding MySQL server.
-a
Display all fields, this is the default
-u
Display the user name
-p
Display the user password
-P
Display the MySQL port
-s
Display the MySQL server
-m
Display the user mailstore
-d
Display the MySQL database
-D domain
specify the domain name
-M mdahost
specify the mailstore
-S server
specify the MySQL server
0 in case of success, 1 in case of any failure retrieving server information.