[Users] How to write this plugin?
Paul Rolland (=?UTF-8?B?44Od44O844Or44O744Ot44Op44Oz?=)
rol at witbe.net
Thu Dec 29 08:44:46 CET 2011
On Wed, 28 Dec 2011 18:43:10 -0500
Tom Horsley <horsley1953 at gmail.com> wrote:
> I'm wondering how much work it would be to write a new plugin,
> possibly named "Trollkiller".
> The idea would be to mark either mail from specific users
> as troll messages, or just a particular message as a troll.
> Then the plugin would remember (possibly in a sqlite
> database) the message IDs of the troll messages,
> search for them in incoming References: headers
> and add new message IDs to the troll list.
I must say that I like the idea... so I tried to see what could be done
with Claws today (version 3.8.0) to try to have that without going thru a
First, I though about creating an Action, that could be associated with a
button. So I checked actions, and discovered that one of them was :
But I can't find it in any menu, and I don't have any idea about what it
does... but the name sounds promising ;)
I also check what happens when you right-click on a message, and the menu
that appears contains :
Create filter rule
Create processing rule
Each of them can be created by Subject, From, To and "Automatically" by
selecting manually some criteria. Maybe that could be extended to have a :
Create filter rule > By Message-ID
That would probably allow some steps in the direction of the TrollKiller
feature (that I'd use if available !) without going the plugin way...
TelcoTV Awards 2011 - Witbe winner in "Innovation in Test & Measurement"
Paul Rolland E-Mail : rol(at)witbe.net
CTO - Witbe.net SA Tel. +33 (0)1 47 67 77 77
Les Collines de l'Arche Fax. +33 (0)1 47 67 77 99
F-92057 Paris La Defense RIPE : PR12-RIPE
LinkedIn : http://www.linkedin.com/in/paulrolland
Skype : rollandpaul
"I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry that 10
or 15 years from now, she will come to me and say 'Daddy, where were you
when they took freedom of the press away from the Internet?'"
--Mike Godwin, Electronic Frontier Foundation
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the Users