A beginer's jorney.Need help with e-mail filters.


Mar 29, 2008
I am new to e-mail filters.
Any one know how to implement an e-mail filter by keyword.
I have tryed to use spam assasin but with out any results, it simply won't work.

Here is my /etc/mail/spamassassin/local.cf file.

# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)

# These should be safe assumptions and allow for simple visual sifting
# without risking lost emails.

required_score 5
rewrite_header subject [SPAM]

blacklist_from *.business.telecomitalia.it
blacklist_from *.telecomitalia.it
blacklist_from *.ephone.se
blacklist_from *.sesameworkshop.org
blacklist_from *.bmdsolutions.com

But no results, I still keep geting spam from business.telecomitalia.it and from the rest of the list above, It seems it's not working at all.

I wish to block spam on a global level, block it by keyword and block it by domain, I wish to ban dynamic IP addresses by domain,block the whole server that is sending spam with dynamic ip adress, I have used above rules that would block the domain on the server that is sending out spam.
It would seem I want to do alot, but my first step that I wish to get done is geting spam assasing to work for me.
Why is the example above not working for me?
Is there any other simple solution for me for starters?
I wish to use something that is compatible with linux centos.
Any sugestions on what to istall? or how to get spam assasin to work with the list above?