Thank you very much for all the helps. So I changed it to:
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, permit My another question is, for the last statement "permit", is is needed or not? Thanks. Gesendet: Freitag, 18. November 2022 um 14:21 Uhr Von: "Viktor Dukhovni" <postfix-us...@dukhovni.org> An: "Postfix users" <postfix-users@postfix.org> Betreff: Re: where to put RBL settings > On 17 Nov 2022, at 8:21 pm, linux...@gmx.net wrote: > > So my question is which directive to put rbl settings in? > "smtpd_recipient_restrictions" or "smtpd_client_restrictions"? RBL lookups are "expensive" for both the RBL service and for your MTA (high query latency ties up more processes). So the later, the better, in the hope that cheaper restrictions (or whitelist criteria) can reach a definitive accept/reject verdict first. So even with recipient restrictions, apply RBLs as late as possible. -- Viktor.