info > postmulti(1)

POSTMULTI(1) — General Commands Manual

📛 NAME

postmulti — Postfix multi-instance manager

🚀 Quick Reference

Use Case Command Description
🚀 Init multi-instance postmulti -e init Enable multi-instance management for the primary instance
📋 List instances postmulti -l List all instances with name, group, status, and config directory
â–ļī¸ Start all instances postmulti -p start Start all Postfix instances
âšī¸ Stop all instances postmulti -p stop Stop all Postfix instances
â–ļī¸ Start a group postmulti -g msa -p start Start instances in a specific group
➕ Create instance postmulti -e create -I name Create a new Postfix instance
❌ Destroy instance postmulti -e destroy -i name Destroy a stopped, disabled instance
✅ Enable instance postmulti -e enable -i name Mark an instance as enabled
❌ Disable instance postmulti -e disable -i name Mark an instance as disabled
đŸ“Ļ Execute command postmulti -x unix-command Run a Unix command across all instances with appropriate environment

📋 SYNOPSIS

🚀 Enabling multi-instance management

postmulti -e init [-v]

🔄 Iterator mode

postmulti -l [-aRv] [-g group] [-i name]
postmulti -p [-av] [-g group] [-i name] postfix-command...
postmulti -x [-aRv] [-g group] [-i name] unix-command...

đŸŠē Life-cycle management

postmulti -e create [-av] [-g group] [-i name] [-G group] [-I name] [param=value ...]
postmulti -e import [-av] [-g group] [-i name] [-G group] [-I name] [config_directory=/path]
postmulti -e destroy [-v] -i name
postmulti -e deport [-v] -i name
postmulti -e enable [-v] -i name
postmulti -e disable [-v] -i name
postmulti -e assign [-v] -i name [-I name] [-G group]

📖 DESCRIPTION

The postmulti(1) command allows a Postfix administrator to manage multiple Postfix instances on a single host.

postmulti(1) implements two fundamental modes of operation:

Each mode has its own command syntax, documented in separate sections below.

🧠 BACKGROUND

A multi-instance configuration consists of one primary Postfix instance and one or more secondary instances. The secondary instances' configuration directory pathnames are recorded in the primary instance's main.cf file. Postfix instances share program files and documentation but have their own configuration, queue, and data directories.

Currently, only the default Postfix instance can be used as the primary instance. The postmulti(1) command does not support a -c option to select an alternative primary instance and exits with a fatal error if the MAIL_CONFIG environment variable is set to a non-default configuration directory.

See the MULTI_INSTANCE_README tutorial for a more detailed discussion.

🔄 ITERATOR MODE

In iterator mode, postmulti performs the same operation on all Postfix instances in turn. If multi-instance support is not enabled, the requested command is performed just for the primary instance.

đŸŽ¯ Instance selection

📋 List mode

đŸ“Ļ Postfix-wrapper mode

Behavior by command type:

The -p option can also be used interactively to start/stop a named instance or group. For example:

# postmulti -g msa -p start

âŒ¨ī¸ Command mode

âš™ī¸ Other options

đŸŠē LIFE-CYCLE MANAGEMENT MODE

With the -e option, postmulti(1) can be used to add or delete a Postfix instance and to manage the multi-instance status of an existing instance.

đŸŽ¯ Existing instance selection

đŸˇī¸ New or existing instance name assignment

✨ Instance creation/deletion/status change

âš™ī¸ Other options

đŸŒŗ ENVIRONMENT

The postmulti(1) command exports the following environment variables before executing the requested command for a given instance:

âš™ī¸ CONFIGURATION PARAMETERS

Available in Postfix 3.0 and later:

📁 FILES

👀 SEE ALSO

📚 README FILES

Use "postconf readme_directory" or "postconf html_directory" to locate this information.

📜 HISTORY

The postmulti(1) command was introduced with Postfix version 2.6.

âš–ī¸ LICENSE

The Secure Mailer license must be distributed with this software.

âœī¸ AUTHOR(S)

postmulti(1)
📛 NAME 🚀 Quick Reference 📋 SYNOPSIS
🚀 Enabling multi-instance management 🔄 Iterator mode đŸŠē Life-cycle management
📖 DESCRIPTION 🧠 BACKGROUND 🔄 ITERATOR MODE
đŸŽ¯ Instance selection 📋 List mode đŸ“Ļ Postfix-wrapper mode âŒ¨ī¸ Command mode âš™ī¸ Other options
đŸŠē LIFE-CYCLE MANAGEMENT MODE
đŸŽ¯ Existing instance selection đŸˇī¸ New or existing instance name assignment ✨ Instance creation/deletion/status change âš™ī¸ Other options
đŸŒŗ ENVIRONMENT âš™ī¸ CONFIGURATION PARAMETERS 📁 FILES 👀 SEE ALSO 📚 README FILES 📜 HISTORY âš–ī¸ LICENSE âœī¸ AUTHOR(S)

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-09 15:56 @216.73.216.150
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!