disable chroot
This commit is contained in:
parent
9ad4f929d6
commit
7a8c051008
@ -180,6 +180,34 @@
|
||||
"{{ 'yes' if postfix_biff else 'no' }}"
|
||||
notify: reload postfix
|
||||
|
||||
- name: Disable chroot for services
|
||||
postconf:
|
||||
service: "{{ item.1 }}"
|
||||
type: "{{ item.2 }}"
|
||||
chroot: "n"
|
||||
notify: reload postfix
|
||||
loop:
|
||||
- [smtp, inet]
|
||||
- [pickup, unix]
|
||||
- [cleanup, unix]
|
||||
- [qmgr, unix]
|
||||
- [tlsmgr, unix]
|
||||
- [rewrite, unix]
|
||||
- [bounce, unix]
|
||||
- [defer, unix]
|
||||
- [trace, unix]
|
||||
- [verify, unix]
|
||||
- [flush, unix]
|
||||
- [smtp, unix]
|
||||
- [relay, unix]
|
||||
- [showq, unix]
|
||||
- [error, unix]
|
||||
- [retry, unix]
|
||||
- [discard, unix]
|
||||
- [lmtp, unix]
|
||||
- [anvil, unix]
|
||||
- [scache, unix]
|
||||
|
||||
- name: Enable submission service
|
||||
postconf:
|
||||
service: submission
|
||||
|
Loading…
x
Reference in New Issue
Block a user