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:
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
Google Chromium OS!



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

2 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 :)

  1. 1 Garett

Leave a Reply




Friendly Sites:Who is behind Linux Screw?
Aspiring Sysadmin | GeekyBits³ | Bash Cures Cancer | TOTMS
Linux Operating System | Small Linux Deployments | My SysAd Blog
The Danesh Project | ZEPY | Linux config Wiki | Planet Sysadmin
The Sys Admin | {buhay sysad} | a non-geek's linux notes
Linux HOWTOs, Tutorials & Projects with Adam Palmer | LinuxAlt.Com
My name is Artem Nosulchik (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 ››