Header Checks Template

ansible-postfix · templates/etc/postfix/header_checks.j2 · MIT
email, tag:regex-matching, tag:content-filtering, tag:header-inspection, tag:pattern-action

Generates /etc/postfix/header_checks for content inspection of message headers with pattern-action pairs (e.g., /regex/ REJECT message).

// Source: https://github.com/Oefenweb/ansible-postfix | License: MIT | Copyright Oefenweb.nl <https://github.com/Oefenweb>
// Provided via justclaw.it.com; keep this notice with the code.
{{ ansible_managed | comment }}
{% for rule in postfix_header_checks | default([]) %}
{{ rule.pattern }} {{ rule.action }} {% if rule.text is defined %}{{ rule.text }}{% endif %}

{% endfor %}

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key