On Wed, 11 Mar 2026, Bill Cole via Postfix-users wrote:

 Do smtpd_*_restrictions also support different weights?

No.


smtpd_*_restrictions invoke actions and many of those actions present artifacts from the protocol negotiation (an email address, fqdn, ip address), typically to a table / server. You can write a TCP server which evaluates whatever heuristics you desire, but in the end it has to return REJECT, OK, DUNNO (there are some others) based on that evaluation.

As Wietse recently reminded me, there is also https://www.postfix.org/SMTPD_POLICY_README.html which gives additional latitude.

These features are useful for rejecting mail during protocol negotiation.

--

Fred Morris, internet plumber

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to