Paul Lesniewski | 5 Oct 2008 02:11
Favicon

Re: spam_buttons (2.2) and sa-learn command

On Thu, Oct 2, 2008 at 12:29 AM, orrik <mariusz <at> bipe.pl> wrote:
>
> Hello
>
> I use squirrelmail-1.4.16(from sources) + spamassassin (yum)
> +qmail+vpopmail+IMAP-4.1.3+compatibility patch on CENTOS 5.2. I have
> installed plugin spam_buttons. In config.php I changed only this:
> ...
> $sb_report_spam_by_move_to_folder = 'INBOX.SPAM';
> $sb_report_not_spam_by_move_to_folder = 'INBOX';
> ...
>
> /var/www/html/webmail/config/config.pl
> and I joined plugin spam_buttons
>
> Marked email is displaced to INBOX.SPAM – and that's it!.
> I need more... After I mark email in INBOX and clicking "Spam" button sender
> should be joined automatically to anti-spam base, I mean „spam buttons" have
> to work much about similarly as works command in shell lower:
>
> # sa-learn --spam /home/vpopmail/domains/some_domain/mail_user/Maildir/.SPAM
>
> I tried like this but it doesn't work:

"it doesn't work" is completely useless.  No one can help you until
you find the error.  Read the mailing list posting guidelines and read
the plugin README file for tips on how to watch your logs and look for
errors and other problems.

> $is_spam_shell_command = 'sudo -u vpopmail /usr/bin/sa-learn --spam';
(Continue reading)

orrik | 6 Oct 2008 10:44
Picon
Favicon

Re: spam_buttons (2.2) and sa-learn command


Hi
Maybe some options in my php.ini is not set up. Which options should be
enabled in php.ini to function correctly spam_button ? I ask is because the
logs (apache,maillog,secure) do not show any bugs/warnings - so if nothing
else comes to my head. In the "act of despair" :) I installed
squirrel_logger but he also does not show anything.
What else can I do to better diagnose the problem?

orrik

--

-- 
View this message in context: http://www.nabble.com/spam_buttons-%282.2%29-and-sa-learn-command-tp19774564p19834035.html
Sent from the squirrelmail-plugins mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Paul Lesniewski | 6 Oct 2008 20:51
Favicon

Re: spam_buttons (2.2) and sa-learn command

Please do not erase the previous parts of the email thread.  That
prevents a review of what your issue is.

> Maybe some options in my php.ini is not set up. Which options should be
> enabled in php.ini to function correctly spam_button ? I ask is because the
> logs (apache,maillog,secure) do not show any bugs/warnings - so if nothing
> else comes to my head. In the "act of despair" :) I installed
> squirrel_logger but he also does not show anything.
> What else can I do to better diagnose the problem?

You need to read the mailing list posting guidelines.  You need to
read the plugin README file.

> Posting guidelines: http://squirrelmail.org/postingguidelines

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins


Gmane