• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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

D

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:
/etc/psa-horde/imp/conf.php

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.

Thank,
David.
 
Back
Top