1<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN" 2 "http://www.w3.org/TR/html4/loose.dtd"> 3<html> <head> 4<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5<link rel='stylesheet' type='text/css' href='postfix-doc.css'> 6<title> Postfix manual - bounce(8) </title> 7</head> <body> <pre> 8BOUNCE(8) BOUNCE(8) 9 10<b>NAME</b> 11 bounce - Postfix delivery status reports 12 13<b>SYNOPSIS</b> 14 <b>bounce</b> [generic Postfix daemon options] 15 16<b>DESCRIPTION</b> 17 The <a href="bounce.8.html"><b>bounce</b>(8)</a> daemon maintains per-message log files with delivery sta- 18 tus information. Each log file is named after the queue file that it 19 corresponds to, and is kept in a queue subdirectory named after the 20 service name in the <a href="master.5.html"><b>master.cf</b></a> file (either <b>bounce</b>, <b>defer</b> or <b>trace</b>). 21 This program expects to be run from the <a href="master.8.html"><b>master</b>(8)</a> process manager. 22 23 The <a href="bounce.8.html"><b>bounce</b>(8)</a> daemon processes two types of service requests: 24 25 <b>o</b> Append a recipient (non-)delivery status record to a per-message 26 log file. 27 28 <b>o</b> Enqueue a delivery status notification message, with a copy of a 29 per-message log file and of the corresponding message. When the 30 delivery status notification message is enqueued successfully, 31 the per-message log file is deleted. 32 33 The software does a best notification effort. A non-delivery notifica- 34 tion is sent even when the log file or the original message cannot be 35 read. 36 37 Optionally, a bounce (defer, trace) client can request that the 38 per-message log file be deleted when the requested operation fails. 39 This is used by clients that cannot retry transactions by themselves, 40 and that depend on retry logic in their own client. 41 42<b>STANDARDS</b> 43 <a href="https://tools.ietf.org/html/rfc822">RFC 822</a> (ARPA Internet Text Messages) 44 <a href="https://tools.ietf.org/html/rfc2045">RFC 2045</a> (Format of Internet Message Bodies) 45 <a href="https://tools.ietf.org/html/rfc2822">RFC 2822</a> (Internet Message Format) 46 <a href="https://tools.ietf.org/html/rfc3462">RFC 3462</a> (Delivery Status Notifications) 47 <a href="https://tools.ietf.org/html/rfc3464">RFC 3464</a> (Delivery Status Notifications) 48 <a href="https://tools.ietf.org/html/rfc3834">RFC 3834</a> (Auto-Submitted: message header) 49 <a href="https://tools.ietf.org/html/rfc5322">RFC 5322</a> (Internet Message Format) 50 <a href="https://tools.ietf.org/html/rfc6531">RFC 6531</a> (Internationalized SMTP) 51 <a href="https://tools.ietf.org/html/rfc6532">RFC 6532</a> (Internationalized Message Format) 52 <a href="https://tools.ietf.org/html/rfc6533">RFC 6533</a> (Internationalized Delivery Status Notifications) 53 54<b>DIAGNOSTICS</b> 55 Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>. 56 57<b>CONFIGURATION PARAMETERS</b> 58 Changes to <a href="postconf.5.html"><b>main.cf</b></a> are picked up automatically, as <a href="bounce.8.html"><b>bounce</b>(8)</a> processes 59 run for only a limited amount of time. Use the command "<b>postfix reload</b>" 60 to speed up a change. 61 62 The text below provides only a parameter summary. See <a href="postconf.5.html"><b>postconf</b>(5)</a> for 63 more details including examples. 64 65 <b><a href="postconf.5.html#2bounce_notice_recipient">2bounce_notice_recipient</a> (postmaster)</b> 66 The recipient of undeliverable mail that cannot be returned to 67 the sender. 68 69 <b><a href="postconf.5.html#backwards_bounce_logfile_compatibility">backwards_bounce_logfile_compatibility</a> (yes)</b> 70 Produce additional <a href="bounce.8.html"><b>bounce</b>(8)</a> logfile records that can be read by 71 Postfix versions before 2.0. 72 73 <b><a href="postconf.5.html#bounce_notice_recipient">bounce_notice_recipient</a> (postmaster)</b> 74 The recipient of postmaster notifications with the message head- 75 ers of mail that Postfix did not deliver and of SMTP conversa- 76 tion transcripts of mail that Postfix did not receive. 77 78 <b><a href="postconf.5.html#bounce_size_limit">bounce_size_limit</a> (50000)</b> 79 The maximal amount of original message text that is sent in a 80 non-delivery notification. 81 82 <b><a href="postconf.5.html#bounce_template_file">bounce_template_file</a> (empty)</b> 83 Pathname of a configuration file with bounce message templates. 84 85 <b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b> 86 The default location of the Postfix <a href="postconf.5.html">main.cf</a> and <a href="master.5.html">master.cf</a> con- 87 figuration files. 88 89 <b><a href="postconf.5.html#daemon_timeout">daemon_timeout</a> (18000s)</b> 90 How much time a Postfix daemon process may take to handle a 91 request before it is terminated by a built-in watchdog timer. 92 93 <b><a href="postconf.5.html#delay_notice_recipient">delay_notice_recipient</a> (postmaster)</b> 94 The recipient of postmaster notifications with the message head- 95 ers of mail that cannot be delivered within $<a href="postconf.5.html#delay_warning_time">delay_warning_time</a> 96 time units. 97 98 <b><a href="postconf.5.html#deliver_lock_attempts">deliver_lock_attempts</a> (20)</b> 99 The maximal number of attempts to acquire an exclusive lock on a 100 mailbox file or <a href="bounce.8.html"><b>bounce</b>(8)</a> logfile. 101 102 <b><a href="postconf.5.html#deliver_lock_delay">deliver_lock_delay</a> (1s)</b> 103 The time between attempts to acquire an exclusive lock on a 104 mailbox file or <a href="bounce.8.html"><b>bounce</b>(8)</a> logfile. 105 106 <b><a href="postconf.5.html#ipc_timeout">ipc_timeout</a> (3600s)</b> 107 The time limit for sending or receiving information over an 108 internal communication channel. 109 110 <b><a href="postconf.5.html#internal_mail_filter_classes">internal_mail_filter_classes</a> (empty)</b> 111 What categories of Postfix-generated mail are subject to 112 before-queue content inspection by <a href="postconf.5.html#non_smtpd_milters">non_smtpd_milters</a>, 113 <a href="postconf.5.html#header_checks">header_checks</a> and <a href="postconf.5.html#body_checks">body_checks</a>. 114 115 <b><a href="postconf.5.html#mail_name">mail_name</a> (Postfix)</b> 116 The mail system name that is displayed in Received: headers, in 117 the SMTP greeting banner, and in bounced mail. 118 119 <b><a href="postconf.5.html#max_idle">max_idle</a> (100s)</b> 120 The maximum amount of time that an idle Postfix daemon process 121 waits for an incoming connection before terminating voluntarily. 122 123 <b><a href="postconf.5.html#max_use">max_use</a> (100)</b> 124 The maximal number of incoming connections that a Postfix daemon 125 process will service before terminating voluntarily. 126 127 <b><a href="postconf.5.html#notify_classes">notify_classes</a> (resource, software)</b> 128 The list of error classes that are reported to the postmaster. 129 130 <b><a href="postconf.5.html#process_id">process_id</a> (read-only)</b> 131 The process ID of a Postfix command or daemon process. 132 133 <b><a href="postconf.5.html#process_name">process_name</a> (read-only)</b> 134 The process name of a Postfix command or daemon process. 135 136 <b><a href="postconf.5.html#queue_directory">queue_directory</a> (see 'postconf -d' output)</b> 137 The location of the Postfix top-level queue directory. 138 139 <b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b> 140 The syslog facility of Postfix logging. 141 142 <b><a href="postconf.5.html#syslog_name">syslog_name</a> (see 'postconf -d' output)</b> 143 A prefix that is prepended to the process name in syslog 144 records, so that, for example, "smtpd" becomes "prefix/smtpd". 145 146 Available in Postfix 3.0 and later: 147 148 <b><a href="postconf.5.html#smtputf8_autodetect_classes">smtputf8_autodetect_classes</a> (sendmail, verify)</b> 149 Detect that a message requires SMTPUTF8 support for the speci- 150 fied mail origin classes. 151 152 Available in Postfix 3.3 and later: 153 154 <b><a href="postconf.5.html#service_name">service_name</a> (read-only)</b> 155 The <a href="master.5.html">master.cf</a> service name of a Postfix daemon process. 156 157 Available in Postfix 3.6 and later: 158 159 <b><a href="postconf.5.html#enable_threaded_bounces">enable_threaded_bounces</a> (no)</b> 160 Enable non-delivery, success, and delay notifications that link 161 to the original message by including a References: and 162 In-Reply-To: header with the original Message-ID value. 163 164 Available in Postfix 3.7 and later: 165 166 <b><a href="postconf.5.html#header_from_format">header_from_format</a> (standard)</b> 167 The format of the Postfix-generated <b>From:</b> header. 168 169<b>FILES</b> 170 /var/spool/postfix/bounce/* non-delivery records 171 /var/spool/postfix/defer/* non-delivery records 172 /var/spool/postfix/trace/* delivery status records 173 174<b>SEE ALSO</b> 175 <a href="bounce.5.html">bounce(5)</a>, bounce message template format 176 <a href="qmgr.8.html">qmgr(8)</a>, queue manager 177 <a href="postconf.5.html">postconf(5)</a>, configuration parameters 178 <a href="master.5.html">master(5)</a>, generic daemon options 179 <a href="master.8.html">master(8)</a>, process manager 180 <a href="postlogd.8.html">postlogd(8)</a>, Postfix logging 181 syslogd(8), system logging 182 183<b>LICENSE</b> 184 The Secure Mailer license must be distributed with this software. 185 186<b>AUTHOR(S)</b> 187 Wietse Venema 188 IBM T.J. Watson Research 189 P.O. Box 704 190 Yorktown Heights, NY 10598, USA 191 192 Wietse Venema 193 Google, Inc. 194 111 8th Avenue 195 New York, NY 10011, USA 196 197 BOUNCE(8) 198</pre> </body> </html> 199