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

urbestack-mail-install

First published 3 Oct 20260.1.0Unchanged since publication

Usage

# urbestack-mail-install [--skip-packages] [--antivirus] [--job ID]

Description

From the command's --help output
Installs the UrbeStack mail stack, including Postfix, Dovecot, Rspamd with its key-value store,
and Roundcube. Turn on mail.enabled before running the command. It sets up the Rspamd package
repository, supplies answers to package prompts, and installs the mail packages for the
distribution. It generates the required secrets once, then rebuilds and tests the configuration
and starts the enabled services. You can rerun the command safely. It installs only missing
packages, and only one installation can run at a time.

Use --skip-packages to configure and start the stack with packages already installed. The
command still generates any missing secrets.

With package installation enabled, --antivirus also installs ClamAV and its signature updater
from the distribution, using EPEL on AlmaLinux, and downloads about 110 MB of initial
signatures. Turn on mail.antivirus before using --antivirus. Clamd reserves about 1 GB of
memory.

The API queues installation as a mail-install job. The worker passes the job ID with --job so
the Jobs and Mail sections show the installation steps and progress as it runs.

Options

Find other commands that accept these options

Same in the API

This operation runs 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-install --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-install/