Skip to content
Roundcube Clientside Filter
PHP JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


 * Filters
 * Plugin that adds a new tab to the settings section to create client-side e-mail filtering.
 * @version 2.2.0
 * @author Roberto Zarrelli <>
 * @author Chris Simon <> from version 2.1.3
 * @author ByteFather <> from version 2.1.6

To install the plugin you have to: 
1. copy the filters folder in the plugins folder of roundcube;
2. add "filters" in the plugins section of the roundcube configuration (config/ 

To setup the plugin, make a copy of the file and save it as and make changes according to the directions in the configfile.
If you do not make the required copy, or you do not make any changes in the copy, the script will automaticly create a spamfilter rule with the subject ***SPAM***, decode base64 messages and does a case insensitive search when a filter is being executed.


1.0 Initial version.
1.1 Fixed some important issues.
1.2 Fixed some minor issues - thanks to Marco De Vivo. 
1.3 Fixed some minor issues and added additional translations: Dutch and French - thanks to Ruud van den Hout.
1.4 News: each rule can now filter all, read or unread messages.
1.5 Fixed some important issues detected with Roundcube 0.8
1.6 Added additional translation: German - thanks to Fynn Kardel. 
1.7 Added additional translation: Russian - thanks to AresMax. 
1.8 Added additional translation: Czech - thanks to Miroslav Baka.
1.9 Added additional translation: Spanish - thanks to Yoni (MyRoundcube Dev Team - 
1.9.1 Added additional translations: Polish - thanks to Damian Wrzalski; Slovak - thanks to Miki.
  - Added additional translation: Portugal - thanks to antoniomr. 
  - Fixed the UTF-8 coding on the German translation - thanks to Veit.
  - Added the contrib section with third-party scripts.
  - Thanks to Carsten Schumann to write the manual filter patch for Filters 1.9.2 which adds the option to filter manually on request (i.e. to move all newsletters/alerts from inbox to trash).
    The patch expands the settings page with an option "Mode: automatic/manual" and adds a "manual filter" button to the toolbar. Finally, it updates the localization files.
  - Added the 'auto add spam filter rule' which automatically add the rule to move messages into junk folder.
  - Added additional translations: Taiwan - thanks to Avery Wu;
  - Added additional translations: Romanian - thanks to Tache Madalin;
  - Fixed to UTF-8 the French translation - thanks to Nvirenque.
  - Added the feature to filter base64 encoded mail messages;
  - Added the feature to filter messages searching in case insensitive or case sensitive mode;
  - Improved the code to prevent the javascript injection - thanks to Moritz;
  - Improved code organization;
  - Minor bug fixes.
  - Fixed a bug which prevented to insert case sensitive search strings - thanks to Emanuele Bruno.
  - Added a dynamic vertical scrollbar when there are a lot of filters to show - thanks to Alain Martini.      
  - Added a notification when the plugin caused 1 or more messages to be moved,
  - Make use of some internal structures from roundcube for a config file to keep the plugin compatible with new versions of roundcube
  - Added the first hints of a per filter case sensitivity switch
  - Finished the work on the case sensitive per filter option
  - Update filters.php (thanks to Pascal29) to prevent showing of php error when no filters are available
  - Repaired encoding for filters search field and in that way proper recognition of phrase (with national characters)
  - Added functionalities for setting filters order / sequence. 
  - Added information where emails are moved (by filters), to which folder.

You can’t perform that action at this time.