11postfix:
22 manage_master_config: True
33 master_config:
4- enable_dovecot: False
5- # The following are the default values:
6- dovecot:
7- user: vmail
8- group: vmail
9- flags: DRhu
10- argv: "/usr/lib/dovecot/deliver"
11-
12- enable_submission: False
13- # To replace the defaults use this:
14- submission:
15- smtpd_tls_security_level: encrypt
16- smtpd_sasl_auth_enable: yes
17- smtpd_client_restrictions: permit_sasl_authenticated,reject
18-
19- # Alternative way of managing services allowing for much more finegrained
20- # control over each service. See postfix/services.jinja for details.
4+ # Preferred way of managing services/processes. This allows for finegrained
5+ # control over each service. See postfix/services.yaml for defaults that can
6+ # be overridden.
217 services:
228 smtp:
239 # Limit to no more than 10 smtp processes
2410 maxproc: 10
2511 # Enable oldstyle TLS wrapped SMTP
2612 smtps:
2713 enable: True
14+ # Enable submission service on port 587/tcp with custom options
2815 submission:
2916 enable: True
3017 args:
@@ -36,6 +23,20 @@ postfix:
3623 chroot: True
3724 uucp:
3825 enable: True
26+ # Dovecot delivery via deliver binary. For better performance, investigate
27+ # using LMTP instead: <https://wiki.dovecot.org/LMTP>
28+ dovecot:
29+ chroot: False
30+ command: pipe
31+ enable: True
32+ extras: '-d ${recipient}'
33+ flags: DRhu
34+ type: unix
35+ unpriv: False
36+ user: vmail:vmail
37+ argv: /usr/lib/dovecot/deliver
38+ # Completely customized mail-delivery-agent entry. Will be appended to the
39+ # master.cf file
3940 custom-mda:
4041 argv: /usr/local/sbin/mail-handler.py
4142 command: pipe
@@ -45,6 +46,23 @@ postfix:
4546 # Wrap the output in master.cf at 78 chars for better readability
4647 wrap: True
4748
49+ # Backwards compatible definition of dovecot delivery in master.cf
50+ enable_dovecot: False
51+ # The following are the default values:
52+ dovecot:
53+ user: vmail
54+ group: vmail
55+ flags: DRhu
56+ argv: "/usr/lib/dovecot/deliver"
57+
58+ # Backwards compatible definition of submission listener in master.cf
59+ enable_submission: False
60+ # To replace the defaults use this:
61+ submission:
62+ smtpd_tls_security_level: encrypt
63+ smtpd_sasl_auth_enable: yes
64+ smtpd_client_restrictions: permit_sasl_authenticated,reject
65+
4866 enable_service: True
4967 reload_service: True
5068
0 commit comments