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

urbestack-mail-filter-set

First published 3 Oct 20260.1.0Unchanged since publication

Usage

# urbestack-mail-filter-set --id N [--filter-name NAME] [--match all|any] [--rule FIELD:OP:VALUE ...] [--action ACTION] [--position N] [--owner USER]

Description

From the command's --help output
Updates the mail filter selected by --id. Supply at least one setting to change. Each supplied
setting replaces its previous value.

Supplying --rule replaces the entire rule list. Give each replacement rule in FIELD:OP:VALUE
form. Use --match all to require every rule to match or --match any to require at least one. You
can change --match on its own. The name, rules and action take the same forms and limits as in
urbestack-mail-filter-add.

Use --position to move the filter within its list. Positions start at 1. A position past the end
moves the filter to the end. If Pigeonhole cannot compile the updated filter, the command
reports Pigeonhole's error. With --owner, the filter's account or domain must belong to the
named customer.

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-filter-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-filter-set/