Error code "2" for SpamAssassin and/or SA-learn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does anyone know what Error code "2" means for SpamAssassin and/or SA-learn?


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

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux