ansible-role-postfix/handlers/main.yml

15 lines
289 B
YAML
Raw Normal View History

2022-10-11 09:19:06 +02:00
---
- name: Refresh aliases
shell: newaliases
- name: Restart postfix
service:
name: postfix
2023-11-28 08:56:19 +01:00
state: restarted
- name: Postmap whitelist
2023-11-28 09:04:24 +01:00
shell: /usr/sbin/postmap /etc/postfix/whitelist_senders.map
2023-11-28 08:56:19 +01:00
- name: Postmap blacklist
shell: /usr/sbin/postmap /etc/postfix/blacklist