Feed spamassassin with spam or ham

The easiest way to feed spamassassin with spam is:

spamassassin -r < message.txt

To revoke spam message use:

spamassassin -k < message.txt

If you use Bayes just execute:

sa-learn –showdots –mbox –spam spam-file

and/or

sa-learn –showdots –mbox –ham ham-file

Please note: don’t feed Bayes weith different mail streams or public spams. These method will mislead Bayes into believing certain tokens are spammy or hammy when they are not.

 
 
» You might also be interested in the following articles:
Sendmail for virtual users with procmail, spamassassin and dovecot
OpenBSD: Secure Mail Server with Postfix, MySQL, ClamAV, SpamAssassin, Amavis-new
Complete list of Google staff
Sync Google Reader with Liferea
Evolution RSS Reader Plugin



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!

3 Responses to “Feed spamassassin with spam or ham”


  1. 1 faxless payday loans

    Hi, I can?t understand how to add your site in my rss reader. Can you Help me, please :)

  2. 2 Seasons

    Maybe you should edit the page subject title Feed spamassassin with spam or ham – Linux * Screw to more suited for your blog post you write. I liked the the writing still.

  1. 1 Garett

Leave a Reply




Friendly Sites:Who is behind Linux Screw?
GeekyBits³ | Bash Cures Cancer | OMG! Ubuntu!
My SysAd Blog | Web Upd8
ZEPY | Linux config Wiki | Planet Sysadmin
a non-geek's linux notes | Linux Today
TuxArena: The arena of Tux | LinuxAlt.Com
My name is Artem N. (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››