Re: Opensmtpd tables

2022-08-10 Thread Quelrond
Hello, I'm trying to understand how does table_api_on_fetch work. Sorry, guys, it is not clear at all. As for now, I see this function present in mysql, sqlite and procexec tables. When I need to return just one value - it is clear, according to table_procexec.c I need just copy the result

Re: Opensmtpd tables

2022-08-09 Thread Quelrond
Cool, I was searching for this information :) Do you think I should really consider table-procexec now and do not create a 'native' table? I really appreciate your table-consul example, but the link "https://github.com/poolpOrg/py-table-consul; is broken (error 404). Anyway, I think to use

Re: Opensmtpd tables

2022-08-09 Thread Reio Remma
On 09.08.2022 17:19, Quelrond wrote: Hi, I'm using OpenSMTPD on FreeBSD (in jails) as local SMTP relays for several applications. Actually, I use file table as a source of information about valid senders IP: ... table senders_static file:/usr/local/etc/mail/senders-static ... match from

Opensmtpd tables

2022-08-09 Thread Quelrond
Hi, I'm using OpenSMTPD on FreeBSD (in jails) as local SMTP relays for several applications. Actually, I use file table as a source of information about valid senders IP: ... table senders_static file:/usr/local/etc/mail/senders-static ... match from src for any action