mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 17:58:32 +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
|
virtual_gid_maps = static:1009
|
||||||
#receive_override_options = no_address_mappings
|
#receive_override_options = no_address_mappings
|
||||||
|
|
||||||
|
# spam redirect happens here
|
||||||
|
header_checks = regexp:/etc/postfix/header_checks
|
||||||
|
|
||||||
# random shit
|
# random shit
|
||||||
biff = no
|
biff = no
|
||||||
readme_directory = no
|
readme_directory = no
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
- tls_policy
|
- tls_policy
|
||||||
- transport
|
- transport
|
||||||
- virtual
|
- virtual
|
||||||
|
- header_checks
|
||||||
notify: restart postfix
|
notify: restart postfix
|
||||||
|
|
||||||
- name: Deploy Dovecot config
|
- name: Deploy Dovecot config
|
||||||
|
|||||||
Reference in New Issue
Block a user