Möchte man eine eigene Blacklist pflegen um ungeliebte Mailserver auszuschliessen:
# vi /etc/postfix/main.cf
smtpd_recipient_restrictions =
…
check_client_access regexp:/etc/postfix/blacklist_clients
…
# vi /etc/postfix/blacklist_clients
# IP
/^10\.10\.1\.2$/ REJECT UCE black-listed
# IP block
/^10\.10\.1/ REJECT UCE black-listed
# exact domain
/^example\.com$/ REJECT UCE black-listed
# everything in a domain
/example\.com$/ REJECT UCE black-listed
# specific hosts
/^uce-relay\.example\.com$/ REJECT UCE black-listed
# specific mail adress
user@domain.dom REJECT