configure debug_peer_list and postfix_postscreen_dnsbl_sites
This commit is contained in:
parent
ee7cc584b6
commit
78755979f0
1 changed files with 8 additions and 4 deletions
|
@ -2,8 +2,10 @@
|
||||||
|
|
||||||
smtpd_banner = {{ postfix_smtpd_banner }}
|
smtpd_banner = {{ postfix_smtpd_banner }}
|
||||||
|
|
||||||
|
{% if postfix_debug_peer_list is defined %}
|
||||||
### Debug Logging
|
### Debug Logging
|
||||||
#debug_peer_list =
|
debug_peer_list = {{ postfix_debug_peer_list | join(', ') }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
### Protocols and destinations
|
### Protocols and destinations
|
||||||
inet_interfaces = all
|
inet_interfaces = all
|
||||||
|
@ -136,10 +138,12 @@ postscreen_greet_action = drop
|
||||||
|
|
||||||
# DNS block lists
|
# DNS block lists
|
||||||
postscreen_dnsbl_threshold = 2
|
postscreen_dnsbl_threshold = 2
|
||||||
|
{% if postfix_postscreen_dnsbl_sites is defined %}
|
||||||
|
{% for site in postfix_postscreen_dnsbl_sites %}
|
||||||
postscreen_dnsbl_sites =
|
postscreen_dnsbl_sites =
|
||||||
bl.spamcop.net*1
|
{{ site.name }}*{{ site.multiplier }}
|
||||||
ix.dnsbl.manitu.net*2
|
{% endfor %}
|
||||||
zen.spamhaus.org*2
|
{% endif %}
|
||||||
postscreen_dnsbl_action = drop
|
postscreen_dnsbl_action = drop
|
||||||
|
|
||||||
# Postfix runs restrictions with the following order
|
# Postfix runs restrictions with the following order
|
||||||
|
|
Loading…
Reference in a new issue