# README
postfix-policy-server
postfix-policy-server (or short: pps) provides a simple framework to create Postfix SMTP Access Policy Delegation Servers Servers in Go.
The pps documentation provides you with all you need, to quickly get started with your own Postifx policy service.
Alternatively check out the Go reference for further details or have a look at the example echo-server that is provided with this package.
# Packages
No description provided by the author
# Functions
New returns a new server object.
TextResponseNonOpt allows you to use a PostfixTextResp with a non-optional text as response to the Postfix server.
TextResponseOpt allows you to use a PostfixResp with an optional text as response to the Postfix server.
WithAddr overrides the default listening address for the policy server.
WithPort overrides the default listening port for the policy server.
# Constants
CtxNoLog lets the user control wether the server should log to STDERR or not.
DefaultAddr is the default address the server is listening on.
DefaultPort is the default port the server is listening on.
Possible responses to the postfix server See: http://www.postfix.org/access.5.html.
Possible responses to the postfix server See: http://www.postfix.org/access.5.html.
Possible responses to the postfix server See: http://www.postfix.org/access.5.html.
Possible responses to the postfix server See: http://www.postfix.org/access.5.html.
Possible responses to the postfix server See: http://www.postfix.org/access.5.html.
Possible responses to the postfix server See: http://www.postfix.org/access.5.html.
Possible responses to the postfix server See: http://www.postfix.org/access.5.html.
Possible responses to the postfix server See: http://www.postfix.org/access.5.html.
Possible responses to the postfix server See: http://www.postfix.org/access.5.html.
Possible responses to the postfix server See: http://www.postfix.org/access.5.html.
Possible non-optional text responses to the postfix server.
Possible non-optional text responses to the postfix server.
Possible non-optional text responses to the postfix server.
# Interfaces
Handler interface for handling incoming policy requests and returning the corresponding action.
# Type aliases
CtxKey represents the different key ids for values added to contexts.
PostfixResp is a possible response value for the policy request.
PostfixTextResp is a possible response value that requires additional text.
ServerOpt is an override function for the New() method.