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

31 lines
600 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
- relay_transport_map
- 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