CMDCommand · run as root on the server · mail family
urbestack-mail-settings-set
First published 14 Oct 2026
0.2.0Unchanged since publicationUsage
2 forms# urbestack-mail-settings-set --set KEY=VALUE [--set KEY=VALUE ...]# urbestack-mail-settings-set --json-stdin < '{"mail.max_message_mb": 50, "mail.greylisting": false}'Description
From the command's --help outputSaves one or more mail.* settings together. Repeat --set to supply multiple settings, or pass a JSON object of setting names and values on standard input with --json-stdin. For --set, true, false, null, integers, decimals and valid JSON arrays and objects are read as JSON. Other values are treated as text. When both options supply the same key, --set takes precedence. UrbeStack generates the mail configuration once, runs one round of configuration checks with postfix check, doveconf, rspamadm configtest and webmail PHP-FPM, and reloads the affected daemons in one pass. If a mail configuration check fails, the command shows its output and rolls back the entire save, restoring the previous settings and files before the daemons load the new configuration. The exceptions are mail.webmail_des_key and mail.smarthost. Use urbestack-mail-smarthost-set for the smarthost. These settings are also available in the Settings tab of the Mail section in the administrator's panel. Administrators only.Usage: urbestack-mail-settings-set --set KEY=VALUE [--set KEY=VALUE ...] urbestack-mail-settings-set --json-stdin < '{"mail.max_message_mb": 50, "mail.greylisting": false}' Saves one or more mail.* settings together. Repeat --set to supply multiple settings, or pass a JSON object of setting names and values on standard input with --json-stdin. For --set, true, false, null, integers, decimals and valid JSON arrays and objects are read as JSON. Other values are treated as text. When both options supply the same key, --set takes precedence. UrbeStack generates the mail configuration once, runs one round of configuration checks with postfix check, doveconf, rspamadm configtest and webmail PHP-FPM, and reloads the affected daemons in one pass. If a mail configuration check fails, the command shows its output and rolls back the entire save, restoring the previous settings and files before the daemons load the new configuration. The exceptions are mail.webmail_des_key and mail.smarthost. Use urbestack-mail-smarthost-set for the smarthost. These settings are also available in the Settings tab of the Mail section in the administrator's panel. Administrators only.
Options
Find other commands that accept these optionsSame in the API
This operation runs the command.urbestack-mail-autoresponder-urbestack-mail-check-urbestack-mail-dkim-urbestack-mail-hold-urbestack-mail-settings-urbestack-mail-smarthost-Generated from release 0.2.35 (current) · urbestack-mail-settings-set --help outputThis entry has been unchanged since it was first published in release 0.2.0 on 14 Oct 2026.
urbestack.com/docs/commands/urbestack-mail-settings-set/