Sunday, April 9, 2023, 12:02:20 PM, tom--- via Postfix-users  wrote:

> I have this setting in main.cf:

> smtpd_recipient_restrictions =
>     permit_mynetworks,
>     permit_sasl_authenticated,
>     reject_unauth_destination,
>     check_policy_service unix:private/policyd-spf,
>     reject_rbl_client zen.spamhaus.org,
>     reject_rbl_client bl.spamcop.net

> When I sent message from a Spamhaus Zen listed IP (this IP not in my 
> whitelist), the message still came into system.
> it seems    reject_rbl_client zen.spamhaus.org has no effect.
> Where should i debug it?

> Thanks
> Tom.
> _______________________________________________
> Postfix-users mailing list -- postfix-users@postfix.org
> To unsubscribe send an email to postfix-users-le...@postfix.org


Sorry, accidentally replied off-list before

Hi Tom,

I can’t answer your question but I use postscreen for DNSBL:

postscreen_cache_map = btree:/var/db/postfix/postscreen_cache
postscreen_greet_action = enforce
postscreen_denylist_action = enforce
postscreen_dnsbl_allowlist_threshold = -1
postscreen_dnsbl_sites = zen.spamhaus.org*2
postscreen_dnsbl_action = enforce
postscreen_dnsbl_threshold = 2

You may want to have a look at that. 

-- 
Cheers,
Phil

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to