Initial commit
This commit is contained in:
commit
11b84aa872
40 changed files with 995 additions and 0 deletions
20
templates/postfix/conf.d/sender_checks.j2
Normal file
20
templates/postfix/conf.d/sender_checks.j2
Normal file
|
@ -0,0 +1,20 @@
|
|||
### {{ ansible_managed }}
|
||||
|
||||
{% if postfix_sender_checks is defined %}
|
||||
{% for sender in postfix_sender_checks %}
|
||||
{% if sender.comment is defined %}
|
||||
# {{ sender.comment }}
|
||||
{% endif %}
|
||||
{{ "%-50s %s" | format(sender.client, sender.state) }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
# Blocked Domains
|
||||
{% for domain in postfix_blocked_domains %}
|
||||
{{ "%-50s %s" | format(domain, "REJECT No spammers") }}
|
||||
{% endfor %}
|
||||
|
||||
# Blocked Sender
|
||||
{% for sender in postfix_blocked_senders %}
|
||||
{{ "%-50s %s" | format(sender, "REJECT No spammers") }}
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue