Archive

Posts Tagged ‘php’

Roundcube Webmail 1.7.x: Updated client-side filter plugin

July 21st, 2026 No comments

 

Filters 2.5.1 : first update to the filters plugin.

  • Make sure the filter rules are processed ONLY on the Inbox.
  • Refresh Inbox after processing rules


DISCLAIMER: This code is provided ‘as is’ without warranty of any kind. Use at your own risk. The author assumes no responsibility for any damages or data loss.

Downloads:

Enjoy 🙂

Categories: filters, linux, PHP, plugin, roundcube Views: 382

Updated client-side filter plugin for Roundcube Webmail 1.7.x

June 12th, 2026 No comments

 

As a longtime user of a self-hosted Roundcube installation, I was unhappy with the fact that one of my favorite plugins no longer worked with recent versions of Roundcube (1.7.x) and PHP 8.4.x. To make matters worse, the client-side filters plugin I used, seems to be abandonned by the original authors.
This is the old plugin: https://github.com/roundcubevnz/roundcube-plugin-filters

So, I took it upon me to update the plugin to make ik compatible again with the latest versions of RoundCube (1.7.x) and PHP 8.4.x. Tbh, I am not much of a PHP-coder, so I relied heavily on the use of Google Gemini to do the heavy lifting for me. It took me several sessions and many hours, providing feedback and pushing Gemini to produce the new code until it finally did what I wanted, without errors.
The plugin adds a tab to the Roundcube Settings, allowing you to create filters. The filters can also be edited again, saved or saved as (create copy), and deleted.

If you want to use it, download the zipfile, unzip it in your Roundcube plugins folder, and enable it in the config. You may also need to create the DB-table called filters. You can use the sql file in the zipfile. You most likely also need to change the DB name (USE dbname; ) in the sql file before you run this.
It works fine for me, but as always, YMMV.

Everybody likes screenshots, so this is what it looks like when editing an existing rule (click image for large view):

Shows editing of filter rule.

Filters plugin 2.5


DISCLAIMER: This code is provided ‘as is’ without warranty of any kind. Use at your own risk. The author assumes no responsibility for any damages or data loss.

Downloads:

Enjoy 🙂

Categories: filters, linux, PHP, plugin, roundcube Views: 364

PHP 8.2/8.3 for Slackware x64

July 8th, 2025 No comments

 

Since these are not available from the official Slackware repos, I compiled these myself, using the PHP 8.1 Slackbuild script. Compiled with imap support and php-imagick.
Tested succesfully with Roundcube 1.6.x  and Nextcloud 30.x.

Downloads:

Enjoy 🙂

Categories: linux, PHP, slackpkg, slackware Views: 342