Skip to Content
Browse documentation

setupmailacct — Command Reference

Interactively create, delete or change a mailbox password/quota.

Interactively create, delete or change a mailbox password/quota.

Requirements

Run as root on the Eenos server. Existing managed email domain and mail service. Use an interactive terminal for the prompts.

Usage

The following example uses the operation described below; replace example identities and paths before use:

/usr/local/eenos/scripts/setupmailacct --quota

Arguments and options

SyntaxMeaning
--addPrompt for a new mailbox and its settings.
--delPrompt for the mailbox to delete.
--quotaPrompt for mailbox and quota in MB; empty means unlimited.
--chpassPrompt for mailbox and a new password.

This uses a positional/legacy parser. Choose one operation and keep its value order. Do not assume argparse-style --option=value, option combinations or --help support.

Operational effects

Changes mailbox data and authentication. --del deletes an email account. Each action prompts for the email address and required values; these are not extra positional CLI options.

Verify the result

Verify mailbox access, quota and mail delivery. Back up a mailbox before deletion.

Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.

Back to Service Setup · All command-line tools