[Bug 291582] New: "Apply filters" only works if a "pipe through prog" filter exists

S. Burmeister sven.burmeister at gmx.net
Sun Jan 15 13:57:57 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=291582

           Summary: "Apply filters" only works if a "pipe through prog"
                    filter exists
           Product: kmail2
           Version: unspecified
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: filtering
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: sven.burmeister at gmx.net


Version:           unspecified (using KDE 4.7.4) 
OS:                Linux

I have several filters that check incoming messages (imap) for e.g. mailinglist
headers or the subject.

If I select multiple emails in the threaded message list (click on the first,
hold shift, click on the last) and issue "apply filters > apply all filters"
only the first and the last (selected) are filtered. Watching the filter logs I
see that the messages from the same thread and hence mailinglist fail the same
test if they were not the first or the last item selected.

I think this happens because their content or whatever the filter checks is not
downloaded. The filter only works for the first and the last message whose
content was downloaded to be shown in the preview pane when I selected them.

If I add a filter that uses "pipe through some app", e.g. bogofilter via the
spam wizard, suddenly the above works. My guess, because "pipe through" forces
the download of each email for filtering (or adds some header?).

Reproducible: Always

Steps to Reproduce:
- create some filters that move email based on headers
- select multiple messages in a threaded imap message list by clicking on the
first, holding shift and clicking on the last
- right-click and pick "apply filters" -> all filters

Actual Results:  
- only the messages that were shown in the preview pane when selecting

Expected Results:  
- successfully filter all selected emails

- adding a filter that pipes all emails through e.g. bogofilter makes the
filters work on all messages

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list