Get your free beta license ↗
CMDCommand · run as root on the server · mail family

urbestack-mail-account-set

First published 3 Oct 20260.1.0Unchanged since publication

Usage

# urbestack-mail-account-set --address user@example.com [--password-stdin | --password-hash HASH] [--quota-mb N] [--hourly-limit N|''] [--login on|off] [--outgoing on|off] [--used-by-person yes|no] [--end-sessions] [--owner USER]

Description

From the command's --help output
Updates a mail account. Specify at least one setting or use --end-sessions on its own.

To change the password, supply one line on standard input with --password-stdin or pass a crypt
hash with --password-hash. Accepted formats include SHA-512 ($6$), SHA-256, MD5, bcrypt and
traditional DES. --end-sessions uses doveadm kick to close all open IMAP and POP3 sessions
immediately and also revokes the mailbox's webmail sign-in tickets. Use it when changing a
compromised password to disconnect existing IMAP and POP3 sessions immediately.

--quota-mb sets the storage quota from 0 to 1048576 megabytes. Use 0 or an empty value for
unlimited storage. --hourly-limit sets the account's sending limit from 0 to 1000000 messages
per hour. Use 0 for no account-level sending limit or pass an empty value to restore the
domain's default for mail accounts.

--login off blocks IMAP and POP3 logins and authenticated sending while incoming mail continues
to arrive. --outgoing off blocks sending while users can still read mail. --used-by-person yes,
the default, indicates that a person also uses the mailbox in their own mail client. Use
--used-by-person no for a mailbox used only by bots. This setting determines the defaults for
new bot keys.

With --owner, the domain must belong to the named customer. Only an administrator can set
--hourly-limit, so omit --owner when setting it.

Options

Find other commands that accept these options

Same in the API

These operations run the command.

More in mail

38 commands, by what they work onView all commands in this family →
urbestack-mail-account-
urbestack-mail-autoresponder-
urbestack-mail-check-
urbestack-mail-dkim-
urbestack-mail-domain-
urbestack-mail-filter-
urbestack-mail-forwarder-
urbestack-mail-greylist-
urbestack-mail-hold-
urbestack-mail-list-
urbestack-mail-queue-
urbestack-mail-settings-
urbestack-mail-smarthost-
Generated from release 0.2.35 (current) · urbestack-mail-account-set --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-mail-account-set/