1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Trying to fix "Report as Spam" and "Report as Innocent"

Discussion in 'Plesk for Linux - 8.x and Older' started by davidnewcomb, Aug 15, 2007.

  1. davidnewcomb

    davidnewcomb Guest

    I have been trying to fix the "Report as Spam" links in horde.

    I have managed to get Horde to write the links "Report as Spam" and "Report as Innocent" at the top of each folder listing.

    This is done by editing:

    and changing the following lines:

    $conf['spam']['reporting'] = true;
    $conf['notspam']['reporting'] = true;
    $conf['spam']['program'] = '/usr/bin/sa-learn -u %u --spam';
    $conf['notspam']['program'] = '/usr/bin/sa-learn -u %u --ham';

    Horde reports:

    1 message has been reported as spam.
    1 message has been deleted.

    Yet the .spamassassin files (bayes_toks and bayes_seen) have not been touched.

    Is this the correct way to implement per user spam training?

    Any pointers to documentation or what I am doing wrong would be helpful.

  2. Venia

    Venia Guest

    Look here (but be aware what you're doing)
  3. davidnewcomb

    davidnewcomb Guest

    Thanks. I wrote that article!