On 2023-04-09 10:02, t...@myposts.ovh 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?


Hello

I have resolved the issue by:

1. install unbound as dns resolver locally
2. change this statement:
   check_policy_service unix:private/policyd-spf,
  to this one:
check_policy_service { unix:private/policyd-spf, default_action=DUNNO },
3. systemctl reload postfix dovecot rspamd etc


now it works perfectly.

Thank you for all your support.

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

Reply via email to