๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-playbooks/roles/postfix/templates/submission_header.j2

15 lines
581 B

2 years ago
/^\s*Received:/ IGNORE
/^\s*X-Enigmail:/ IGNORE
/^\s*X-Mailer:/ IGNORE
/^\s*X-Originating-IP:/ IGNORE
/^\s*X-PHP-Originating-Script:/ IGNORE
/^\s*X-Forward:/ IGNORE
/^\s*User-Agent:/ IGNORE
/^\s*Organization:/ IGNORE
/^\s*(Mime-Version:\s*[0-9\.]+)\s.+/ REPLACE $1
{% for domain in mail_server.domains -%}
/^\s*From:.*@{{ domain | regex_escape() }}/ PREPEND BIMI-Selector: v=BIMI1; s=default;
{% endfor -%}