Hadmut Danisch via Postfix-users:
> Hi,
> 
> 
> I was thinking about the best way to query external processes as 
> databases for postfix lookup tables. Almost all methods described in
> 
>     https://www.postfix.org/DATABASE_README.html
> 
> are bound to a particular file format or a particular database, and the 
> only method that allows to contact an arbitrary separate process is tcp, 
> which, on the other hand, is rather limited based on
> 
>     https://www.postfix.org/tcp_table.5.html
 
And socketmap, which has many implementations that are compatible
with Postfix.

There is even a socketmap-to-rest adapter on GitHub (they appear
to have swapped the temporary and permanent error codes).
https://github.com/pschichtel/postfix-rest-connector

Adding a REST client to Posttfix is one thing, but adding a JSON
parser (for any non-trivial response) would be problematic. I don't
want to add a third-party dependency for that.

        Wietse

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to