in addition, one can use:

/home/vpopmail/bin# ./vuserinfo
vuserinfo: usage: [options] email_address
options: -v (print version number)
        -a (display all fields, this is the default)
        -n (display name field)
        -p (display crypted password)
        -u (display uid field)
        -g (display gid field)
        -c (display comment field)
        -d (display directory)
        -q (display quota field)
        -Q (display quota usage)
        -C (display clear text password)
        -l (display last authentication time)
        -D domainname (show all users on this domain)

!!! the cleartext will be shown ONLY is shown only if exists - it is a "compile time" option

for vdominfo try -h:

/home/vpopmail/bin# ./vdominfo  -h
./vdominfo: invalid option -- h
vdominfo: usage: [options] [domain]
options: -v (print version number)
        -a (display all fields, this is the default)
        -n (display domain name)
        -u (display uid field)
        -g (display gid field)
        -d (display domain directory)
        -t (display total users)

wwell edi

Rick Widmer wrote:

Joe wrote:

I need to get some info about mailboxes users for my qmail installation. I need info like:

For an easy web based method look at qmailadmin.

Assuming you are using the cdb back end, the data is stored in a file, by domain in the directory structure maintained by vpopmail. If you are using a database back end, the data is stored there.

List of users by domain

cat ~vpopmail/domains/$DomainName/vpasswd

replace $DomainName with the name of the domain.

Ideally, a way to retrieve their pw’s, too.

Unless you have the clear passwords option set, this is not possible.
If it is possible it will appear near the end of the line when you do
the previous command.  (I think it is the last field...)

Way to check how full people’s mailboxes are.

qmailadmin provides this, if you are using user quotas.  If not all you
can do is du on the user's Maildir directory.

Administrative things like that.

If I am not posting to the right place, pls let me know of a better place.

Reply via email to