postfix-formula/postfix
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
..
files Improve handling of multiple values in main.cf 2018-09-29 03:55:38 +02:00
config.sls Template paths and groups to make them work on FreeBSD, too. 2017-08-24 13:02:46 +02:00
defaults.yaml master.cf: added dovecot 2017-12-08 14:04:35 +01:00
init.sls Reload postfix service by default. 2018-09-26 17:33:14 -07:00
iptables-input.sls have unique names 2014-04-23 21:55:01 +02:00
map.jinja Use defaults.yaml and osmap.yaml 2017-12-08 12:12:56 +01:00
mysql.sls added watch statement to restart postfix 2016-05-24 12:40:05 +02:00
osmap.yaml master.cf: added dovecot 2017-12-08 14:04:35 +01:00
pcre.sls added watch statement to restart postfix 2016-05-24 12:40:05 +02:00
policyd-spf.sls Restore policyd-spf support 2015-08-22 14:01:29 +02:00
postgrey.sls option to make postgrey service enabled or disabled 2016-05-19 13:55:15 +02:00
postsrsd.sls add support for postsrsd 2017-01-09 22:01:55 +01:00
services.jinja Allow for full managed master.cf services 2018-03-11 19:22:12 +01:00