📩
postfix-policy-server
  • 👋Welcome
  • API
    • 🚀Server
    • 📋ServerOpt
    • 📐Handler
    • 🗃️PolicySet
    • 📣Postfix(Text)Resp
  • Code Examples
    • 💡Policy to JSON echo server
Powered by GitBook
On this page
  • Installation
  • Usage

Welcome

This is the online API documentation of the postfix-policy-server package with examples so you can start building your own Postix policy services right away!

NextServer

Last updated 3 years ago

postfix-policy-server (or short: pps) provides a simple framework to create in Go.

Installation

First of all, and install Go. 1.17 or higher is required.

Installation can be done using the go get command:

$ go get -u github.com/wneessen/postfix-policy-server

Usage

The pps framework allows you to start a new TCP (or other Go net.Listener) server that listens for incoming policy requests from a Postfix mail server.

Once a new connection is established and the dataset from Postfix has been sent, the data will be processed as a and handed to a provided Handle() method that is given by the user, using the pps interface.

👋
Postfix SMTP Access Policy Delegation Servers
download
PolicySet
Handler