OQMGR(8) | System Manager's Manual | OQMGR(8) |
oqmgr - old Postfix queue manager
oqmgr [generic Postfix daemon options]
The oqmgr(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.
The oqmgr(8) daemon maintains the following queues:
The oqmgr(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 oqmgr(8) daemon is responsible for asking the bounce(8), defer(8) or trace(8) daemons to send delivery reports.
The queue manager implements a variety of strategies for either opening queue files (input) or for message delivery (output).
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 oqmgr(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.
RFC 3463 (Enhanced status codes) RFC 3464 (Delivery status notifications)
The oqmgr(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 oqmgr(8) daemon does not talk to the outside world, and it can be run at fixed low privilege in a chrooted environment.
Problems and transactions are logged to the syslog(8) daemon. 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.
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.
Changes to main.cf are not picked up automatically, as oqmgr(8) is a persistent process. Use the command "postfix reload" 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.
Available before Postfix version 2.5:
Available with Postfix version 2.7 and later:
Available in Postfix version 2.5 and later:
Available in Postfix version 2.1 and later:
Available in Postfix version 2.5 and later:
Available in Postfix version 3.1 and later:
Available in Postfix version 3.1 and later:
Available in Postfix version 3.0 and later:
/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
trivial-rewrite(8), address routing bounce(8), delivery status reports postconf(5), configuration parameters master(5), generic daemon options master(8), process manager syslogd(8), system logging
Use "postconf readme_directory" or "postconf html_directory" to locate this information.
QSHAPE_README, Postfix queue analysis
The Secure Mailer license must be distributed with this software.
Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA Wietse Venema Google, Inc. 111 8th Avenue New York, NY 10011, USA