I have installed postfix, amavisd, spamassassin and clamd. I want to specify a sender to blacklist. How can I do this?
Asked
Active
Viewed 2,706 times
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.

Scott Lundberg
- 2,364
- 2
- 14
- 22
-1
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).

Dan Andreatta
- 5,454
- 2
- 24
- 14