POSTCAT(1)

πŸ“¦
version 3.11.7 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

POSTCAT(1) πŸ’–

okay bestie, gather round, because this is postcat from the General Commands Manual and she is literally the little key to the Postfix queue closet πŸ”‘βœ¨


✨ NAME ✨

postcat β€” show Postfix queue file contents πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

postcat [-bdefhnoqv] [-c config_dir] [files...]

🌸 DESCRIPTION 🌸

so the postcat(1) command prints the contents of the named files in human-readable form. the files are expected to be in Postfix queue file format. and if you don't name any files on the command line? she just reads from standard input like a lil champ 🫢

by default, postcat(1) shows the envelope and message content, as if the options -beh were specified. want just the message content? specify -bh (Postfix 2.7 and later). iconic behavior tbh πŸ’…


πŸ’… OPTIONS πŸ’…

  • -b β€” Show body content. the -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. ⭐
  • -c config_dir β€” the main.cf configuration file is in the named directory instead of the default configuration directory. πŸ—‚οΈ
  • -d β€” Print the decimal type of each record.
  • -e β€” Show message envelope content.
This feature is available in Postfix 2.7 and later. ⭐
  • -f β€” Prepend the file name to each output line.
This feature is available in Postfix 3.10 and later. ⭐
  • -h β€” Show message header content. the -h 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. ⭐
  • -o β€” Print the queue file offset of each record.
  • -q β€” Search the Postfix queue for the named files instead of taking the names literally.
This feature is available in Postfix 2.0 and later. ⭐
  • -r β€” Print records in file order, don't follow pointer records.
This feature is available in Postfix 3.7 and later. ⭐
  • -s offset β€” Skip to the specified queue file offset.
This feature is available in Postfix 3.7 and later. ⭐
  • -v β€” Enable verbose logging for debugging purposes. multiple -v options make the software increasingly verbose πŸ“’

🩺 DIAGNOSTICS 🩺

problems are reported to the standard error stream. ngl, she will tell you when something's off 😭


🌈 ENVIRONMENT 🌈

  • MAIL_CONFIG β€” Directory with Postfix configuration files. πŸ—‚οΈ

πŸ‘‘ CONFIGURATION PARAMETERS πŸ‘‘

the following main.cf parameters are especially relevant to this program.

the text below provides only a parameter summary. see postconf(5) for more details including examples. iykyk πŸ“–

  • config_directory (see postconf -d output) β€” The default location of the Postfix main.cf and master.cf configuration files.
  • import_environment (see postconf -d output) β€” The list of environment variables that a privileged Postfix process will import from a non-Postfix parent process, or name=value environment overrides.
  • queue_directory (see postconf -d output) β€” The location of the Postfix top-level queue directory.

πŸ“ FILES πŸ“

  • /var/spool/postfix, Postfix queue directory

πŸ”— SEE ALSO πŸ”—


πŸ“œ LICENSE πŸ“œ

The Secure Mailer license must be distributed with this software. no cap, respect the license bestie 🫑


πŸŽ€ AUTHOR(S) πŸŽ€

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


and that's the whole page, babes πŸ’– this lil queen lives in the General Commands Manual as POSTCAT(1) β€” go forth and read those queue files, you absolute main character πŸ‘‘βœ¨

πŸ“¦ where this page comes from