ถ้าใช้งานกับ roundcube version 1.2.5 ขึ้นไปควรใช้งาน filters plugin ที่ version 2.1.4 นะครับ
https://plugins.roundcube.net/packages/roundcube/filters##Download filters version 2.1.4
https://github.com/6ec123321/filters/archive/master.zipTo install the plugin you have to:
1. PHP requirements: installed imap-module (--with-imap) for working with imap_mime_header_decode() function.
2. Download zip-archive to Roundcube/plugins folder;
3. Unzip downloaded zip-archive;
4. Rename unziped folder to 'filters';
5. Add "filters" in the plugins section of the roundcube configuration (config/config.inc.php).
For example:
$config['plugins'] = array(
'archive',
'password',
'filters',
);
To setup the plugin, open the config.inc.php file and edit the following variables:
$config['autoAddSpamFilterRule'] = TRUE; // if TRUE a spam filter rule is created for all users which automatically move messages into junk folder
$config['spam_subject'] = '[SPAM]'; // How to mark the spam in the subject? To have effect the previous variable must be TRUE.
$config['caseInsensitiveSearch'] = TRUE; // if TRUE filters searching in case insensitive mode.
$config['decodeBase64Msg'] = TRUE; // if TRUE decodes base64 mail messages.