1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/postfix/handlers/main.yml
Frederik Schwan c1ef5a50f5
remove relay transport for postfix
We did only use it for patchwork which is using fetchmail now.
2020-12-24 11:34:39 -03:00

30 lines
574 B
YAML

---
- name: restart postfix
service:
name: postfix
state: restarted
- name: reload postfix
command: postfix reload
- name: postmap additional files
command: postmap /etc/postfix/{{ item }}
with_items:
- access_client
- access_sender
- access_sender-post-filter
- access_helo
- access_recipient
- transport
- relocated
- domains
- mailman_compat
- msa_header_checks
- name: update aliases db
command: postalias /etc/postfix/aliases
- name: postmap relay_passwords
command: postmap /etc/postfix/relay_passwords