Author Topic: sauserprfes not move messages marked as spam to the Spam folder  (Read 3353 times)

Offline toxi

  • Newbie
  • *
  • Posts: 7
    • Information and computer portal Service Plus (Ru)
sauserprfes not move messages marked as spam to the Spam folder.
How to make sauserprfes move messages marked as spam to the Spam folder?
Jabber: toxi_roman@jabber.ru

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: sauserprfes not move messages marked as spam to the Spam folder
« Reply #1 on: July 24, 2013, 09:34:02 AM »
this is not function of either the sauserprefs plugin or spamasassin. you need to setup a filter or delivery rule (usually on your server) to d this
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline toxi

  • Newbie
  • *
  • Posts: 7
    • Information and computer portal Service Plus (Ru)
Re: sauserprfes not move messages marked as spam to the Spam folder
« Reply #2 on: July 25, 2013, 02:54:05 AM »
I installed the plugin movespam, which itself should move messages marked as spam to the Spam folder.

plugins/movespam/config.inc.php
Code: [Select]
// If this string is at the beginning of the subject, the message will be moved to the junk folder.
$rcmail_config['movespam_subject'] = '[*****SPAM*****]';

// True to move all spam. False to move only new (unread) spam.
$rcmail_config['movespam_seen'] = true;

plugins/movespam/movespam.php
Code: [Select]
class movespam extends rcube_plugin
{
public $task = 'mail';
private $open_mbox = 'INBOX';
private $spam_mbox = 'JUNK';
private $spam_text = '[*****SPAM*****]';
private $move_seen = true;

... {code} ....
}
Jabber: toxi_roman@jabber.ru