Re: Learning bayes with spamc

2007-01-31 Thread Theo Van Dinter
On Wed, Jan 31, 2007 at 12:03:00PM -0500, Jeff Morton wrote: > Is there a way, then, to cause spamc to learn from an entire folder > without writing a bash for loop to pipe the files in one at a time? No. spamc only knows how to deal with single messages. If you want mbox, mbx, or dir handling,

Learning bayes with spamc

2007-01-31 Thread Jeff Morton
I've set up spamassassin so that the bayes files are owned by 'nobody' and are centrally located, and spamc is used to report spam or ham to train the filter. I have no problem training the filter by piping a single file at a time into spamc. The local.cf file contains: bayes_path /etc/mail/spa