Bug 291635 - Relative trash folder for antispam filter
Summary: Relative trash folder for antispam filter
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.9.2
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 08:49 UTC by karaluh
Modified: 2012-10-15 07:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description karaluh 2012-01-16 08:49:37 UTC
Version:           4.7
OS:                Linux

Currently you have to pick one specific folder for all spams. However, when you have for example three IMAP accounts it would be more sensible to put spam mails from each account to that account's trash folder.

Reproducible: Always



Expected Results:  
.

OS: Linux (i686) release 3.0.0-15-generic
Compiler: gcc
Comment 1 András Manţia 2012-10-13 22:46:40 UTC
You can go to Settings->Configure Filter and create a spam pipe-through filter (e.g Bogofilter check) that works only on certain accounts, and add a new action "Add Header" with name like "Filtered account" some custom text ("Account #1") after the "Pipe Through" action. 
Then you create (or modify) the Spam Handling filter so it acts based on the "Filtered Account" header being "Account #1".
You do the same for other accounts where you want spam delivering for different folders.

If you want all this in an automated way, it is another question, and that is related to the spam wizard. Reopen the wish in that case.
Comment 2 karaluh 2012-10-15 07:02:37 UTC
(In reply to comment #1)
> If you want all this in an automated way, it is another question, and that
> is related to the spam wizard. Reopen the wish in that case.

That is exactly what I would expect. Reopening.