POSTKICK(1)

πŸ“¦
version 3.11.7 Β· 3 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

πŸ’… POSTKICK(1) β€” the postkick girlies' guide

okay bestie, welcome to postkick(1) from the General Commands Manual πŸ’– this is the little command that goes knock knock on a Postfix service and hands it a lil note. she's small, she's powerful, she's lowkey the backbone of half your shell scripts.


✨ NAME ✨

postkick β€” kick a Postfix service 🦡✨ (gently. politely. over a local transport channel.)


🌸 SYNOPSIS 🌸

postkick [-c config_dir] [-v] class service request

that's it. three little arguments and two options. she's giving minimalism πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so the postkick(1) command sends request to the specified service over a local transport channel. that's the whole job. she delivers the message, no small talk 🫢

the way this slaps is that it makes Postfix private IPC accessible for use in, for example, shell scripts. like, you can't normally just yell into Postfix's internals from bash β€” but postkick? she's your hall pass 🎟️

πŸ”₯ Options

  • -c config_dir β€” read the main.cf configuration file in the named directory instead of the default configuration directory. basically "use this config folder, not the usual one" πŸ’œ
  • -v β€” enable verbose logging for debugging purposes. and bestie, multiple -v options make the software increasingly verbose. one -v is a little chatty, three -v is a whole podcast 😭

πŸ‘‘ Arguments

  • class β€” the name of a class of local transport channel endpoints, either public (accessible by any local user) or private (administrative access only). so like, public is the group chat, private is the admin-only discord πŸ™ˆ
  • service β€” the name of a local transport endpoint within the named class. the specific door you're knocking on.
  • request β€” a string. and here's the tea: the list of valid requests is service-specific. so don't come at me asking what strings are valid β€” it depends entirely on which service you're talking to, iykyk πŸ’€

🩺 DIAGNOSTICS 🩺

problems and transactions are logged to the standard error stream. so if something's off, check your stderr, bestie β€” she will tell you πŸ“


🌈 ENVIRONMENT 🌈

  • MAIL_CONFIG β€” directory with Postfix configuration files.
  • MAIL_VERBOSE β€” enable verbose logging for debugging purposes. (yes, it's the env var version of -v. twin sisters fr fr πŸ’–)

βš™οΈ CONFIGURATION PARAMETERS βš™οΈ

these main.cf parameters are especially relevant to this program. and ngl the text below is only a parameter summary β€” for more details including examples, go see postconf(5) πŸ“–

  • config_directory (see postconf -d output) β€” the default location of the Postfix main.cf and master.cf configuration files.
  • application_event_drain_time (100s) β€” how long the postkick(1) command waits for a request to enter the Postfix daemon process input buffer before giving up. one hundred seconds of patience, then she's out 🫑
  • 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/private, private class endpoints πŸ”’
  • /var/spool/postfix/public, public class endpoints 🌐

πŸ‘€ SEE ALSO πŸ‘€

go read these next, they're the rest of the lore ✨


πŸ“œ LICENSE πŸ“œ

the Secure Mailer license must be distributed with this software. periodt. don't strip the license, that's not the vibe πŸ™…β™€οΈ


πŸ’– 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

okay that's the whole page bestie 🫢 this was POSTKICK(1) from the General Commands Manual β€” the footer just says her name and honestly? she doesn't need a version number to be iconic. go kick a service, you got this πŸ‘‘πŸ’…βœ¨

πŸ“¦ where this page comes from