b6b7ab4cca
Currently master.cf only allows for _very_ limited configuration options mainly focussed on SMTP submission settings. This is rather limited and does not scale very well for managing the other services defined in master.cf. This patch has moved all the service definitions into a jinja file and generates the master.cf service definition on the fly based on these defaults. Defaults can be overridden in a pillar to customize the rendered master.cf file accordingly to local needs. Undefined values will be filled with the postfix defaults. Care has been taken that the previous ways of managing the submission configuration options are still supported for backwards compatibility to prevent breakage for existing users of the formula.
53 lines
915 B
ReStructuredText
53 lines
915 B
ReStructuredText
postfix-formula
|
|
===============
|
|
|
|
Formulas to set up and configure the Postfix mail transfer agent.
|
|
|
|
.. note::
|
|
|
|
See the full `Salt Formulas installation and usage instructions
|
|
<http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
|
|
|
|
Available states
|
|
================
|
|
|
|
.. contents::
|
|
:local:
|
|
|
|
|
|
``postfix``
|
|
-----------
|
|
|
|
Installs and starts postfix SMTP server
|
|
|
|
``postfix.config``
|
|
------------------
|
|
|
|
Manages postfix main.cf and optionally the master.cf configuration file
|
|
|
|
``postfix.policyd-spf``
|
|
------------------
|
|
|
|
Installs and configures policyd-spf
|
|
|
|
``postfix.postgrey``
|
|
------------------
|
|
|
|
Installs and starts Postgrey service
|
|
|
|
``postfix.mysql``
|
|
------------------
|
|
|
|
Installs postfix mysql package ( Debian only)
|
|
|
|
``postfix.pcre``
|
|
------------------
|
|
|
|
Installs postfix pcre package ( Debian only)
|
|
|
|
|
|
``postfix.postsrsd``
|
|
------------------
|
|
|
|
Installs postfix postsrsd package
|