Postfix-policy is a policy server that uses ServerKit to achieve a high level of performance and scalability for Postfix servers.
This project is ideal for use with large mail systems utilizing Postfix for MX duties and MySQL for the management of accounts with basic policy needs.
It is advised that you read the ServerKit documentation before trying to use this module, as most of the basic usage is simply using ServerKit, nothing specific to this module.
You will probably want to use the included ServerKit personality as a starting point, found in the source archive as a directory named "personality". Within the personality you will find a "c11n" file, a "modules" subdirectory, and a "svsdir" subdirectory.
The "c11n" file is a ServerKit configuration file, you will need to at least modify the database settings so ServerKit can successfully communicate with your database system. Another configuration value that you will definitely have to set is "action_query_format_string".
The "action_query_format_string" is the SQL query postfix-policy will use to retrieve an action to send back to Postfix in response to policy delegation requests. See the Configuration section for a list of supported substitutions for use in the format string.
You are responsible for creating a query that is compatible with your mail system database schema, and ensuring that the query will:
1. return an empty set for invalid recipients
2. return a valid action string when not returning an empty set
For an explanation of valid policy action responses, see the access(5) manual reference from Postfix, you're interested in the *ACTIONS sections
· Postfix (recommended)
What's New in This Release:
· This release adds a cleanup handler to support the graceful shutdown facilities introduced in the recent ServerKit release.