>>> On 10/15/2012 at 7:36 PM, "Joseph Acquisto" <j...@j4computers.com> wrote: > Getting an error running sa-learn. Probably lacking some command line info. > Google did show a few things, but . . . > > saying "sa-learn -D --spam" > > Gets to the point shown below and waits, whereupon I do ctrl C. > > Oct 15 19:30:33.089 [2452] dbg: bayes: expiry completed > Oct 15 19:30:36.278 [2452] dbg: plugin: > Mail::SpamAssassin::Plugin::Bayes=HASH(0x9f753d0) implements 'learner_close', > priority 0 > Oct 15 19:30:36.278 [2452] dbg: bayes: untie-ing > Oct 15 19:30:36.279 [2452] dbg: bayes: files locked, now unlocking lock > Oct 15 19:30:36.279 [2452] dbg: locker: safe_unlock: unlink > /root/.spamassassin/bayes.lock > interrupted at /usr/bin/sa-learn line 506. at /usr/bin/sa-learn line 493. > > I created two users on that box, ham and spam, which (apparently) accepts > mail forwarded as h...@spam.myplace.org. (or spam@) > > Do I need to specify where these messages are? > > using postfix. > > joe a.
Well, yes, it does work a lot better when you invoke it correctly (and, umm, don't have an alias for the spam user . . . so there is actually a directory by that name . . .) joe a.