Re: table-procexec for opensmtpd (another try)

2021-10-15 Thread aisha
A very small change with fixing an off by one copy to the return value. It was also copying the '\n' character by mistake. diff --git a/usr.sbin/smtpd/parse.y b/usr.sbin/smtpd/parse.y index 832f4f2aec9..ff7b9a9a340 100644 --- a/usr.sbin/smtpd/parse.y +++ b/usr.sbin/smtpd/parse.y @@ -2543,13

table-procexec for opensmtpd (another try)

2021-10-13 Thread aisha
Hi all, I've made a refactored version of table-procexec, hopefully with a lot less redundancy in code. This patch adds the table-procexec backend which is configured with a timeout of 500 milliseconds. Currently this is hardcoded, but that is easy enough to change and shouldnt be the holdback.