[opensuse] Spamassassin - Working - How do I make it smarter??
Mates,
I now have spamassassin working and it is checking mail (see the header
below):
Return-Path:
* david rankin
I now have spamassassin working and it is checking mail (see the header below):
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on nemesis.skyline.com X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=HTML_50_60,HTML_MESSAGE, MIME_QP_LONG_LINE autolearn=no version=3.1.3 However, all of the spam still seems to be getting by. How do I train it or set "autolearn" to tell it what is spam? Any help will be appreciated. Thanks
21:33 wahoo:~ > rpm -ql spamassassin |grep bin /usr/bin/sa-learn /usr/bin/sa-update /usr/bin/spamassassin /usr/bin/spamc /usr/sbin/rcspamd /usr/sbin/spamd 21:33 wahoo:~ > man spamassassin [...] USAGE spamassassin-run "spamassassin" front-end filtering script sa-learn train SpamAssassin's Bayesian classifier spamc client for spamd (faster than spamassassin) spamd spamassassin server (needed by spamc) 21:34 wahoo:~ > man sa-learn NAME sa-learn - train SpamAssassin's Bayesian classifier 21:35 wahoo:~ > sa-learn --help SpamAssassin version 3.1.7 For more information read the manual page Usage: sa-learn [options] [file]... sa-learn [options] --dump [ all | data | magic ] Options: --ham Learn messages as ham (non-spam) [....] I'm sure you get the idea.... -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
----- Original Message -----
From: "Patrick Shanahan"
* david rankin
[01-10-07 20:43]: I now have spamassassin working and it is checking mail (see the header below):
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on nemesis.skyline.com X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=HTML_50_60,HTML_MESSAGE, MIME_QP_LONG_LINE autolearn=no version=3.1.3 However, all of the spam still seems to be getting by. How do I train it or set "autolearn" to tell it what is spam? Any help will be appreciated. Thanks
21:33 wahoo:~ > rpm -ql spamassassin |grep bin /usr/bin/sa-learn /usr/bin/sa-update /usr/bin/spamassassin /usr/bin/spamc /usr/sbin/rcspamd /usr/sbin/spamd 21:33 wahoo:~ > man spamassassin [...] USAGE
spamassassin-run "spamassassin" front-end filtering script sa-learn train SpamAssassin's Bayesian classifier spamc client for spamd (faster than spamassassin) spamd spamassassin server (needed by spamc)
21:34 wahoo:~ > man sa-learn NAME sa-learn - train SpamAssassin's Bayesian classifier
21:35 wahoo:~ > sa-learn --help SpamAssassin version 3.1.7 For more information read the manual page Usage: sa-learn [options] [file]...
sa-learn [options] --dump [ all | data | magic ]
Options:
--ham Learn messages as ham (non-spam)
[....]
I'm sure you get the idea....
Thanks Patrick! I found the page http://wiki.apache.org/spamassassin/SingleUserUnixInstall that had a really cool way to automate the process and it rocks. I'll see how it does over the next week or so. -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
----- Original Message -----
From: "david rankin"
Mates,
I now have spamassassin working and it is checking mail (see the header below):
Ah Hah! (The following works like a champ!) Enable IMAP LearnAsSpam folder If your final delivery is to an IMAP accessible MTA, you can set up an even easier way to do mistake-based Bayesian learning. Namely, you can create a LearnAsSpam folder. Rather than resending spam for learning, you can just move any false negatives (spam that got delivered to your inbox) to this folder. Then, every hour, those mails are pulled down (and deleted) from your IMAP server and learned as spam. Specifically, many installations of Exchange server support access via IMAP, so this solution is one of the easiest ways to enable end-user Bayesian training by Exchange users. To do this, we need fetchmail, which we can confirm is installed with (which fetchmail). First, we create a .fetchmailrc pico .fetchmailrc with our IMAP account information. This should look like the following, filling in your own information for the server, username, and password: poll mail.example.com protocol IMAP: user myusername with password mypassword Now make it only readable to you with: chmod 600 .fetchmailrc In your mail client, create a top level IMAP folder called LearnAsSpam. Now, to test if the setup works, move some spam into this folder. It's essential that this be real spam or else you'll mistrain your Bayesian learner. The path to fetchmail /usr/local/bin/fetchmail in the following command should be set to the results of (which fetchmail). From the command line, enter: /usr/local/bin/fetchmail -a -v -n --folder LearnAsSpam -m '$HOME/bin/sa-learn -D --spam' -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
david rankin
-
Patrick Shanahan