mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 13:11:36 +01:00
fix: send spammails to different address
This commit is contained in:
1
roles/mail/files/header_checks
Normal file
1
roles/mail/files/header_checks
Normal file
@@ -0,0 +1 @@
|
||||
/^X-Spam-Flag: YES/ REDIRECT spamsink@atlantishq.de
|
||||
@@ -71,6 +71,9 @@ virtual_uid_maps = static:1009
|
||||
virtual_gid_maps = static:1009
|
||||
#receive_override_options = no_address_mappings
|
||||
|
||||
# spam redirect happens here
|
||||
header_checks = regexp:/etc/postfix/header_checks
|
||||
|
||||
# random shit
|
||||
biff = no
|
||||
readme_directory = no
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
- tls_policy
|
||||
- transport
|
||||
- virtual
|
||||
- header_checks
|
||||
notify: restart postfix
|
||||
|
||||
- name: Deploy Dovecot config
|
||||
|
||||
Reference in New Issue
Block a user