make
from within
cmail-admin/popd
in the main repository. A build of all administration utilities may be
initiated by running make
from within cmail-admin/
.
make install
step of the installation (/usr/sbin/
by default).
/etc/cmail/databases/master.db3
by default and can be overridden by specifying either the --dbpath command line option
or the CMAIL_MASTER_DB environment variable when running this utility.
Specifying the --help argument to an invocation prints additional information about the utility.
The cmail-admin utilities operate in one of several modes, as specified in the table below. Modes may optionally accept mode-specific arguments. Changes in cmail configuration databases become active immediately, requiring no restart of the system.
Mode |
Arguments
variable [optional]
verbatim
|
Description | Example |
---|---|---|---|
list |
[expression] | List all users currently able to access their mail via POP, as well as their current lock state. Optionally, filter the list for entries matching expression. | cmail-admin-popd list mpease% |
enable |
user | Enable POP access for user. | cmail-admin-popd enable cbdev |
unlock |
user | Unlock the maildrop for user. This is an emergency option and should only be used after making sure there are no more active connections to the mailbox. | cmail-admin-popd unlock mpease |
disable |
user | Disable POP access for a user. | cmail-admin-popd disable cbdev |