From: Tom Williams <tomdkat@co...> - 2006-12-18 04:23:22
Paul Lesniewski wrote:
>> Thanks for the info. I was able to find the thread in the archives but
>> I don't have any of those messages in my mail client, so I can't reply
>> to that thread. I turned on debugging mode and got some interesting
>> output, namely this line at the top:
>> *COMMAND USED TO REPORT:* /usr/bin/sa-learn --spam
>> --configpath=/etc/spamassassin --username=user@... <
>> this was followed by the message body (including headers and
>> SpamAssassin headers) and then this message:
>> *RESULTS FROM REPORT:* (13)
>>  => Learned tokens from 0 message(s) (1 message(s) examined)
> Anyone remember exactly what the cause of error 13 is? Error 2 is
> still unknown? Anyone ask on the SA-users list? I imagine at least
> one of them might be due to not running the SA commands as a properly
> permissioned user.
Ok, I just posted a message on the SA users list asking about the error
>> My question is: when the sa-learn command is run, in which directory is it run?
> >From the plugin directory unless you do something different with your
> command configurations in the plugin config.php file. It should not
> matter very much (not at all, actually) where it is run from.
Ok. The reason I ask is the "< ../data/..." part. "data" is assumed to
be relative to some location and if it's relative to the wrong location,
it won't be found.