MAILEXPORTER(1)

πŸ’Œ mailexporter β€” like, the whole vibe

okay so bestie, welcome to mailexporter(1) β€” the lil program that spills all the tea about how your mail server is actually doing. it watches your mail go out, watches your mail come in, and turns all of that into sweet sweet metrics. main character energy fr fr. πŸ’…


✨ NAME ✨

mailexporter β€” export metrics about mail server functionalty πŸ¦‹


✨ SYNOPSIS ✨

mailexporter [options]

that's it. that's the whole summoning ritual. ✨


✨ OPTIONS ✨

  • -config.file β€” the config file to use (default "/etc/mailexporter.conf") πŸ“„
  • -log.timestamps β€” log with timestamps ⏰
  • -v=<level> β€” verbosity; higher means more output (default 1). she talks more when you ask her to πŸ—£οΈ
  • -web.listen-address β€” colon separated address and port mailexporter shall listen on (default ":9225") 🌐
  • -web.telemetry-path β€” HTTP endpoint for serving metrics (default "/metrics") πŸ“Š

✨ EXPORTED METRICS ✨

like, here's everything she's gonna yell about:

  • mail_deliver_success β€” indicates if last successfully sent mail was delivered in time (1 if so, 0 if not)
  • mail_send_fails β€” indicates the number of failed attempts to send a probing mail via the specified SMTP-Server
  • mail_last_send_duration_seconds β€” duration of last valid mail handover to external SMTP-server in seconds
  • mail_send_durations_seconds β€” histogram of gauge mail_last_send_duration_seconds
  • mail_last_deliver_duration_seconds β€” time it took for the last received mail to be delivered (doesn't matter if timed out or not) in seconds
  • mail_deliver_durations_seconds β€” histogram of gauge last_mail_deliver_duration
  • mail_last_deliver_time β€” last time a mail was successfully delivered to the system as a unix timestamp (in seconds)
  • mail_late_mails β€” number of probing-mails being received after their respective timeout
no cap, that's the full roster. every single one of them is serving ✨

✨ SEE ALSO ✨


okay that's the whole page bestie, you're basically a mail-metrics expert now, periodt πŸ’–βœ¨

this has been your girl mailexporter(1), from the mailexporter manual β€” that's the source and the version name and everything, and honestly the date is just "whenever you're reading this" πŸ˜­πŸ¦‹