On Fri, 2009-09-11 at 01:07 -0700, franc wrote:
> 
> rich...@buzzhost.co.uk wrote:
> > 
> > To do this, somewhere near the end of your main.cf:
> > header_checks = regexp:/etc/postfix/header_checks
> > 
> > File /etc/postfix/header_checks looks like this:
> > /^From:.*whoe...@aol.com/ REJECT sender blacklisted
> > 
> > Postfix reload
> > 
> 
> Thank you, does this mean that there is no way to configure spamassassin
> himself?
> Is spamassassin configured only indirectly by postfix (and amavis)?
> I don't understand this.

OK, on my Ubuntu test box this is what I did;

Create the blacklist file:
# vim /etc/spamassassin/blacklist.cf

blacklist_from  *...@aol.com
blacklist_from  drop.t...@aol.com


Test it for errors:
# spamassassin --lint

Restart Spamassassin
# /etc/init.d/spamassassin restart

Send it a test message to check and confirmed blocked (in my case).


Reply via email to