Policy to JSON echo server
A simple code example on how to use pps in your own code
Last updated
A simple code example on how to use pps in your own code
Last updated
pps provides you with a fully functional code example in its . 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 into JSON, outputs this JSON to STDOUT
and replies to Postfix with a custom INFO
response. Check out the code on .