✨: add postgrey, treat spamd as milter
This commit is contained in:
14
roles/postgrey/tasks/main.yml
Normal file
14
roles/postgrey/tasks/main.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
|
||||
- name: Install postgrey
|
||||
ansible.builtin.package:
|
||||
name: postgrey
|
||||
state: present
|
||||
|
||||
- name: Put main configuration files
|
||||
ansible.builtin.copy:
|
||||
src: files/postgrey
|
||||
dest: /etc/default/postgrey
|
||||
mode: 0644
|
||||
notify:
|
||||
- Restart postgrey
|
Reference in New Issue
Block a user