Adding a Spam Blacklist filter to your Sendmail config

Add the following line to you file use SpamCop’s email blacklist filter on your sendmail email server:

FEATURE(`dnsbl', `', `"Spam blocked see:"$&{client_addr}')dnl

Regenerate your sendmail config with:

m4 >

then restart your sendmail server with

. /etc/init.d/sendmail restart

To block individual domains:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.