How to reject spam from unknown IP with Postfix

To reject spam from unknow IP addresses with the module Postfix, you can use reject_unknown_client_hostname.

Here is an example with a live mail server :

smtpd_client_restrictions =
        permit_mynetworks,
        reject_unauth_pipelining,
        reject_unknown_client_hostname,
        permit