Created attachment 2321 [details] spam folder patch Let me propose a patch which adds special spam folder and simple plugin for moving mails between spam and inbox folders. Spam folder works exactly the same a trash, but for spam. Such functionality will be useful when spam filtering acts on a server side. For example dovecot antispam plugin or gmail spam system
Hello Victor! Sorry for the late response, but I've been reading your patch and don't really understand what's the point of it. Neither why a new folder type and a plugin is needed to move spam mails when existing actions or filtering rules can already do that. Could you explain what use cases are you trying to solve and why it can be done with current features available? Thanks in advance,
Mmm, sorry, I wanted to mean "and why it can't be done with current features..." ;-)
hi sorry for the late response too (greetings from bakhmut trenches) this feature may be very useful when spam filtered on server side. for example with dovecot antispam plugin or appropriate sieve rules. also gmail is a good example too. i want to separate spam and trash, but cannot create more than one trash folder. and plugin is needed just for additional comfort. it is more easy to push the toolbar button than drag several selected messages to spam folder
sorry, forget to mention - separate spam folder needed to learn span filters on server side
You can create sub-folders of the trash folder, thus creating more than one trash folder.
(In reply to Victor Ananjevsky from comment #3) > it is more easy to push the toolbar button than drag several > selected messages to spam folder As was said in comment #1, you can use an Action to move messages, and Actions can have their toolbar buttons.