Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed postfix, amavisd, spamassassin and clamd. I want to specify a sender to blacklist. How can I do this?

share|improve this question

In your Spamassassin file (usually located in /etc/mail/spamassassin) add the following line:

blacklist_from <person you wish to blacklist.  wildcards are acceptable>

You can get more information on Spamassassin whitelist/blacklist here
Restart spamassassin when you are done.

share|improve this answer

Use DNSBL? Like spamhaus, spews or many others around. I am sure Postfix can reject email based on DNSBLs or local blacklists (I use exim, so I cannot give you specific instructions for Postfix).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.