mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Do a sender_access for mailman as well
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -31,8 +31,8 @@
|
||||
- base
|
||||
|
||||
- name: Deploy sender_access file
|
||||
copy: src="{{private}}/files/smtpd/sender_access" dest="/etc/postfix/sender_access"
|
||||
when: postfix_group == "smtp-mm"
|
||||
copy: src="{{private}}/files/smtpd/sender_access.{{postfix_group}}" dest="/etc/postfix/sender_access"
|
||||
when: postfix_group == "smtp-mm" or postfix_group == "mailman"
|
||||
tags:
|
||||
- postfix
|
||||
- config
|
||||
@@ -41,7 +41,7 @@
|
||||
- name: Create sender_access hash
|
||||
command: postmap hash:/etc/postfix/sender_access
|
||||
changed_when: false
|
||||
when: postfix_group == "smtp-mm"
|
||||
when: postfix_group == "smtp-mm" or postfix_group == "mailman"
|
||||
tags:
|
||||
- postfix
|
||||
- config
|
||||
|
||||
Reference in New Issue
Block a user