NAME
postcat
-
show Postfix queue file contents
SYNOPSIS
ppoossttccaatt [--bbddeehhnnooqqvv] [--cc _c_o_n_f_i_g___d_i_r] [_f_i_l_e_s...]
DESCRIPTION
The ppoossttccaatt(1) command prints the contents of the
named _f_i_l_e_s in human-readable form. The files are
expected to be in Postfix queue file format. If no _f_i_l_e_s
are specified on the command line, the program reads from
standard input.
By default, ppoossttccaatt(1) shows the envelope and message
content, as if the options --bbeehh were specified. To
view message content only, specify --bbhh (Postfix 2.7
and later).
Options:
-
--bb
Show body content. The --bb 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.
-
--cc _c_o_n_f_i_g___d_i_r
The mmaaiinn..ccff configuration file is in the named directory
-
instead of the default configuration directory.
-
--dd
Print the decimal type of each record.
-
-
--ee
Show message envelope content.
-
This feature is available in Postfix 2.7 and later.
-
--hh
Show message header content. The --hh 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.
-
--oo
Print the queue file offset of each record.
-
-
--qq
Search the Postfix queue for the named _f_i_l_e_s instead
-
of taking the names literally.
This feature is available in Postfix 2.0 and later.
-
--vv
Enable verbose logging for debugging purposes. Multiple --vv
-
options make the software increasingly verbose.
DIAGNOSTICS
Problems are reported to the standard error stream.
ENVIRONMENT
-
MMAAIILL__CCOONNFFIIGG
Directory with Postfix configuration files.
-
CONFIGURATION PARAMETERS
The following mmaaiinn..ccff parameters are especially relevant to
this program.
The text below provides only a parameter summary. See
ppoossttccoonnff(5) for more details including examples.
-
ccoonnffiigg__ddiirreeccttoorryy ((sseeee ''ppoossttccoonnff --dd'' oouuttppuutt))
The default location of the Postfix main.cf and master.cf
-
configuration files.
-
qquueeuuee__ddiirreeccttoorryy ((sseeee ''ppoossttccoonnff --dd'' oouuttppuutt))
The location of the Postfix top-level queue directory.
-
FILES
/var/spool/postfix, Postfix queue directory
SEE ALSO
postconf(5), Postfix configuration
LICENSE
The Secure Mailer license must be distributed with this software.
AUTHOR(S)
Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA