On Thu, 29 Apr 2021, Antonino Sidoti wrote:
I was wondering what options are available to monitor OpenBSD SMTPD? Can SNMP be utilise? My monitoring system is PRTG and I am using that for most of my systems. Can someone share their way of monitoring please? I run two OpenSMTP mail servers and would very much like to get some insight as to how they are performing day to day.
I use nagios. Basic monitoring just connects to port 25 and verifies that there is a response. Most of my servers use sendmail (I use opensmtpd for vms and peer to peer), and the milter API allows me to implement "Magic HELO", to trigger GC of python milters, and report on various stats. (Note that "GC" is not a legal helo name, and thus there is an opening for command extension.) I wonder if something similar to magic HELO is possible with opensmtpd, maybe through filters?