Explicit support for dbl.spamhaus.org
This commit is contained in:
parent
775037b622
commit
6e1192f749
|
@ -160,6 +160,7 @@ postfix_transport_data: []
|
|||
# - { domain: 'example.com', action: 'smtp:[dest.smtp.example.com]:25' }
|
||||
postfix_rbl_enabled: True
|
||||
postfix_rbl_list: 'zen.spamhaus.org'
|
||||
postfix_spamhaus_dbl_enabled: True
|
||||
|
||||
postfix_mynetworks: hash:/etc/postfix/network_table
|
||||
postfix_mynetworks_data:
|
||||
|
|
|
@ -583,6 +583,11 @@ smtpd_recipient_restrictions =
|
|||
{% for recipient_rule in postfix_smtpd_server_restrictions %}
|
||||
{{ recipient_rule }}
|
||||
{% endfor %}
|
||||
{% if postfix_spamhaus_dbl_enabled %}
|
||||
reject_rhsbl_helo dbl.spamhaus.org
|
||||
reject_rhsbl_reverse_client dbl.spamhaus.org
|
||||
reject_rhsbl_sender dbl.spamhaus.org
|
||||
{% endif %}
|
||||
{% if postfix_rbl_enabled %}
|
||||
reject_rbl_client {{ postfix_rbl_list }}
|
||||
{% endif %}
|
||||
|
@ -597,6 +602,11 @@ smtpd_client_restrictions =
|
|||
{% for client_rule in postfix_smtpd_mx_client_restrictions %}
|
||||
{{ client_rule }}
|
||||
{% endfor %}
|
||||
{% if postfix_spamhaus_dbl_enabled %}
|
||||
reject_rhsbl_helo dbl.spamhaus.org
|
||||
reject_rhsbl_reverse_client dbl.spamhaus.org
|
||||
reject_rhsbl_sender dbl.spamhaus.org
|
||||
{% endif %}
|
||||
{% if postfix_rbl_enabled %}
|
||||
reject_rbl_client {{ postfix_rbl_list }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue