|
|
|
|
SSL pipe.8.html
Sprache: HTML
|
|
| products/Sources/formale Sprachen/C/Postfix/html/pipe.8.html |
 |
<! doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
"https://www.w3.org/TR/html4/loose.dtd">
< html> < head>
< meta http-equiv= "Content-Type" content= "text/html; charset=utf-8">
< link rel= 'stylesheet' type= 'text/css' href= 'postfix-doc.css'>
< title> Postfix manual - pipe(DBUG_RETURN(;
</ head> < body> < pre>
PIPE( 8) PIPE( 8)
< b>< a name= "name">NAME</ a></ b>
pipe - Postfix delivery to external command
< b>< a name= "synopsis">SYNOPSIS</ a></ b>
< b>pipe</ b> [generic Postfix daemon options] command_attributes...
< b>< a name= "description">DESCRIPTION</ a></ b>
The < a href= "pipe.8.html">< b>pipe</ b>( 8)</ a> daemon processes requests from the Postfix queue mana ger to
deliver messages to external commands. This program expects to be run
from the <a href="master.8.html"><b>master</b>(8)</a> process manager.
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 java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 1
The <a href="pipe.8.html"><b>pipe</b>(8)</a> daemon updates queue files and marks recipients as fin-
ished, or it informs the queue manager that delivery should be tried
again at a later time. Delivery status reports are sent to the
<a href=" Manually truncate the table.
<b><a name="single-recipient_delivery">SINGLE-RECIPIENT DELIVERY</a></b>
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 <b>Delivered-to:</b>
or <b>X-Original-To:</b> message header.
To prevent Postfix from sending multiple recipients per delivery
request, specify
<b><a href="postconf.5.html#transport_destination_recipient_limit"><i>transport</i>_destination_recipient_limit</a> = 1</b>
in the Postfix <a href="postconf.5.html"><b>main.cf</b></a> file, where <i>transport</i> is the name in the first
column of the Postfix <a href="master.5.html"><b>master.cf</b></a> entry for the pipe-based delivery
transport.
<b><a name="command_attribute_syntax">COMMAND ATTRIBUTE SYNTAX</a></b>
The external command attributes are given in the <a href="master.5.html"><b>master.cf</b></a> file at the
end of a service definition. The syntax is as follows:
<b>chroot=</b><i>pathname</i> (optional)
Change the process root directory and working directory to the
named directory. This happens before switching to the privileges
specified with the <b>user</b> attribute, and before executing the
optional <b>directory=</b><i>pathname</i> directive. Delivery is deferred in
case of failure.
This feature is available as of Postfix 2.3.
<b>directory=</b><i>pathname</i> (optional)
Change to the named directory before executing the external com-
mand. The directory must be accessible for the user specified
with the <b>user</b> attribute (see below). The default working direc-
tory is <b>$<a href="postconf.5.html#queue_directory">queue_directory</a></b>. Delivery is deferred in case of fail-
ure.
This feature is available as of Postfix 2.2.
<b>eol=</b><i>string</i> (optional,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
The output record delimiter. Typically one would use either <b>\r\n</b>
or <b>\n</b>. The
nized: <b>\a \b \f \n \r \t \v \</b><i>ddd</i> (up to three octal digits) and
<b>\\</b>.
<b>flags=BDFORXhqu.</b>> (optional)
Optional message processing flags. By default, a message is
copied unchanged.
<*/
required by some mail user agents that recognize "<b>From</b> "
lines only when preceded by a blank line.
<b>D</b> Prepend a "<b>Delivered-To:</b> <i>recipient</i>" message header with
envelope recipient address. thisto ,
the <b><a href="postconf.5.html#transport_destination_recipient_limit"><i>transport</i>_destination_recipient_limit</a></b> must be 1 (see
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 1
The
later): if a message already contains a <b>Delivered-To:</b>
header with the same recipient address, then the message
isreturned as The java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 78
case insensitive.
This feature
<b>F</b> Prepend a "<b>From</b> <i>sender time</i><b>_</b><i>stamp</i>" envelope header java.lang.StringIndexOutOfBoundsException: Range [0, 109) out of bounds for length 4
message content. This is expected by, for example, <b>UUCP</b>
software.
<b>O</b> Prepend an "<b>X-Original-To:</b> <i>recipient</i>" message header with
the recipient address as given to Postfix. Note: for this
to work, the <b><a href="postconf.5.html#transport_destination_recipient_limit"><i>transport</i>_destination_recipient_limit</a></b> must
be 1 (see SINGLE-RECIPIENT DELIVERY above for details).
This feature is available as of Postfix 2.0.
<b>R</b> Prepend a <b>Return-Path:</b> message header with the envelope
sender address.
<b>X</b> Indicate that the external command performs final deliv-
ery. This flag affects the status reported in "success"
DSN (delivery status notification) messages, and changes
it from "relayed" into "delivered".
This feature is available as of Postfix 2.5.
<b>h</b> Fold the command-line <b>$original_recipient</b> and <b>$recipient</b>
address domain part (text to the right of the right-most
<b>@</b> character) to lower case; fold the entire command-line
<b$domain<b> <b></>ordomain informationto
case. This is recommended for delivery via <b>UUCP</b>.
<b>q</b> Quote white space and other special characters in the
command-line <b>$sender</b>, <b>$original_recipient</b> and <b>$recipient</b>
address localparts (text to the left of the right-most <b>@</b>
character), according to an 8-bit transparent version of
<a href="https://tools.ietf
<b>BSMTP</b>.
The result is compatible with the address parsing of com-
mand-linefile
mission command.
The <b>q</b> flag affects only entire addresses, not the partial
address information from
<b>box</b> command-line macros.
<b>u</b> Fold the command-line <b>$original_recipient</b> and <b>$recipient</b>
address localpart (text to the left of the right-most <b>@</b>
character) to lower case. This is recommended for deliv-
ery via <b>UUCP</b>.
<b>.</b> Prepend "<b>.</b>" to lines starting with "<b>.</b>". This is needed
by, for example, <b>BSMTP</b> software.
> Prepend ">" to lines starting with "<b>From</b> ". This is
expected by, for example, <java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 25
<b>null_sender</b>=<i>replacement</i> (default: MAILER-DAEMON)
Replace the null sender address (typically used for delivery
status notifications) with the specified text when expanding the
<b>$sender</b> java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 17
Return-Path: message header.
If the null sender replacement text is a non-empty string then
it is affected by the <b>q</b> flag for address quoting in command-line
arguments.
The null sender replacement textjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ommended for content filters that feed mail back into Postfix.
The empty sender address is not affected by the <b>q</b> The empty sender address is not affected by the <b>q</b> flag
address quoting in command-line arguments.
aution: a null sender address iseasilymis-bynaive
software. For example, when the <a href="pipe.8.html"><b>pipe</b>(8)</a> daemon executes a com-
mand such as:
<i>Wrong</i>: command -f$sender -- $recipient
the command will mis-parse the -f option value when the sender
address is a null string. For correct parsing, specify <b>$sender</b>
as an argument by itself:
<i>Right</i>: command -f $sender -- $recipient
NOTE: DO NOT put quotes around the command, $sender, or $recipi-
@Autojava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 75
This feature is available as of Postfix 2.3.
<b>size</b>=<i>size<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Don't deliver messages that exceed this sizeALTER TABLE t TRUNCATE PARTITION ...
return them to the sender instead.
<b>user</b>=<i>username</i> (required)
<b>user</b>=<i>username</i>:<i>groupname</i>
Execute the external java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 2
softwarerefusesto execute com-
mands with root privileges, or with the privileges of the mail
system owner. If <i>groupname</i> is specified, the corresponding group
ID is used instead of {
<b>argv</b>=<i>command</i>... (required)
The command to be executed. This must be specified as the last
command attribute. The command is executed directly, i.e. with-
out interpretation of shell meta characters interror= ;
interpreter.
Specify "{" and "}" around command arguments that contain white-
space, arguments that begin with "{", or arguments that must be
an empty string (Postfix 3.0 List_iterator<partition_element> part_it(m_part_info->partitions);
will be removed, together with any leading or trailing white-
space in the remaining text.
In the command argument vector, the following macros are recog-
nized and replaced with corresponding information from the Post-
fix queue manager delivery request.
In addition to the form ${<i>name</i>}, the forms num_subparts >um_subparts;
cated form $(<i>name</i>) are also recognized. Specify <b>$$</b> where a sin-
gle <b>$</b> is wanted.
<b>${client_address}</b>
i=;
This feature is available as of Postfix 2.2.
<b>${client_helo}</b>
This macro expands to the remote DBUG_ENTER(":")java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
parameter.
This feature is available as
<b>${client_hostname}</b>
This macro expands to the remote client hostname.
This feature is available as of Postfix 2.2.
<b>${client_port}</b>
This macro expands to the remote client TCP port number.
This feature is available as of Postfix 2.5.
<b>${client_protocol}</b>
This to remote java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 70
This feature is available as of Postfix 2.2.
<b>${domain}</b>
This macro expands
address. For example, with an address <i>user+foo@domain</i>
the domain is <i>domain</i>.
This information is modified by the <b>h</b> flag for case fold-
ing.
This feature is available as of Postfix 2.5.
<b>${envid}</b>
This macro expands to the <a href="https://tools.ietf.org/html/rfc3461">RFC 3461</a> envelope ID if avail-
able, otherwise the empty string.
This feature is available as of Postfix 3.9.
<b>${extension}</b
This macro expands to the extension part of a recipient
address. For example, with an address <i>user+foo@domain</i>
the extension is /*
command-ineargument thatcontains b>{}<>
expands into as many command-line arguments as there are
recipients.
This information is modified by the <b>u</java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 35
ing.
<b>${mailbox}</b>
This macro expands to the complete local part of a recip-
ient address. For example, with an address
<i>user+foo@domain</i> the mailbox is <i>user+foo</i>.
A command-line argument that contains <b>${mailbox} unlock_auto_increment()java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
to as many command-line arguments as there are recipi-
ents.
This information is modified by the <b>u</b> flag for case fold-
ing.
<b>${nexthop}</b>
This macro expands to the next-hop hostname.
This information is modified by the <b>h</b> flag for case fold-
ing.
<b>${
This macro expands to the complete recipient address
before any address rewriting or aliasing.
A command-line argument that java.lang.StringIndexOutOfBoundsException: Range [0, 59) out of bounds for length 4
<b>ent}</b> expands to as many command-line arguments as there
are recipients.
This information is modified by the <b>hqu</b> flags for quoting
and case folding.
This feature is available as of Postfix 2.5.
<b>${queue_id}</b>
This macro expands to the queue id.
This feature is available as of Postfix 2.11.
<b>${recipient}</b>
This macro expands to the complete recipient address.
A command-line argument that contains <b>${recipient}</b>
expands to as many command-line arguments as there are
recipients.
This information is modified by the <b>hqu</b {
and case folding.
<b>${sasl_method}</b>
This macro expands to the name of the SASL authentication
mechanism in the AUTH command when the Postfix SMTP
java.lang.StringIndexOutOfBoundsException: Range [40, 36) out of bounds for length 49
This feature is available as of Postfix 2.2.
<b>${sasl_sender}</b>
This macro expands to the SASL sender name (i.e. the
original submitter as per <a href="https://tools.ietf.org/html/rfc4954">RFC 4954</a>) in the MAIL FROM com-
mand when the Postfix SMTP server received the message.
This feature is available as of Postfix 2.2.
<b>${sasl_username}</b>
This macro expands to the SASL user name in the AUTH com-
mand when the Postfix SMTP server received the message.
This feature is available as of Postfix 2.2.
<b>${sender}</b>
This macro expands to the envelope sender address. By
default, the null sender address expands to MAILER-DAE-
MON; this can be changed with the <b>null_sender</b> attribute,
as described above.
This information is modified by the <b>q</b> flag for quoting.
<b>${size}</b>
This macro expands to Postfix's idea of the message size,
which is an approximation of the size of the message as
delivered.
<b>${user}</b>
This macro expands to the username part of a recipient
address. For example, with an address <i>user+foo@domain</i>
the username part is <i>user</i>.
A command-line argument that contains <b>${user}</b> expands
into as many command-line arguments as there are recipi-
ents.
This information is modified by the <b>u</b> flag for case fold-
ing.
<b><a name="standards">STANDARDS</a></b>
<a href="https://tools.ietf.org/html/rfc3463">RFC 3463</a> (Enhanced status codes)
<b><a name="diagnostics">DIAGNOSTICS</a></b>
Command exit status codes are expected to follow the conventions
defined in <<b>sysexits.h</b>>. Exit status 0 means normal successful comple-
tion.
In the case of a non-zero exit status, a limited amount of command out-
put is logged, and reported in a delivery status notification. When
the output begins with a 4.X.X or 5.X.X enhanced status code, the sta-
tus code takes precedence over the non-zero exit status (java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 62
sion 2.3 andpart,sub_elemjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 67
After successful delivery (zero exit status) a limited amount of com-
mand output is logged, and reported in "success" delivery status noti-
fications (Postfix 3.0 and java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 18
for the presence of an enhanced status code.
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
Corrupted message files are marked so that the queue manager can move
them to the <b>corrupt</b> queue for further inspection.
<b><a name="security">SECURITY</a></b>
This program needs a dual personality 1 } (+ <java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 37
queue and IPC mechanisms, and 2) to execute external java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 7
specified user. It is therefore security sensitive.
<belse
Changes to <a href="postconf.5.html"><b>main.cf</b></a> are picked up automatically as <a href="pipe.8.html"><b>pipe</b>(8)</a> processes run
for only a limited amount of time. Use the command "<b>postfix reload</b>" to
upa change.
The text below provides only a parameter summary. See <a href="postconf.5.html"><b>postconf</b>(5)</a> for
.
<b><a name="resource_and_rate_controls">RESOURCE AND RATE CONTROLS</a></b>
In the text below, <i>transport</i> is the first field in a <a href error=m_file[]>a_truncate(;
<b><a href="postconf.5.html#transport_time_limit">transport_time_limit</a> ($<a href="postconf.5.html#command_time_limit">command_time_limit</a>)</b>
transport-pecificoverride forthe5.command_time_limit>command_time_limit</>parame-
ter value, where <i>transport</i> is the <a href="master.5.html">master.cf</a> name of the message
delivery transport.
Implemented in the <a href="qmgr.8.html">qmgr(8)</a> daemon:
<b><a href="postconf.5.html#java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 2
<b><a href="postconf.5.m_bulk_inserted_rows=0
A transport-specific override for the <a href="postconf.5.html#default_destination_concurrency_limit">default_destination_con</a>-
<a href="postconf.5.html#default_destination_concurrency_limit">currency_limit</a> parameter value, where <i>transport</i> is the <a href="master.5.html">master.cf</a>
name of the message delivery transport.
<b><a href="postconf.5.html#transport_destination_recipient_limit">transport_destination_recipient_limit</a> ($<a href="postconf.5.html#java.lang.StringIndexOutOfBoundsException: Index 173 out of bounds for length 54
<b><a href="postconf.5.html#default_destination_recipient_limit">ent_limit</a>)</b>
A transport-specific override for the <a href="java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
<a href="postconf.5.html#default_destination_recipient_limit">ient_limit</a> parameter value, where <i>transport</i
name of the message delivery transport.
<b><a name="miscellaneous_controls">MISCELLANEOUS CONTROLS</a></b>
<b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
The default location of the < hrefcf<a> and <a href=master..html">astercf<a> con-
figuration files.
<b><a href="postconf.5.html#daemon_timeout">daemon_timeout</a> (18000s)</b>
How much time a Postfix daemon process may take to handle a
request before it is terminated by a built-in watchdog timer.
<b><a href="postconf.5.html#delay_logging_resolution_limit">delay_logging_resolution_limit</a> (2)</b>
The maximal number of digits after the decimal point when log-
ging delay values.
<b><a href="postconf.5.html#export_environment">export_environment</a> (see 'postconf -d' output)</b>
The list of environment variables that a Postfix process will
export to non-Postfix processes.
<b><a href="postconf.5.html#ipc_timeout">ipc_timeout</a> (3600s)</b>
The time limit for sending or receiving information over an
internal communication channel.
<b><a href="postconf.5.html#mail_owner">mail_owner</a> (postfix)</b>
The UNIX system account that owns the Postfix queue and most
Postfix daemon processes.
java.lang.StringIndexOutOfBoundsException: Range [17, 7) out of bounds for length 68
The maximum amount of time that an idle/
waits for an incoming connection before terminating voluntarily.
<b><a href="postconf.5.html#void ha_partition::start_part_bulk_insertjava.lang.StringIndexOutOfBoundsException: Range [45, 41) out of bounds for length 65
The maximal number of incoming connections that a Postfix daemon
process will service before terminating voluntarily.
<b><a href="postconf.5.html#process_id">process_id</a> (read-only)</b>
The process ID of a Postfix command or daemon process.
<b><a href="postconf.5.html#process_name">process_name</a> (read-only)</b>
The process name of a Postfix command or daemon process.
"java.lang.StringIndexOutOfBoundsException: Range [71, 67) out of bounds for length 102
The location of the Postfix top-level queue directory.
<b><a href="postconf.5.html#recipient_delimiter">recipient_delimiter</a> (empty)</b>
The set of characters that can separate an email address local-
part, user name, or a .forward file name from its extension.
<b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b>
The syslog facility of Postfix logging.
<b><a href="postconf.5.html#syslog_name">syslog_name</a> (see 'postconf -d' output)</b old_buffer_size=thd-r;
A prefix that is prepended to the process name in syslog
records, so that, for example, "smtpd" java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 52
Available in Postfix version 3.0 and later:
<b><href="postconf.5.html#pipe_delivery_status_filter">pipe_delivery_status_filter</a> ($<a href="postconf.5.html#default_delivery_status_filter">default_delivery_status_filter</a>)</b>
Optional filter for the <a href="pipe.8.html"><b>pipe</b>(8)</a> delivery agent to java.lang.StringIndexOutOfBoundsException: Index 104 out of bounds for length 68
delivery status code or explanatory text of successful or unsuc-
cessful deliveries.
Available in Postfix version 3.3 and later:
thd-=;
Enable support for the original recipient address after an
address is rewritten to a different address (for example with
aliasing or with canonical mapping).
<b><a href="postconf.5.html#service_name">service_name</a> (read-only)</b>
The <a href="master.5.html">master.cf</a> service name of a Postfix daemon process.
Available in Postfix 3.5 and later:
<b><a href="postconf.5.html#info_log_address_format">info_log_address_format</a> (external)</b>
The email address java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 0
(info, warning, etc.).
<b><a name="see_also">SEE ALSO</a></b>
<a href="qmgr.8.html">qmgr(8)</a>, queue manager
java.lang.StringIndexOutOfBoundsException: Range [10, 7) out of bounds for length 69
configuration parameters
<a href="master.5.html">master(5)</a>, generic daemon options
<a href="master.8.html">master(8)</a>, process manager
<a href="postlogd.8.html">postlogd SYNOPSIS
syslogd(8), system logging
<b>< ha_partition:estimate_read_buffer_size)
The Secure Mailer license must be distributed with this software.
<b>AUTHOR(S)</b>
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
PIPE(8)
</pre> </body> </html>
¤ Dauer der Verarbeitung: 0.169 Sekunden
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|
|
|
|
|