MAILEXPORTER.CONF(5)

✨ NAME ✨

hiii bestie πŸ’– welcome to the mailexporter manual page β€” yes, that's the manual name right there, we're just folding it in all casual. this whole page is about exporting metrics about mail server functionality. that's it, that's the serve. metrics, mail servers, functionality, periodt. πŸ‘‘


🌸 GENERAL OPTIONS 🌸

these are the big-picture, whole-operation settings β€” the main character energy knobs you set once and then forget about (lovingly):

  • monitoringinterval β€” the interval between subsequent probing attempts for one external server. like, how far apart the pokes are spaced out 🫢
  • startupoffset β€” the delay between starting the monitoring-subroutines per server. so they don't all show up to the party at the exact same second.
  • mailchecktimeout β€” the timeout until mails are considered "didn't make it". after this, we're officially calling it πŸ’€
  • disablefiledeletion <false|true> β€” turns OFF the mailexporter's function of deleting probing mails. you'd want this if filesystem access should be restricted, so you can avoid spamming the log with warnings. it defaults to false, i.e. detected probing mails are deleted. and lowkey you can just omit it entirely if you don't need it.
not me reminding you that the default here is false β€” which means the deleting is ON by default, bestie. read that one twice if you need to πŸ™ˆ

πŸ¦‹ SERVER-OPTIONS πŸ¦‹

the per-server deets. you configure these for the server(s) you're monitoring:

  • name β€” name for internal prometheus-metric
  • server β€” SMTP-server to use
  • port β€” port to use on Server for SMTP
  • login β€” login name on server (leave empty together with passphrase to disable authentication)
  • passphrase β€” SMTP-login-password (leave empty together with login to disable authentication)
  • from β€” From-Header of monitoring-Mail (e.g. for filtering)
  • to β€” address to deliver to
  • detectiondir β€” Maildir in which to look for monitoring-mail
ok so about login and passphrase: they're a package deal. empty login together with empty passphrase = authentication disabled. you don't get to skip just one of them and call it a day, it's giving ride-or-die πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

go read that one too, bestie, it's the whole other half of the story 🌈


and that's a wrap, gorgeous πŸ’œ this was the mailexporter() page β€” yeah, the footer just says mailexporter() too, no version drama, no date tea, just the name doing its little bow. mwah. πŸŽ€βœ¨