pipe | Début | Suivant | Sommaire | Préc.page.lue | Accueil |
NAME | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
SYNOPSIS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
pipe [generic Postfix daemon options] command_attributes...
DESCRIPTION | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Message attributes such as sender address, recipient address and next-hop host name can be specified as command-line macros that are expanded before the external command is executed.
The pipe(8) daemon updates queue files and marks recipients as finished, or it informs the queue manager that delivery should be tried again at a later time. Delivery status reports are sent to the bounce(8), defer(8) or trace(8) daemon as appropriate.
SINGLE-RECIPIENT DELIVERY | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Some destinations cannot handle more than one recipient per delivery request. Examples are pagers or fax machines. In addition, multi-recipient delivery is undesirable when prepending a Delivered-to: or X-Original-To: message header.
To prevent Postfix from sending multiple recipients per delivery request, specify
transport_destination_recipient_limit = 1
in the Postfix main.cf file, where transport is the name in the first column of the Postfix master.cf entry for the pipe-based delivery transport.
COMMAND ATTRIBUTE SYNTAX | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
The external command attributes are given in the master.cf file at the end of a service definition. The syntax is as follows:
This feature is available as of Postfix 2.3.
This feature is available as of Postfix 2.2.
The D flag also enforces loop detection (Postfix 2.5 and later): if a message already contains a Delivered-To: header with the same recipient address, then the message is returned as undeliverable. The address comparison is case insensitive.
This feature is available as of Postfix 2.0.
This feature is available as of Postfix 2.0.
This feature is available as of Postfix 2.5.
The result is compatible with the address parsing of command-line recipients by the Postfix sendmail(1) mail submission command.
The q flag affects only entire addresses, not the partial address information from the $user, $extension or $mailbox command-line macros.
If the null sender replacement text is a non-empty string then it is affected by the q flag for address quoting in command-line arguments.
The null sender replacement text may be empty; this form is recommended for content filters that feed mail back into Postfix. The empty sender address is not affected by the q flag for address quoting in command-line arguments.
Caution: a null sender address is easily mis-parsed by naive software. For example, when the pipe(8) daemon executes a command such as:
command -f$sender -- $recipient (bad)
command -f $sender -- $recipient (good)
In the command argument vector, the following macros are recognized and replaced with corresponding information from the Postfix queue manager delivery request.
In addition to the form ${name}, the forms $name and $(name) are also recognized. Specify $$ where a single $ is wanted.
This is available in Postfix 2.2 and later.
This is available in Postfix 2.2 and later.
This is available in Postfix 2.2 and later.
This is available in Postfix 2.5 and later.
This is available in Postfix 2.2 and later.
This information is modified by the h flag for case folding.
This is available in Postfix 2.5 and later.
A command-line argument that contains ${extension} expands into as many command-line arguments as there are recipients.
This information is modified by the u flag for case folding.
A command-line argument that contains ${mailbox} expands to as many command-line arguments as there are recipients.
This information is modified by the u flag for case folding.
This information is modified by the h flag for case folding.
A command-line argument that contains ${original_recipient} expands to as many command-line arguments as there are recipients.
This information is modified by the hqu flags for quoting and case folding.
This feature is available in Postfix 2.5 and later.
A command-line argument that contains ${recipient} expands to as many command-line arguments as there are recipients.
This information is modified by the hqu flags for quoting and case folding.
This is available in Postfix 2.2 and later.
This is available in Postfix 2.2 and later.
This is available in Postfix 2.2 and later.
This information is modified by the q flag for quoting.
A command-line argument that contains ${user} expands into as many command-line arguments as there are recipients.
This information is modified by the u flag for case folding.
STANDARDS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
RFC 3463 (Enhanced status codes)
DIAGNOSTICS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Postfix version 2.3 and later support RFC 3463-style enhanced status codes. If a command terminates with a non-zero exit status, and the command output begins with an enhanced status code, this status code takes precedence over the non-zero exit status.
Problems and transactions are logged to syslogd(8). Corrupted message files are marked so that the queue manager can move them to the corrupt queue for further inspection.
SECURITY | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
This program needs a dual personality 1) to access the private Postfix queue and IPC mechanisms, and 2) to execute external commands as the specified user. It is therefore security sensitive.
CONFIGURATION PARAMETERS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Changes to main.cf are picked up automatically as pipe(8) processes run for only a limited amount of time. Use the command "postfix reload" to speed up a change.
The text below provides only a parameter summary. See postconf(5) for more details including examples.
RESOURCE AND RATE CONTROLS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
In the text below, transport is the first field in a master.cf entry.
Postfix 2.4 and later support a suffix that specifies the time unit: s (seconds), m (minutes), h (hours), d (days), w (weeks). The default time unit is seconds.
MISCELLANEOUS CONTROLS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
SEE ALSO | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
qmgr(8), queue manager bounce(8), delivery status reports postconf(5), configuration parameters master(5), generic daemon options master(8), process manager syslogd(8), system logging
LICENSE | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
The Secure Mailer license must be distributed with this software.
AUTHOR(S) | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA
Sommaire | Début | Suivant | Sommaire | Préc.page.lue | Accueil |
Table des mots clés | Début | Suivant | Sommaire | Préc.page.lue | Accueil |