Merge pull request #82 from bawuenet/example_pillar
Improve pillar example
This commit is contained in:
commit
f2a64549ab
@ -1,23 +1,9 @@
|
|||||||
postfix:
|
postfix:
|
||||||
manage_master_config: True
|
manage_master_config: True
|
||||||
master_config:
|
master_config:
|
||||||
enable_dovecot: False
|
# Preferred way of managing services/processes. This allows for finegrained
|
||||||
# The following are the default values:
|
# control over each service. See postfix/services.yaml for defaults that can
|
||||||
dovecot:
|
# be overridden.
|
||||||
user: vmail
|
|
||||||
group: vmail
|
|
||||||
flags: DRhu
|
|
||||||
argv: "/usr/lib/dovecot/deliver"
|
|
||||||
|
|
||||||
enable_submission: False
|
|
||||||
# To replace the defaults use this:
|
|
||||||
submission:
|
|
||||||
smtpd_tls_security_level: encrypt
|
|
||||||
smtpd_sasl_auth_enable: yes
|
|
||||||
smtpd_client_restrictions: permit_sasl_authenticated,reject
|
|
||||||
|
|
||||||
# Alternative way of managing services allowing for much more finegrained
|
|
||||||
# control over each service. See postfix/services.jinja for details.
|
|
||||||
services:
|
services:
|
||||||
smtp:
|
smtp:
|
||||||
# Limit to no more than 10 smtp processes
|
# Limit to no more than 10 smtp processes
|
||||||
@ -25,6 +11,7 @@ postfix:
|
|||||||
# Enable oldstyle TLS wrapped SMTP
|
# Enable oldstyle TLS wrapped SMTP
|
||||||
smtps:
|
smtps:
|
||||||
enable: True
|
enable: True
|
||||||
|
# Enable submission service on port 587/tcp with custom options
|
||||||
submission:
|
submission:
|
||||||
enable: True
|
enable: True
|
||||||
args:
|
args:
|
||||||
@ -36,6 +23,20 @@ postfix:
|
|||||||
chroot: True
|
chroot: True
|
||||||
uucp:
|
uucp:
|
||||||
enable: True
|
enable: True
|
||||||
|
# Dovecot delivery via deliver binary. For better performance, investigate
|
||||||
|
# using LMTP instead: <https://wiki.dovecot.org/LMTP>
|
||||||
|
dovecot:
|
||||||
|
chroot: False
|
||||||
|
command: pipe
|
||||||
|
enable: True
|
||||||
|
extras: '-d ${recipient}'
|
||||||
|
flags: DRhu
|
||||||
|
type: unix
|
||||||
|
unpriv: False
|
||||||
|
user: vmail:vmail
|
||||||
|
argv: /usr/lib/dovecot/deliver
|
||||||
|
# Completely customized mail-delivery-agent entry. Will be appended to the
|
||||||
|
# master.cf file
|
||||||
custom-mda:
|
custom-mda:
|
||||||
argv: /usr/local/sbin/mail-handler.py
|
argv: /usr/local/sbin/mail-handler.py
|
||||||
command: pipe
|
command: pipe
|
||||||
@ -45,6 +46,23 @@ postfix:
|
|||||||
# Wrap the output in master.cf at 78 chars for better readability
|
# Wrap the output in master.cf at 78 chars for better readability
|
||||||
wrap: True
|
wrap: True
|
||||||
|
|
||||||
|
# Backwards compatible definition of dovecot delivery in master.cf
|
||||||
|
enable_dovecot: False
|
||||||
|
# The following are the default values:
|
||||||
|
dovecot:
|
||||||
|
user: vmail
|
||||||
|
group: vmail
|
||||||
|
flags: DRhu
|
||||||
|
argv: "/usr/lib/dovecot/deliver"
|
||||||
|
|
||||||
|
# Backwards compatible definition of submission listener in master.cf
|
||||||
|
enable_submission: False
|
||||||
|
# To replace the defaults use this:
|
||||||
|
submission:
|
||||||
|
smtpd_tls_security_level: encrypt
|
||||||
|
smtpd_sasl_auth_enable: yes
|
||||||
|
smtpd_client_restrictions: permit_sasl_authenticated,reject
|
||||||
|
|
||||||
enable_service: True
|
enable_service: True
|
||||||
reload_service: True
|
reload_service: True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user