opensubscriber
   Find in this group all groups
 
Unknown more information…

u : users@spamassassin.apache.org 11 September 2009 • 4:37PM -0400

Re: Using a blacklist - configuration-file not working
by richard@buzzhost.co.uk

REPLY TO AUTHOR
 
REPLY TO GROUP




On Fri, 2009-09-11 at 01:07 -0700, franc wrote:
>
> richard@buzz... 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:.*whoever@aol..../ 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.this@aol....


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).


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.