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