On Tue, 31 Oct 2006, Kyle Quillen wrote:

> I have my toaster setup to drop mail tagged as spam into spam
> directories in each users mailbox.  I am planning on putting a Ham box
> in their web mail as well.  I would like to come up with a script for
> the toaster community that will tell spamassassin to learn from the mail
> in each of these directories on a regular basis.  I would like the
> script to delete mail in the spam and ham dirs on a regular basis.

I posted a script that does that (at least for mailboxes, not maildir)  
a bit ago...

<searches>

http://www.nabble.com/sa-learn-question-tf2320488.html#a6456600

Rather than deleting the messages, you might be better served by aging
the files. If you need to wipe and retrain your Bayes database, or
find out where it was mistrained, having the SPAM and HAM corpa can
help a lot.

--
 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 [EMAIL PROTECTED]    FALaholic #11174    pgpk -a [EMAIL PROTECTED]
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  ...the Fates notice those who buy chainsaws...
                                              -- www.darwinawards.com
-----------------------------------------------------------------------
 Today: Halloween

Reply via email to