PROMETHEUS-POSTFIX-EXPORTER(1)
π prometheus-postfix-exporter π
okay bestie, welcome to section 1 of the manual β this is PROMETHEUS-POSTFIX-EXPORTER, the whole page, and it's literally all about getting your Postfix metrics out there in Prometheus format. sit down, grab a strawberry π, we're doing this.
β¨ NAME β¨
prometheus-postfix-exporter β a Prometheus exporter for Postfix metrics. that's the whole vibe. one job, done gorgeously. π
πΈ SYNOPSIS πΈ
postfix_exporter [<flags>]
that's it. that's the whole thing. you run the binary, you hand it some flags, it goes to work. main character energy fr fr. π
π¦ DESCRIPTION π¦
so like β it's a Prometheus metrics exporter for postfix. Postfix does its mail thing, this little icon translates all of that into metrics Prometheus can slurp up. no cap. β¨
π OPTIONS π
every single flag, in order, nothing skipped, because we do not half-ass things around here:
-h,--helpβ shows you the context-sensitive help. and if that's not enough for you (valid, honestly), there's also--help-longand--help-man. go off. π«Ά--versionβ prints the application version. short, sweet, iconic.--watchdogβ use the watchdog to keep an eye on your log sources. it's giving protective. π--web.systemd-socketβ use systemd socket activation listeners instead of port listeners. Linux only, so don't try this on your Mac, bestie, it will not slay.--web.listen-address=:9154β the addresses where metrics and the web interface get exposed. it's repeatable if you want multiple addresses, so stack 'em. examples::9100or[::1]:9100for http, andvsock://:9100for vsock. yes ma'am. π--web.config.fileβ path to a config file that can enable TLS or authentication. the details live at: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md β go read it, it's giving required reading. π--web.telemetry-pathβ the path under which metrics are exposed. you pick it.--postfix.showq_pathβ the path where Postfix puts its showq socket. π--postfix.showq_port=10025β the TCP port where Postfix's showq service is listening. noted. π--postfix.showq_networkβ the network type for Postfix's showq service.--log.unsupportedβ logs all the unsupported lines. every last one. it's thorough, we respect it. π--log.level=infoβ only log messages at the given severity or above. one of:[debug, info, warn, error]. pick your fighter.--log.format=logfmtβ the output format for log messages. one of:[logfmt, json].--postfix.cleanup_service_label=cleanupβ user-defined service label for the cleanup service. π§Ό--postfix.lmtp_service_label=lmtpβ user-defined service label for the lmtp service.--postfix.pipe_service_label=pipeβ user-defined service label for the pipe service.--postfix.qmgr_service_label=qmgrβ user-defined service label for the qmgr service.--postfix.smtp_service_label=smtpβ user-defined service label for the smtp service.--postfix.smtpd_service_label=smtpdβ user-defined service label for the smtpd service.--postfix.bounce_service_label=bounceβ user-defined service label for the bounce service. π--postfix.virtual_service_label=virtualβ user-defined service label for the virtual service.--docker.enableβ read from Docker logs. you can set the environment variableDOCKER_HOSTto change the address. more info at https://pkg.go.dev/github.com/docker/docker/client?tab=doc#NewEnvClient β yes, the whole URL, it's important, don't skip it. π³--docker.container.idβ the ID or name of the Postfix Docker container. give it the name, it'll find it.--systemd.enableβ read from the systemd journal instead of a log. journal girlies rise. π--systemd.unitβ the name of the Postfix systemd unit.--systemd.sliceβ the name of the Postfix systemd slice. this overrides the systemd unit, so heads up.--systemd.journal_pathβ the path to the systemd journal.--postfix.logfile_pathβ the path where Postfix writes log entries. π--postfix.logfile_must_existβ fail if the log file doesn't exist. it is not playing around, bestie β no file, no mercy.--postfix.logfile_debugβ enable debug logging for the log file. π--postfix.logfile_pollβ poll for file changes instead of using inotify. old school but it works. π
okay so real talk: that --postfix.logfile_must_exist one? it will literally stop everything if the file's not there. just so you know. dramatic but honest. π
and that's the page, bestie!! π¦ this is prometheus-postfix-exporter 0..., and the lovely humans stamped it February 2026. go forth, scrape your metrics, be the icon you were born to be. periodt. ππβ¨
π¦ where this page comes from
- ubuntu stonking: prometheus-postfix-exporter 0.19.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms