Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

In your Spamassassin local.cf 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

 
discard

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