On 18.11.22 02:21, linux...@gmx.net wrote:
  smtpd_client_restrictions = permit_mynetworks,
          permit_sasl_authenticated,
          reject_unauth_destination,
          reject_rbl_client zen.spamhaus.org,
          reject_rbl_client bl.spamcop.net,

I recommend using DNS blocklists/allowlists at postscreen level, that way you can use weighed scoring and require some minimal score.

http://www.postfix.org/POSTSCREEN_README.html

  But I saw others use these forms:

smtpd_recipient_restrictions =
[...]

  So my question is which directive to put rbl settings in?
  "smtpd_recipient_restrictions" or "smtpd_client_restrictions"?

when you use them in recipient_restrictions, you can explicitly allow specific sender or recipient's e-mail addresses.

in smtpd_client_restrictions you don't know anything about senders or recipients.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
A day without sunshine is like, night.

Reply via email to