Author Topic: Plugin Spam/Junk + Filter  (Read 5275 times)

Offline renatadias

  • Newbie
  • *
  • Posts: 2
Plugin Spam/Junk + Filter
« 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.
« Last Edit: April 27, 2015, 04:39:36 PM by renatadias »

Offline renatadias

  • Newbie
  • *
  • Posts: 2
Re: Plugin Spam/Junk + Filter
« Reply #1 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.

Offline Max Barr

  • Newbie
  • *
  • Posts: 3
Re: Plugin Spam/Junk + Filter
« Reply #2 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
 
It's exactly what you are asking for  ;)
« Last Edit: June 08, 2015, 02:35:19 PM by Max Barr »

Offline johnwayne

  • Jr. Member
  • **
  • Posts: 21
Re: Plugin Spam/Junk + Filter
« Reply #3 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?