Roundcube Community Forum
Third Party Contributions => API Based Plugins => Topic started by: adureli on July 06, 2009, 08:49:02 PM
-
I know this has been discussed before, but I would really appreciate if someone could develop a client side filter for e-mails in Roundcube 0.3beta. For example to move all messages containing a prefix to some folder. :)
I think it´s a plugin a lot of people would be interested in using.
Thanks!
-
There is something allready available called Sieve filtering. You will find the plugin for it on the plugin page.
-
The sieve plugin is for a server side solution. The email server need to support sieve. I´m asking for a client side solution. Create some rules that are applied locally by roundcube.
Thanks.
-
Hi just wanted to mention that i am starting development on a filter plugin, the plan is to support the same filter options as thunderbird and have an optional cron job in addition to running when checking incomming mail.
-
Hi AJenbo,
Any news?
Can we help you?
Thanks,
Guillaume.
-
Hi all,
Any news about this plugin ?
Thanks :)
-
I also want to ask again about this possible plugin.
I am using a combination of IMAP / Thunderbird and Roundcube. Ideally my filters from Thunderbird would work in Roundcube too. I'd be willing to contribute financially for such a plugin.
-
if you want to run the same filters in different clients then you really should do the filtering server side.
-
For information, I found Client Side Plugin and it work fine with Roundcube 0.7.1 : Roundcube client-side filters plugin | Free Communications software downloads at SourceForge.net (http://sourceforge.net/projects/rcubefilters/)
The developer is Roberto Zarelli
-
hi all :
in 0.8rc got two errors
PHP Fatal error: Call to protected method rcube_imap::messagecount() from context 'filters' in /plugins/filters/filters.php on line 114
PHP Error: Deprecated hook name. imap_init -> storage_init in /program/include/rcube_plugin_api.php on line 221 (POST /?_task=settings&_action=plugin.filters-save?_task=&_action=)
How to fix it ?
Thanks
-
Don't know but here below the French localization
$labels = array();
$labels['filters'] = 'Filtres';
$labels['storedfilters'] = 'Filtres actifs';
$labels['whatfilter'] = 'Filtre';
$labels['searchstring'] = 'Contient';
$labels['moveto'] = 'Déplacer vers';
$labels['from'] = 'De';
$labels['to'] = 'Pour';
$labels['cc'] = 'Copie à';
$labels['subject'] = 'Sujet';
$messages = array();
$messages['nosearchstring'] = "Le champ 'Contient' ne peut pas être vide.";
$messages['successfullysaved'] = "Filtre enregistré avec succès.";
$messages['unsuccessfullysaved'] = "Erreur: filtre non sauvegarder.";
$messages['successfullydeleted'] = "Filtre supprimé avec succès.";
$messages['unsuccessfullydeleted'] = "Erreur: filtre non supprimé.";
$messages['msg_if_field'] = 'Si le champ';
$messages['msg_contains'] = 'contient';
$messages['msg_move_msg_in'] = 'déplacer le message vers';
$messages['msg_no_stored_filters'] = "Il n'y a pas de filtres enregistrés.";
-
Hi,
The fix is fairly simple if this is the only error. You will need to change the old hook from "imap_init" to "storage_init" in the plugin code where it is being created.
Try this and see how you go, should only take a few minutes to do.
hi all :
in 0.8rc got two errors
PHP Fatal error: Call to protected method rcube_imap::messagecount() from context 'filters' in /plugins/filters/filters.php on line 114
PHP Error: Deprecated hook name. imap_init -> storage_init in /program/include/rcube_plugin_api.php on line 221 (POST /?_task=settings&_action=plugin.filters-save?_task=&_action=)
How to fix it ?
Thanks
-
Anyone can help me customize the plugin Gimly referred to above?
That Roundcube client-side filters plugin processes all messages in all folders, i would like it to:
A: process only messages in a defined folder, 'INBOX' for example
B: process only unread messages, so once a message is marked read the filter plugin ignores it.
The reason for this i would like to filter out messages that have [SPAM] and/or [PossibleSpam] added to the subject and move it to the 'JUNK' folder. The filter as is works, but if move a message back to the 'INBOX' or any other imap folder i might have, next time i open that folder the message is moved to the 'JUNK' folder again.
I have been trying to modify it myself, and have come quite a bit in the direction i would like it to be (using option B above), unfortunately i have not been able to read out the user preference settings to get the last step working. If anyone would like to have a look at the code i have (my changes are commented) and compare to the original and would like to complete, plz let me know
-
I create a "move2spam" plugin, based in text filter in config.inc.php , actived by button.
See it in attach.
Anyone can help me customize the plugin Gimly referred to above?
That Roundcube client-side filters plugin processes all messages in all folders, i would like it to:
A: process only messages in a defined folder, 'INBOX' for example
B: process only unread messages, so once a message is marked read the filter plugin ignores it.
The reason for this i would like to filter out messages that have [SPAM] and/or [PossibleSpam] added to the subject and move it to the 'JUNK' folder. The filter as is works, but if move a message back to the 'INBOX' or any other imap folder i might have, next time i open that folder the message is moved to the 'JUNK' folder again.
I have been trying to modify it myself, and have come quite a bit in the direction i would like it to be (using option B above), unfortunately i have not been able to read out the user preference settings to get the last step working. If anyone would like to have a look at the code i have (my changes are commented) and compare to the original and would like to complete, plz let me know
-
Hi,
for the error PHP Fatal error: Call to protected method rcube_imap::messagecount() from context 'filters' in /plugins/filters/filters.php on line 114
I just changed messagecount to count and it seems to be working perfectly without errors now. I don't know if this breaks anything since it's just the preliminaries but I wanted to help out.
I hope it helps and if anyone could shed some light on this i'd be very grateful as well since I had this issue and after changing it to count() it was fine.
-
yes - messagecount() is protected function
instead - use count() which then internally use messagecount()
-
Hello.
Thank for this plugin.
It's quite useful.
However, I have a problem with it.
Once I activate it, all the sent messages are lost instead of being moved to the Sent folder.
Is there a fix for this ?
I'm using IMAP with courier.