Go to file
Andreas Thienemann 36f0a70813 Improve handling of multiple values in main.cf
In case a list of items (iterable) is passed to the set_parameter
function in main.cf, the list of items are joined by a comma.

This makes parameters with many items a bit hard to read as it
results in long lines.

Postfix also supports an alternative declaration where subsequent
parameter values are written in a new line that starts with whitespace
and thus forms a continuation of the previous line.
This makes parsing multiple entry lines easier for humans.

Old style:
smtpd_milters = { unix:/run/spamass-milter/postfix/sock, connect_timeout=10s, default_action=accept } { inet:localhost:10003, connect_timeout=10s, default_action=accept } { inet:localhost:10004, connect_timeout=10s, default_action=accept } { inet:localhost:10006, connect_timeout=10s, default_action=accept } { inet:localhost:10007, connect_timeout=10s, default_action=accept }

New style:
smtpd_milters = { unix:/run/spamass-milter/postfix/sock, connect_timeout=10s, default_action=accept }
                { inet:localhost:10003, connect_timeout=10s, default_action=accept }
                { inet:localhost:10004, connect_timeout=10s, default_action=accept }
                { inet:localhost:10006, connect_timeout=10s, default_action=accept }
                { inet:localhost:10007, connect_timeout=10s, default_action=accept }
2018-09-29 03:55:38 +02:00
postfix Improve handling of multiple values in main.cf 2018-09-29 03:55:38 +02:00
test/integration/default Basic testing framework 2018-03-18 16:49:49 -03:00
.kitchen.yml Fix testing 2018-09-27 15:12:42 -03:00
.travis.yml Fix testing 2018-09-27 15:12:42 -03:00
Gemfile Fix testing 2018-09-27 15:12:42 -03:00
LICENSE remove extra new line characters 2015-05-07 13:45:46 -04:00
pillar.example Reload postfix service by default. 2018-09-26 17:33:14 -07:00
README.rst Allow for full managed master.cf services 2018-03-11 19:22:12 +01:00

postfix-formula

Formulas to set up and configure the Postfix mail transfer agent.

Available states

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