-
-
Notifications
You must be signed in to change notification settings - Fork 3
vuserinfo.1
Manvendra Bhangui edited this page Feb 25, 2024
·
3 revisions
vuserinfo - display attributes for a virtual user
vuserinfo [options] email_addr
vuserinfo displays following information for a user specified by email email_addr.
Field | Description | |
---|---|
name | Username | |
passwd | Password | |
uid | Used internally by host sync | |
gid | User status bits | |
gecos | General Comments | |
dir | Home directory | |
quota | Disk quota allocated | |
cur usage | Current disk usage | |
mailStore IP | IP address of mailstore | |
mailStore ID | Hostid of mailstore | |
sql database | MySQL database name for user storage | |
table Name | Table name for user storage | |
relay Allowed | If relaying is allowed | |
days inactive | No of days the user has been inactive | |
Added On | Registration date | |
last auth | Last successful authentication | |
last IMAP | Last successful authentication using IMAP | |
last POP3 | Last successful authentication using POP3 | |
password Change | Last successful password change date | |
inactivation Date | Last date when user was inactivated | |
activation Date | Last date when user was activated | |
forwardings | All forwardings for user | |
vuserinfo also displays mail folders with usage, forwarding or alias information and filters set for users (if the user have these enabled). vuserinfo has setuid bit as root to enable reading of user quota usage stored in maildirsize.
-a
Display all fields, this is the default
-n
Display the Name only
-p
Display crypted password
-u
Display uid field
-g
Display gid field
-c
Display comment field
-d
Display directory
-q
Display quota field
-l
Display usage times
-m
Display Mail Summary
0 in case of success, 1 in case of any failure retrieving user information.