💡Policy to JSON echo server

A simple code example on how to use pps in your own code

pps provides you with a fully functional code example in its Github Repository. The code example is a simple "Policy data to JSON" echo server.

It accepts Postifx policy requests on the default listening address (0.0.0.0:10005), converts the provided PolicySet into JSON, outputs this JSON to STDOUT and replies to Postfix with a custom INFOresponse. Check out the code on Github.

Last updated