Re: filter: HELO matches rDNS or not
On Sat, 21 May 2022 at 01:19, Thomas Bohl wrote: > > SUMMARY > > smtpd has the rDNS name associated with the calling SMTP session; > > how to use that name in a filter? > > Someone has to program a custom filter with smtpd-filters API. > man 7 smtpd-filters Should be already in there [1]: > The filter lines apply a set of filters to incoming connections, > check_dyndns will filter if rDNS matches some patterns, > check_rdns will filter if rDNS is missing, > check_fcrdns will filter if FCrDNS is missing, > these are builtin filters in OpenSMTPD that you can tweak to > filter at different phases or using other criterias. [1] https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/
Re: Monitoring SMTPD
Hello, On Thu, 29 Apr 2021 at 03:22, Antonino Sidoti wrote: > > Hello, > > I was wondering what options are available to monitor OpenBSD SMTPD? Can SNMP > be utilise? I like to test the actual service, not just some counters, TCP ports, or static SMTP responses. So I send emails through a critical SMTP infrastructure to a healthchecks.io endpoint, which triggers an alert in the *absence* of the email. Note that you don't necessarily need to use a cloud service, healthchecks.io is OSS: https://github.com/healthchecks/healthchecks Lukas