Roundcube Community Forum

 

Plugin Spam/Junk + Filter

Started by renatadias, April 27, 2015, 04:06:45 PM

Previous topic - Next topic

renatadias

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.

renatadias

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.

Max Barr

#2
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

It's exactly what you are asking for  ;)

johnwayne

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?