Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: renatadias on April 27, 2015, 04:06:45 PM

Title: Plugin Spam/Junk + Filter
Post by: renatadias on April 27, 2015, 04:06:45 PM
Hello all,

I recently installed the RoundCube and add the plugin "markasjunk", but, how we know, this just move the message to Spam/Junk folder.
I know that exist "markasjunk2" that is possible configure SpamAssassin AutoLearn, but I can't reconfigure SpamAssassin righnow.
I just need a plugin that create a new filter every time user click "mark as junk".
Can anyone help me?

Tks.
Title: Re: Plugin Spam/Junk + Filter
Post by: renatadias on May 05, 2015, 10:10:39 AM
Hi,

I'm creating a "markasjunk" plugin placing the code of "filter" plugin.
How can I get the "From:" from header of message to create a filter when the message was marked as junk ?

Thanks.
Title: Re: Plugin Spam/Junk + Filter
Post by: Max Barr on June 07, 2015, 05:25:06 PM
Hello,
Your  filter plugin/driver for markasjunk2 exist.

I've made a client-side driver for markasjunk2 plugin. It makes new filters each time you mark an email as junk with markasjunk2 !

https://github.com/MaximeBarrast/filter_learn (https://github.com/MaximeBarrast/filter_learn)

It's exactly what you are asking for  ;)
Title: Re: Plugin Spam/Junk + Filter
Post by: johnwayne on October 24, 2016, 09:20:05 AM
using rc v1.1.6 , markasjunk2 v1.9 , filters v2.1.4, and filter_learn v2.0
Filter_learn created filters:
Do not operate upon mailbox folder change.
Do not operate on newly/later received emails.
An exactly designed filter added from the filter interface cannot be removed by the filter_learn driver (ruling out case sensitivity as the culprit, it was exact).

Has anyone else gotten this to work properly or found some other client-side solution?