This file is indexed.

/usr/share/doc/postfix/html/postsuper.1.html is in postfix-doc 2.9.6-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title> Postfix manual - postsuper(1) </title>
</head> <body> <pre>
POSTSUPER(1)                                                      POSTSUPER(1)

<b>NAME</b>
       postsuper - Postfix superintendent

<b>SYNOPSIS</b>
       <b>postsuper</b> [<b>-psSv</b>] [<b>-c</b> <i>config</i><b>_</b><i>dir</i>] [<b>-d</b> <i>queue</i><b>_</b><i>id</i>]
               [<b>-h</b> <i>queue</i><b>_</b><i>id</i>] [<b>-H</b> <i>queue</i><b>_</b><i>id</i>]
               [<b>-r</b> <i>queue</i><b>_</b><i>id</i>] [<i>directory ...</i>]

<b>DESCRIPTION</b>
       The  <a href="postsuper.1.html"><b>postsuper</b>(1)</a>  command  does  maintenance  jobs on the
       Postfix queue. Use of the command  is  restricted  to  the
       superuser.   See the <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command for unprivileged
       queue operations such as  listing  or  flushing  the  mail
       queue.

       By default, <a href="postsuper.1.html"><b>postsuper</b>(1)</a> performs the operations requested
       with the <b>-s</b> and <b>-p</b> command-line  options  on  all  Postfix
       queue directories - this includes the <b>incoming</b>, <b>active</b> and
       <b>deferred</b> directories  with  mail  files  and  the  <b>bounce</b>,
       <b>defer</b>, <b>trace</b> and <b>flush</b> directories with log files.

       Options:

       <b>-c</b> <i>config</i><b>_</b><i>dir</i>
              The  <a href="postconf.5.html"><b>main.cf</b></a>  configuration  file  is  in the named
              directory  instead  of  the  default  configuration
              directory.  See  also  the  MAIL_CONFIG environment
              setting below.

       <b>-d</b> <i>queue</i><b>_</b><i>id</i>
              Delete one message with the named queue ID from the
              named   mail  queue(s)  (default:  <b>hold</b>,  <b>incoming</b>,
              <b>active</b> and <b>deferred</b>).

              If a <i>queue</i><b>_</b><i>id</i> of <b>-</b> is specified, the program  reads
              queue  IDs  from  standard  input.  For example, to
              delete  all  mail  with   exactly   one   recipient
              <b>user@example.com</b>:

              mailq | tail +2 | grep -v '^ *(' | awk  'BEGIN { RS = "" }
                  # $7=sender, $8=recipient1, $9=recipient2
                  { if ($8 == "user@example.com" &amp;&amp; $9 == "")
                        print $1 }
              ' | tr -d '*!' | postsuper -d -

              Specify  "<b>-d ALL</b>" to remove all messages; for exam-
              ple, specify "<b>-d ALL deferred</b>" to delete  all  mail
              in  the  <b>deferred</b>  queue.  As a safety measure, the
              word <b>ALL</b> must be specified in upper case.

              Warning: Postfix queue IDs are reused (always  with
              Postfix  &lt;=  2.8;  and  with  Postfix  &gt;=  2.9 when
              <a href="postconf.5.html#enable_long_queue_ids">enable_long_queue_ids</a>=no).  There is a  very  small
              possibility  that  postsuper deletes the wrong mes-
              sage file when it is  executed  while  the  Postfix
              mail system is delivering mail.

              The scenario is as follows:

              1)     The  Postfix  queue manager deletes the mes-
                     sage that <a href="postsuper.1.html"><b>postsuper</b>(1)</a> is asked  to  delete,
                     because Postfix is finished with the message
                     (it is delivered, or it is returned  to  the
                     sender).

              2)     New  mail  arrives,  and  the new message is
                     given the same queue ID as the message  that
                     <a href="postsuper.1.html"><b>postsuper</b>(1)</a>  is  supposed  to  delete.  The
                     probability for reusing a deleted  queue  ID
                     is about 1 in 2**15 (the number of different
                     microsecond values that the system clock can
                     distinguish within a second).

              3)     <a href="postsuper.1.html"><b>postsuper</b>(1)</a>   deletes   the   new  message,
                     instead of the old message  that  it  should
                     have deleted.

       <b>-h</b> <i>queue</i><b>_</b><i>id</i>
              Put  mail  "on  hold" so that no attempt is made to
              deliver it.  Move one message with the named  queue
              ID from the named mail queue(s) (default: <b>incoming</b>,
              <b>active</b> and <b>deferred</b>) to the <b>hold</b> queue.

              If a <i>queue</i><b>_</b><i>id</i> of <b>-</b> is specified, the program  reads
              queue IDs from standard input.

              Specify "<b>-h ALL</b>" to hold all messages; for example,
              specify "<b>-h ALL deferred</b>" to hold all mail  in  the
              <b>deferred</b>  queue.  As a safety measure, the word <b>ALL</b>
              must be specified in upper case.

              Note: while mail is "on hold" it  will  not  expire
              when  its  time  in  the  queue  exceeds  the <b><a href="postconf.5.html#maximal_queue_lifetime">maxi</a>-</b>
              <b><a href="postconf.5.html#maximal_queue_lifetime">mal_queue_lifetime</a></b>  or  <b><a href="postconf.5.html#bounce_queue_lifetime">bounce_queue_lifetime</a></b>  set-
              ting.  It becomes subject to expiration after it is
              released from "hold".

              This feature is available in Postfix 2.0 and later.

       <b>-H</b> <i>queue</i><b>_</b><i>id</i>
              Release mail that was put "on hold".  Move one mes-
              sage with the named queue ID from  the  named  mail
              queue(s) (default: <b>hold</b>) to the <b>deferred</b> queue.

              If  a <i>queue</i><b>_</b><i>id</i> of <b>-</b> is specified, the program reads
              queue IDs from standard input.

              Note: specify "<b>postsuper -r</b>" to release  mail  that
              was  kept  on  hold  for  a significant fraction of
              <b>$<a href="postconf.5.html#maximal_queue_lifetime">maximal_queue_lifetime</a></b> or  <b>$<a href="postconf.5.html#bounce_queue_lifetime">bounce_queue_lifetime</a></b>,
              or longer.

              Specify  "<b>-H  ALL</b>"  to release all mail that is "on
              hold".  As a safety measure, the word <b>ALL</b>  must  be
              specified in upper case.

              This feature is available in Postfix 2.0 and later.

       <b>-p</b>     Purge old temporary files that are left over  after
              system or software crashes.

       <b>-r</b> <i>queue</i><b>_</b><i>id</i>
              Requeue  the  message  with the named queue ID from
              the named mail queue(s) (default:  <b>hold</b>,  <b>incoming</b>,
              <b>active</b>  and  <b>deferred</b>).   To  requeue multiple mes-
              sages, specify multiple <b>-r</b> command-line options.

              Alternatively, if a <i>queue</i><b>_</b><i>id</i> of <b>-</b> is specified, the
              program reads queue IDs from standard input.

              Specify  "<b>-r  ALL</b>"  to  requeue  all messages. As a
              safety measure, the word <b>ALL</b> must be  specified  in
              upper case.

              A  requeued message is moved to the <b>maildrop</b> queue,
              from where  it  is  copied  by  the  <a href="pickup.8.html"><b>pickup</b>(8)</a>  and
              <a href="cleanup.8.html"><b>cleanup</b>(8)</a>  daemons  to  a  new queue file. In many
              respects its handling differs from that  of  a  new
              local submission.

              <b>o</b>      The   message   is   not  subjected  to  the
                     <a href="postconf.5.html#smtpd_milters">smtpd_milters</a> or <a href="postconf.5.html#non_smtpd_milters">non_smtpd_milters</a> settings.
                     When  mail  has  passed  through an external
                     content filter, this would produce incorrect
                     results with Milter applications that depend
                     on original SMTP connection  state  informa-
                     tion.

              <b>o</b>      The  message  is  subjected  again  to  mail
                     address rewriting and substitution.  This is
                     useful  when rewriting rules or virtual map-
                     pings have changed.

                     The  address  rewriting  context  (local  or
                     remote)  is the same as when the message was
                     received.

              <b>o</b>      The message is subjected to  the  same  <a href="postconf.5.html#content_filter">con</a>-
                     <a href="postconf.5.html#content_filter">tent_filter</a>  settings  (if  any) as used for
                     new local mail submissions.  This is  useful
                     when <a href="postconf.5.html#content_filter">content_filter</a> settings have changed.

              Warning:  Postfix queue IDs are reused (always with
              Postfix &lt;=  2.8;  and  with  Postfix  &gt;=  2.9  when
              <a href="postconf.5.html#enable_long_queue_ids">enable_long_queue_ids</a>=no).   There  is a very small
              possibility that <a href="postsuper.1.html"><b>postsuper</b>(1)</a>  requeues  the  wrong
              message  file when it is executed while the Postfix
              mail system is running, but no harm should be done.

              This feature is available in Postfix 1.1 and later.

       <b>-s</b>     Structure check and structure repair.  This  should
              be done once before Postfix startup.

              <b>o</b>      Rename  files  whose name does not match the
                     message file inode number. This operation is
                     necessary  after restoring a mail queue from
                     a different machine  or  from  backup,  when
                     queue files were created with Postfix &lt;= 2.8
                     or with "<a href="postconf.5.html#enable_long_queue_ids">enable_long_queue_ids</a> = no".

              <b>o</b>      Move queue files that are in the wrong place
                     in the file system hierarchy and remove sub-
                     directories that are no longer needed.  File
                     position  rearrangements are necessary after
                     a  change  in  the  <b><a href="postconf.5.html#hash_queue_names">hash_queue_names</a></b>  and/or
                     <b><a href="postconf.5.html#hash_queue_depth">hash_queue_depth</a></b> configuration parameters.

              <b>o</b>      Rename     queue    files    created    with
                     "<a href="postconf.5.html#enable_long_queue_ids">enable_long_queue_ids</a>  =  yes"   to   short
                     names, for migration to Postfix &lt;= 2.8.  The
                     procedure is as follows:

                     # postfix stop
                     # postconf <a href="postconf.5.html#enable_long_queue_ids">enable_long_queue_ids</a>=no
                     # postsuper

                     Run <a href="postsuper.1.html"><b>postsuper</b>(1)</a> repeatedly until  it  stops
                     reporting file name changes.

       <b>-S</b>     A  redundant  version of <b>-s</b> that requires that long
              file names also match the message file  inode  num-
              ber.  This  option exists for testing purposes, and
              is available with Postfix 2.9 and later.

       <b>-v</b>     Enable verbose logging for debugging purposes. Mul-
              tiple  <b>-v</b>  options  make  the software increasingly
              verbose.

