On 2023-04-09 21:14, Wietse Venema via Postfix-users wrote:
tom--- via Postfix-users:
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?
By studying Postfix documentation?
http://www.postfix.org/SMTPD_ACCESS_README.html#lists
Each restriction list is evaluated from left to right until
some restriction produces a result of PERMIT, REJECT or DEFER
(try again later). The end of each list is equivalent to a
PERMIT result.
In your case, reject_rbl_client was NOT USED because permit_mynetworks,
permit_sasl_authenticated, or check_policy_service returned a PERMIT
result.
@Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org
Thank you for your support. I am studying what code is returned by
policyd-spf.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org