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 - discard(8) </title> 7</head> <body> <pre> 8DISCARD(8) DISCARD(8) 9 10<b>NAME</b> 11 discard - Postfix discard mail delivery agent 12 13<b>SYNOPSIS</b> 14 <b>discard</b> [generic Postfix daemon options] 15 16<b>DESCRIPTION</b> 17 The Postfix <a href="discard.8.html"><b>discard</b>(8)</a> delivery agent processes delivery requests from 18 the queue manager. Each request specifies a queue file, a sender 19 address, a next-hop destination that is treated as the reason for dis- 20 carding the mail, and recipient information. The reason may be pre- 21 fixed with an <a href="https://tools.ietf.org/html/rfc3463">RFC 3463</a>-compatible detail code. This program expects to 22 be run from the <a href="master.8.html"><b>master</b>(8)</a> process manager. 23 24 The <a href="discard.8.html"><b>discard</b>(8)</a> delivery agent pretends to deliver all recipients in the 25 delivery request, logs the "next-hop" destination as the reason for 26 discarding the mail, updates the queue file, and either marks recipi- 27 ents as finished or informs the queue manager that delivery should be 28 tried again at a later time. 29 30 Delivery status reports are sent to the <a href="trace.8.html"><b>trace</b>(8)</a> daemon as appropriate. 31 32<b>SECURITY</b> 33 The <a href="discard.8.html"><b>discard</b>(8)</a> mailer is not security-sensitive. It does not talk to 34 the network, and can be run chrooted at fixed low privilege. 35 36<b>STANDARDS</b> 37 <a href="https://tools.ietf.org/html/rfc3463">RFC 3463</a> (Enhanced Status Codes) 38 39<b>DIAGNOSTICS</b> 40 Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>. 41 42 Depending on the setting of the <b><a href="postconf.5.html#notify_classes">notify_classes</a></b> parameter, the postmas- 43 ter is notified of bounces and of other trouble. 44 45<b>CONFIGURATION PARAMETERS</b> 46 Changes to <a href="postconf.5.html"><b>main.cf</b></a> are picked up automatically as <a href="discard.8.html"><b>discard</b>(8)</a> processes 47 run for only a limited amount of time. Use the command "<b>postfix reload</b>" 48 to speed up a change. 49 50 The text below provides only a parameter summary. See <a href="postconf.5.html"><b>postconf</b>(5)</a> for 51 more details including examples. 52 53 <b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b> 54 The default location of the Postfix <a href="postconf.5.html">main.cf</a> and <a href="master.5.html">master.cf</a> con- 55 figuration files. 56 57 <b><a href="postconf.5.html#daemon_timeout">daemon_timeout</a> (18000s)</b> 58 How much time a Postfix daemon process may take to handle a 59 request before it is terminated by a built-in watchdog timer. 60 61 <b><a href="postconf.5.html#delay_logging_resolution_limit">delay_logging_resolution_limit</a> (2)</b> 62 The maximal number of digits after the decimal point when log- 63 ging sub-second delay values. 64 65 <b><a href="postconf.5.html#double_bounce_sender">double_bounce_sender</a> (double-bounce)</b> 66 The sender address of postmaster notifications that are gener- 67 ated by the mail system. 68 69 <b><a href="postconf.5.html#ipc_timeout">ipc_timeout</a> (3600s)</b> 70 The time limit for sending or receiving information over an 71 internal communication channel. 72 73 <b><a href="postconf.5.html#max_idle">max_idle</a> (100s)</b> 74 The maximum amount of time that an idle Postfix daemon process 75 waits for an incoming connection before terminating voluntarily. 76 77 <b><a href="postconf.5.html#max_use">max_use</a> (100)</b> 78 The maximal number of incoming connections that a Postfix daemon 79 process will service before terminating voluntarily. 80 81 <b><a href="postconf.5.html#process_id">process_id</a> (read-only)</b> 82 The process ID of a Postfix command or daemon process. 83 84 <b><a href="postconf.5.html#process_name">process_name</a> (read-only)</b> 85 The process name of a Postfix command or daemon process. 86 87 <b><a href="postconf.5.html#queue_directory">queue_directory</a> (see 'postconf -d' output)</b> 88 The location of the Postfix top-level queue directory. 89 90 <b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b> 91 The syslog facility of Postfix logging. 92 93 <b><a href="postconf.5.html#syslog_name">syslog_name</a> (see 'postconf -d' output)</b> 94 A prefix that is prepended to the process name in syslog 95 records, so that, for example, "smtpd" becomes "prefix/smtpd". 96 97 Available in Postfix 3.3 and later: 98 99 <b><a href="postconf.5.html#service_name">service_name</a> (read-only)</b> 100 The <a href="master.5.html">master.cf</a> service name of a Postfix daemon process. 101 102<b>SEE ALSO</b> 103 <a href="qmgr.8.html">qmgr(8)</a>, queue manager 104 <a href="bounce.8.html">bounce(8)</a>, delivery status reports 105 <a href="error.8.html">error(8)</a>, Postfix error delivery agent 106 <a href="postconf.5.html">postconf(5)</a>, configuration parameters 107 <a href="master.5.html">master(5)</a>, generic daemon options 108 <a href="master.8.html">master(8)</a>, process manager 109 <a href="postlogd.8.html">postlogd(8)</a>, Postfix logging 110 syslogd(8), system logging 111 112<b>LICENSE</b> 113 The Secure Mailer license must be distributed with this software. 114 115<b>HISTORY</b> 116 This service was introduced with Postfix version 2.2. 117 118<b>AUTHOR(S)</b> 119 Victor Duchovni 120 Morgan Stanley 121 122 Based on code by: 123 Wietse Venema 124 IBM T.J. Watson Research 125 P.O. Box 704 126 Yorktown Heights, NY 10598, USA 127 128 Wietse Venema 129 Google, Inc. 130 111 8th Avenue 131 New York, NY 10011, USA 132 133 DISCARD(8) 134</pre> </body> </html> 135