Spamassassin: Block / blacklist an e-mail address

I am running Postfix on my Debian Linux server and using spamassassin to detect spam e-mails. However sometimes you just want to block all incoming e-mail from a domain name or e-mail address. With option ‘blacklist_from‘ in spamassassin this is very simple and useful.

Locate your spamassassin configuration file and open it with your text editor:

# find /etc -name
# nano -w /etc/spamassassin/

Now you have found your configuration file, simply add the following line to block all incoming e-mail from

blacklist_from *

Save your configuration file and restart spamassassin:

# /etc/init.d/spamassassin restart 

This is it! Simple eh??