<b>DIAGNOSTICS</b>
       Problems are reported to the standard error stream and  to
       <b>syslogd</b>(8).

       <a href="postsuper.1.html"><b>postsuper</b>(1)</a>  reports  the number of messages deleted with
       <b>-d</b>, the number of messages requeued with <b>-r</b>, and the  num-
       ber  of  messages whose queue file name was fixed with <b>-s</b>.
       The report is written to the standard error stream and  to
       <b>syslogd</b>(8).

<b>ENVIRONMENT</b>
       MAIL_CONFIG
              Directory with the <a href="postconf.5.html"><b>main.cf</b></a> file.

<b>BUGS</b>
       Mail  that  is  not sanitized by Postfix (i.e. mail in the
       <b>maildrop</b> queue) cannot be placed "on hold".

<b>CONFIGURATION PARAMETERS</b>
       The following <a href="postconf.5.html"><b>main.cf</b></a> parameters are  especially  relevant
       to this program.  The text below provides only a parameter
       summary. See <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including  exam-
       ples.

       <b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
              The  default  location  of  the Postfix <a href="postconf.5.html">main.cf</a> and
              <a href="master.5.html">master.cf</a> configuration files.

       <b><a href="postconf.5.html#hash_queue_depth">hash_queue_depth</a> (1)</b>
              The number of subdirectory levels for queue  direc-
              tories  listed with the <a href="postconf.5.html#hash_queue_names">hash_queue_names</a> parameter.

       <b><a href="postconf.5.html#hash_queue_names">hash_queue_names</a> (deferred, defer)</b>
              The names  of  queue  directories  that  are  split
              across multiple subdirectory levels.

       <b><a href="postconf.5.html#queue_directory">queue_directory</a> (see 'postconf -d' output)</b>
              The  location of the Postfix top-level queue direc-
              tory.

       <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>
              The mail system  name  that  is  prepended  to  the
              process  name  in  syslog  records, so that "smtpd"
              becomes, for example, "postfix/smtpd".

       Available in Postfix version 2.9 and later:

       <b><a href="postconf.5.html#enable_long_queue_ids">enable_long_queue_ids</a> (no)</b>
              Enable long, non-repeating, queue IDs  (queue  file
              names).

<b>SEE ALSO</b>
       <a href="sendmail.1.html">sendmail(1)</a>, Sendmail-compatible user interface
       <a href="postqueue.1.html">postqueue(1)</a>, unprivileged queue operations

<b>LICENSE</b>
       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

                                                                  POSTSUPER(1)
</pre> </body> </html>