On 11/30/06, Alan in Toronto <Alantoronto@xxxxxxxxxxxxxxx> wrote: > Does anyone know what Error code "2" means for SpamAssassin and/or SA-learn? Why are you not asking on the sa-users list? What about followups to my suggestions on the last thread you had started (running the command as the web server user)? I think you should keep that thread alive, as it is much more helpful to people trying to search the mailing list archives and follow a thread to its conclusion. > I installed the Spam Buttons plugin for SquirrelMail. > > I enablee Report-By-Shell Command Options. In the config file, I > enabled the following lines: > > $is_spam_shell_command = '/usr/bin/sa-learn --spam'; > $is_not_spam_shell_command = '/usr/bin/sa-learn --ham'; > > Note that those commands do work on our server when run outside > SquirrelMail. When SA Learn is run on a batch of messages in a folder, it > returns feedback like this: > > spam SA Learn: Learned tokens from 9 message(s) (12 message(s) examined > > We just haven't been able to achieve similar success when using the plugin. > > I selected five messages and clicked the "Spam" button, and received this > feedback: > > ERROR 2: Problem reporting message ID 392: Learned tokens from 0 > message(s) (1 message(s) examined) > > It always says it has learned from 0 messages, always examined only 1 > message, always shows Error 2. > > I've Googled extensively to find a list of SpamAssassin error codes, but > cannot find such a list. > > Can anyone provide more detail on what "ERROR 2" signifies? > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > -- > squirrelmail-users mailing list > Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines > List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx > List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users