There's no particular reason why I didn't implement it. It should be relatively straight forward, if you have a patch which is up to par I'm willing to add it to my repo.
martijn@ On Tue, 2022-10-18 at 10:34 +0200, Martin Kjær Jørgensen wrote: > Hello, > > I came across your libopensmtpd while developing a relative simple > reporting plugin for smtpd. I see the API has alot of existing calls, > but I'm basically missing the following function or something like it; > > void osmtpd_register_report_auth(int, void (*)(struct osmtpd_ctx *, > const char * username, enum osmtpd_auth status)); > > I wan't to monitor amount of failed auth attempts and block IP/port > temporarily based on statistics. > > Do you consider it a bad or unneeded feature, or would you accept the > feature if I write a patch; > > /Martin >