Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

<!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=utf-8">
<title> Postfix manual - postcat(1) </title>
</head> <body> <pre>
POSTCAT(1)                                                          POSTCAT(1)

<b>NAME</b>
       postcat - show Postfix queue file contents

<b>SYNOPSIS</b>
       <b>postcat</b> [<b>-bdehnoqv</b>] [<b>-c</b> <i>config</i><b>_</b><i>dir</i>] [<i>files</i>...]

<b>DESCRIPTION</b>
       The  <a href="postcat.1.html"><b>postcat</b>(1)</a>  command  prints  the  contents  of  the named <i>files</i> in
       human-readable form. The files are expected to be in Postfix queue file
       format.  If  no  <i>files</i>  are  specified on the command line, the program
       reads from standard input.

       By default, <a href="postcat.1.html"><b>postcat</b>(1)</a> shows the envelope and message  content,  as  if
       the  options <b>-beh</b> were specified. To view message content only, specify
       <b>-bh</b> (Postfix 2.7 and later).

       Options:

       <b>-b</b>     Show body content.  The <b>-b</b> option starts producing output at the
              first  non-header line, and stops when the end of the message is
              reached.

              This feature is available in Postfix 2.7 and later.

       <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.

       <b>-d</b>     Print the decimal type of each record.

       <b>-e</b>     Show message envelope content.

              This feature is available in Postfix 2.7 and later.

       <b>-h</b>     Show message header content.  The <b>-h</b> option produces output from
              the beginning of the message up to, but not including, the first
              non-header line.

              This feature is available in Postfix 2.7 and later.

       <b>-o</b>     Print the queue file offset of each record.

       <b>-q</b>     Search  the  Postfix queue for the named <i>files</i> instead of taking
              the names literally.

              This feature is available in Postfix 2.0 and later.

       <b>-r</b>     Print records in file order, don't follow pointer records.

              This feature is available in Postfix 3.7 and later.

       <b>-s</b> <i>offset</i>
              Skip to the specified queue file offset.

              This feature is available in Postfix 3.7 and later.

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

<b>DIAGNOSTICS</b>
       Problems are reported to the standard error stream.

<b>ENVIRONMENT</b>
       <b>MAIL_CONFIG</b>
              Directory with Postfix configuration files.

<b>CONFIGURATION PARAMETERS</b>
       The  following  <a href="postconf.5.html"><b>main.cf</b></a> parameters are especially relevant to this pro-
       gram.

       The text below provides only a parameter summary. See  <a href="postconf.5.html"><b>postconf</b>(5)</a>  for
       more details including examples.

       <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> con-
              figuration files.

       <b><a href="postconf.5.html#import_environment">import_environment</a> (see 'postconf -d' output)</b>
              The list of environment parameters  that  a  privileged  Postfix
              process  will  import  from  a  non-Postfix  parent  process, or
              name=value environment overrides.

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

<b>FILES</b>
       /var/spool/postfix, Postfix queue directory

<b>SEE ALSO</b>
       <a href="postconf.5.html">postconf(5)</a>, Postfix configuration

<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

       Wietse Venema
       Google, Inc.
       111 8th Avenue
       New York, NY 10011, USA

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