1+ # -*- coding: utf-8 -*-
2+ # vim: ft=yaml
3+ ---
14postfix :
2- manage_master_config: True
5+ manage_master_config : true
36 master_config :
47 # Preferred way of managing services/processes. This allows for finegrained
58 # control over each service. See postfix/services.yaml for defaults that can
@@ -10,29 +13,29 @@ postfix:
1013 maxproc : 10
1114 # Enable oldstyle TLS wrapped SMTP
1215 smtps :
13- enable: True
16+ enable : true
1417 # Enable submission service on port 587/tcp with custom options
1518 submission :
16- enable: True
19+ enable : true
1720 args :
1821 - " -o smtpd_tls_security_level=encrypt"
1922 - " -o smtpd_sasl_auth_enable=yes"
2023 - " -o smtpd_client_restrictions: permit_sasl_authenticated,reject"
2124 tlsproxy :
22- enable: True
23- chroot: True
25+ enable : true
26+ chroot : true
2427 uucp :
25- enable: True
28+ enable : true
2629 # Dovecot delivery via deliver binary. For better performance, investigate
2730 # using LMTP instead: <https://wiki.dovecot.org/LMTP>
2831 dovecot :
29- chroot: False
32+ chroot : false
3033 command : pipe
31- enable: True
34+ enable : true
3235 extras : ' -d ${recipient}'
3336 flags : DRhu
3437 type : unix
35- unpriv: False
38+ unpriv : false
3639 user : vmail:vmail
3740 argv : /usr/lib/dovecot/deliver
3841 # Completely customized mail-delivery-agent entry. Will be appended to the
@@ -44,13 +47,13 @@ postfix:
4447 flags : DRhu
4548 user : mail
4649 # Wrap the output in master.cf at 78 chars for better readability
47- wrap: True
50+ wrap : true
4851 # Avoid user and arvg settings to allow define internal processes
4952 # needed for randomizing relay IP (randmap functionality)
50- no_args: True
53+ no_args : true
5154
5255 # Backwards compatible definition of dovecot delivery in master.cf
53- enable_dovecot: False
56+ enable_dovecot : false
5457 # The following are the default values:
5558 dovecot :
5659 user : vmail
@@ -59,23 +62,23 @@ postfix:
5962 argv : " /usr/lib/dovecot/deliver"
6063
6164 # Backwards compatible definition of submission listener in master.cf
62- enable_submission: False
65+ enable_submission : false
6366 # To replace the defaults use this:
6467 submission :
6568 smtpd_tls_security_level : encrypt
66- smtpd_sasl_auth_enable: yes
69+ smtpd_sasl_auth_enable : ' yes'
6770 smtpd_client_restrictions : permit_sasl_authenticated,reject
6871
69- enable_service: True
70- reload_service: True
72+ enable_service : true
73+ reload_service : true
7174
7275 postgrey :
73- enabled: True
74- enable_service: True
76+ enabled : true
77+ enable_service : true
7578 location : inet:172.16.0.5:6379
7679
7780 policyd-spf :
78- enabled: True
81+ enabled : true
7982 time_limit : 7200s
8083
8184 config :
@@ -86,14 +89,14 @@ postfix:
8689 readme_directory : ' no'
8790 myhostname : localhost
8891 mydestination : localhost, localhost.localdomain
89- relayhost:
92+ relayhost :
9093 mynetworks : 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
9194 mailbox_size_limit : 0
9295 recipient_delimiter : +
9396 inet_interfaces : all
9497 inet_protocols : all
9598
96- #postsrsd:
99+ # postsrsd:
97100 sender_canonical_maps : tcp:127.0.0.1:10001
98101 sender_canonical_classes : envelope_sender
99102 recipient_canonical_maps : tcp:127.0.0.1:10002
@@ -127,8 +130,14 @@ postfix:
127130 smtpd_sasl_auth_enable : ' yes'
128131 smtpd_sasl_type : dovecot
129132 smtpd_sasl_path : /var/run/dovecot/auth-client
130- smtpd_recipient_restrictions: permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
131- smtpd_relay_restrictions: permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
133+ smtpd_recipient_restrictions : >-
134+ permit_mynetworks,
135+ permit_sasl_authenticated,
136+ reject_unauth_destination
137+ smtpd_relay_restrictions : >-
138+ permit_mynetworks,
139+ permit_sasl_authenticated,
140+ reject_unauth_destination
132141 smtpd_sasl_security_options : noanonymous
133142 smtpd_sasl_tls_security_options : $smtpd_sasl_security_options
134143 smtpd_tls_auth_only : ' yes'
@@ -232,8 +241,8 @@ postfix:
232241
233242 virtual_alias_maps :
234243 - groupaliasexample :
235- 236- 244+ 245+ 237246 -
singlealiasexample :
[email protected] 238247
239248
@@ -255,4 +264,4 @@ postfix:
255264 root :
256265 - me
257266 virtual_alias_2_maps :
258- - '/(\S+)_(devel|preprod|prod)@sub.example.com$/': '$(1)@$(2).sub.example.com'
267+ - ' /(\S+)_(devel|preprod|prod)@sub.example.com$/ ' : ' $(1)@$(2).sub.example.com'
0 commit comments