configure debug_peer_list and postfix_postscreen_dnsbl_sites

This commit is contained in:
phil 2023-03-24 21:02:37 +01:00
parent ee7cc584b6
commit 78755979f0

View file

@ -2,8 +2,10 @@
smtpd_banner = {{ postfix_smtpd_banner }}
{% if postfix_debug_peer_list is defined %}
### Debug Logging
#debug_peer_list =
debug_peer_list = {{ postfix_debug_peer_list | join(', ') }}
{% endif %}
### Protocols and destinations
inet_interfaces = all
@ -136,10 +138,12 @@ postscreen_greet_action = drop
# DNS block lists
postscreen_dnsbl_threshold = 2
{% if postfix_postscreen_dnsbl_sites is defined %}
{% for site in postfix_postscreen_dnsbl_sites %}
postscreen_dnsbl_sites =
bl.spamcop.net*1
ix.dnsbl.manitu.net*2
zen.spamhaus.org*2
{{ site.name }}*{{ site.multiplier }}
{% endfor %}
{% endif %}
postscreen_dnsbl_action = drop
# Postfix runs restrictions with the following order