On Mon, 22 Oct 2012, Joseph Acquisto wrote:

On 10/22/2012 at 12:15 AM, John Hardin <jhar...@impsec.org> wrote:
On Sun, 21 Oct 2012, Joseph Acquisto wrote:

If I then try to learn ham or spam, it tells me permission denied trying to access the mail directory.

Yeah, that can happen. One way around this for smaller installations is to define a "site-wide" bayes rather than per-user bayes. Another way is to have root move messages from users' training mailboxes to training mailboxes owned by (e.g.) spamfilter before running sa-learn.

I don't grok how to do that.

Which, the site-wide bayes or moving messages to a different mailbox before learning?

There is also a size limit on the messages it will scan, are the sample
messages unusually large?

I did not think so.   How do I know what too large is?

Uh. I disremember what the max for sa-learn is, I want to say around 256kB.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  So Microsoft's invented the ASCII equivalent to ugly ink spots that
  appear on your letter when your pen is malfunctioning.
         -- Greg Andrews, about Microsoft's way to encode apostrophes
-----------------------------------------------------------------------
 144 days since the first successful private support mission to ISS (SpaceX)

Reply via email to