Skip to content

Commit

Permalink
Merge pull request #251 from FabioWidmer/master
Browse files Browse the repository at this point in the history
Define Return Codes for Spamhaus in Postfix
  • Loading branch information
willbrowningme authored Dec 27, 2023
2 parents 099d32a + 19d7b84 commit 2dfd270
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions rootfs/etc/cont-init.d/15-config-postfix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,11 @@ smtpd_recipient_restrictions =
permit_mynetworks,
reject_unauth_destination,
check_policy_service unix:private/policy,
reject_rhsbl_helo ${DBL_DOMAIN},
reject_rhsbl_reverse_client ${DBL_DOMAIN},
reject_rhsbl_sender ${DBL_DOMAIN},
reject_rbl_client ${ZEN_DOMAIN}
reject_rbl_client ${ZEN_DOMAIN}=127.0.0.[2..11],
reject_rhsbl_sender ${DBL_DOMAIN}=127.0.1.[2..99],
reject_rhsbl_helo ${DBL_DOMAIN}=127.0.1.[2..99],
reject_rhsbl_reverse_client ${DBL_DOMAIN}=127.0.1.[2..99],
warn_if_reject reject_rbl_client ${ZEN_DOMAIN}=127.255.255.[1..255],
reject_rbl_client dul.dnsbl.sorbs.net
# Block clients that speak too early.
Expand Down

0 comments on commit 2dfd270

Please sign in to comment.