Re: New report function for libopensmtpd

2022-10-19 Thread Martin Kjær Jørgensen
I'm not sure how you like patches so here's a crude git diff patch of my first attempt :-) diff --git a/Symbols.list b/Symbols.list index a73487d..360ae2a 100644 --- a/Symbols.list +++ b/Symbols.list @@ -14,6 +14,7 @@ osmtpd_register_filter_noop osmtpd_register_filter_help

Re: New report function for libopensmtpd

2022-10-18 Thread Leo Unglaub
If you follow this, you will not be so far of: https://man.openbsd.org/style On 18/10/2022 12:00, Martin Kjær Jørgensen wrote: Okay I will. Have you got a pattern the code should be written in or a tool, like clang-format, to check/format with?

Re: New report function for libopensmtpd

2022-10-18 Thread Martin Kjær Jørgensen
Okay I will. Have you got a pattern the code should be written in or a tool, like clang-format, to check/format with? On Tue, Oct 18 2022, Martijn van Duren wrote: > There's no particular reason why I didn't implement it. > It should be relatively straight forward, if you have a patch >

Re: New report function for libopensmtpd

2022-10-18 Thread Martijn van Duren
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

Re: New report function for libopensmtpd

2022-10-18 Thread Martijn van Duren
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

New report function for libopensmtpd

2022-10-18 Thread Martin Kjær Jørgensen
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