🗃️PolicySet
The data collection provided by the postfix server
The PolicySet type represents all data provided by the postfix server in a typed and self-descriptive manner. Once your policy server receives data from postfix the data will be internally processed and as a result, a PolicySet is created that is then provided as a pointer to the Handle()
method of your Handler interface.
The PolicySet currently consists of the following properties and follows the Postfix documentation. Please check the Postfix docs on details to the properties.
Besides of all values provided by the Postfix server, pps adds some package specific values, that might be useful in your program. The list of pps-specific values currently is:
Property
Type
Description
PPSConnId
string
Each time Postfix connects to your policy service, a unique connection id is assigned
to it. The PPSConnId
property represents
this string
.
Note: Please keep in mind, that the Postfix
specifications require that a connection
can be re-used by Postfix. Therefore you
might see multiple PolicySets with the
same connection id.
Last updated