info > postlog(1)

📛 NAME

postlog - Postfix-compatible logging utility

🚀 Quick Reference

Use CaseCommandDescription
📝 Log a messagepostlog "message"Logs the given text as one record via syslog
⚠️ Log with prioritypostlog -p warn "message"Specify severity: info, warn, error, fatal, panic
📄 Log from stdinecho "line" | postlogReads input lines and logs each as one record
🏷️ Custom tagpostlog -t myapp "message"Sets the identifying logging tag
🔍 Verbose debugpostlog -v -v "message"Enable increasingly verbose logging
📂 Custom configpostlog -c /path/to/config "message"Read main.cf from alternative directory
🆔 PID in tag (obsolete)postlog -i "message"Ignored as of Postfix 3.4; PID always included

📋 SYNOPSIS

postlog [-iv] [-c config_dir] [-p priority] [-t tag] [text...]

📖 DESCRIPTION

The postlog(1) command implements a Postfix-compatible logging interface for use in, for example, shell scripts.

By default, postlog(1) logs the text given on the command line as one record. If no text is specified on the command line, postlog(1) reads from standard input and logs each input line as one record.

By default, logging is sent to syslogd(8) or postlogd(8); when the standard error stream is connected to a terminal, logging is sent there as well.

⚙️ Options

🌍 ENVIRONMENT

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

🆕 Available in Postfix 3.4 and later

📚 SEE ALSO

📜 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

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

postlog(1)
📛 NAME 🚀 Quick Reference 📋 SYNOPSIS 📖 DESCRIPTION
⚙️ Options
🌍 ENVIRONMENT ⚙️ CONFIGURATION PARAMETERS
🆕 Available in Postfix 3.4 and later
📚 SEE ALSO 📜 LICENSE 👤 AUTHOR(S)

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-09 18:49 @216.73.216.150
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!