info > qmgr(8)

πŸ“– NAME

qmgr - Postfix queue manager

πŸš€ Quick Reference

Use CaseCommandDescription
πŸ“‹ Reload configurationpostfix reloadReload Postfix configuration after changes to main.cf or master.cf.
πŸ“¨ Force deferred queue scanpostqueue -fForce a deferred queue scan to attempt delivery of all deferred messages.
πŸ“€ Flush all mailpostfix flushFlush all queued mail immediately.
πŸ“Š View queue statusmailq or postqueue -pDisplay the mail queue status.
πŸ” Analyze queue structureqshapeAnalyze Postfix queue structure (from QSHAPE_README).
πŸ› οΈ Sendmail verbose modesendmail -vSend mail with verbose delivery status output.

πŸ› οΈ SYNOPSIS

qmgr [generic Postfix daemon options]

πŸ“ DESCRIPTION

πŸš€ The qmgr(8) daemon awaits the arrival of incoming mail and arranges for its delivery via Postfix delivery processes. The actual mail routing strategy is delegated to the trivial-rewrite(8) daemon. This program expects to be run from the master(8) process manager.

πŸ“¬ Mail addressed to the local double-bounce address is logged and discarded. This stops potential loops caused by undeliverable bounce notifications.

πŸ“¦ MAIL QUEUES

The qmgr(8) daemon maintains the following queues:

πŸ“‹ DELIVERY STATUS REPORTS

The qmgr(8) daemon keeps an eye on per-message delivery status reports in the following directories. Each status report file has the same name as the corresponding message file:

The qmgr(8) daemon is responsible for asking the bounce(8), defer(8) or trace(8) daemons to send delivery reports.

🧠 STRATEGIES

The queue manager implements a variety of strategies for either opening queue files (input) or for message delivery (output).

πŸ”” TRIGGERS

On an idle system, the queue manager waits for the arrival of trigger events, or it waits for a timer to go off. A trigger is a one-byte message. Depending on the message received, the queue manager performs one of the following actions (the message is followed by the symbolic constant used internally by the software):

The qmgr(8) daemon reads an entire buffer worth of triggers. Multiple identical trigger requests are collapsed into one, and trigger requests are sorted so that A and F precede D and I. Thus, in order to force a deferred queue run, one would request A F D; in order to notify the queue manager of the arrival of new mail one would request I.

πŸ“œ STANDARDS

πŸ”’ SECURITY

πŸ”’ The qmgr(8) daemon is not security sensitive. It reads single-character messages from untrusted local users, and thus may be susceptible to denial of service attacks. The qmgr(8) daemon does not talk to the outside world, and it can be run at fixed low privilege in a chrooted environment.

πŸ” DIAGNOSTICS

πŸ” Problems and transactions are logged to syslogd(8) or postlogd(8). Corrupted message files are saved to the corrupt queue for further inspection.

πŸ“¬ Depending on the setting of the notify_classes parameter, the postmaster is notified of bounces and of other trouble.

πŸ› BUGS

πŸ› A single queue manager process has to compete for disk access with multiple front-end processes such as cleanup(8). A sudden burst of inbound mail can negatively impact outbound delivery rates.

βš™οΈ CONFIGURATION PARAMETERS

Changes to main.cf are not picked up automatically as qmgr(8) is a persistent process. Use the "postfix reload" command after a configuration change.

The text below provides only a parameter summary. See postconf(5) for more details including examples.

In the text below, transport is the first field in a master.cf entry.

πŸ”„ COMPATIBILITY CONTROLS

πŸ“Š ACTIVE QUEUE CONTROLS

⚑ DELIVERY CONCURRENCY CONTROLS

πŸ“‹ RECIPIENT SCHEDULING CONTROLS

⏳ MESSAGE SCHEDULING CONTROLS

πŸ“Š OTHER RESOURCE AND RATE CONTROLS

πŸ”’ SAFETY CONTROLS

πŸ“Œ MISCELLANEOUS CONTROLS

πŸ“ FILES

/var/spool/postfix/incoming, incoming queue
/var/spool/postfix/active, active queue
/var/spool/postfix/deferred, deferred queue
/var/spool/postfix/bounce, non-delivery status
/var/spool/postfix/defer, non-delivery status
/var/spool/postfix/trace, delivery status

πŸ“š SEE ALSO

πŸ“– README FILES

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

πŸ“„ LICENSE

The Secure Mailer license must be distributed with this software.

πŸ‘€ AUTHOR(S)

Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA

Preemptive scheduler enhancements:
Patrik Rak
Modra 6
155 00, Prague, Czech Republic

Wietse Venema
Google, Inc.
111 8th Avenue
New York, NY 10011, USA

qmgr(8)
πŸ“– NAME πŸš€ Quick Reference πŸ› οΈ SYNOPSIS πŸ“ DESCRIPTION πŸ“¦ MAIL QUEUES πŸ“‹ DELIVERY STATUS REPORTS 🧠 STRATEGIES πŸ”” TRIGGERS πŸ“œ STANDARDS πŸ”’ SECURITY πŸ” DIAGNOSTICS πŸ› BUGS βš™οΈ CONFIGURATION PARAMETERS
πŸ”„ COMPATIBILITY CONTROLS πŸ“Š ACTIVE QUEUE CONTROLS ⚑ DELIVERY CONCURRENCY CONTROLS πŸ“‹ RECIPIENT SCHEDULING CONTROLS ⏳ MESSAGE SCHEDULING CONTROLS πŸ“Š OTHER RESOURCE AND RATE CONTROLS πŸ”’ SAFETY CONTROLS πŸ“Œ MISCELLANEOUS CONTROLS
πŸ“ FILES πŸ“š SEE ALSO πŸ“– README FILES πŸ“„ LICENSE πŸ‘€ AUTHOR(S)

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-09 18:52 @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!