[Bug 255388] Kmail filters dont work in incoming mail

Alexander Stein alexander.stein at informatik.tu-chemnitz.de
Mon Dec 12 13:26:56 GMT 2011


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


Alexander Stein <alexander.stein at informatik.tu-chemnitz.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexander.stein at informatik.
                   |                            |tu-chemnitz.de




--- Comment #43 from Alexander Stein <alexander stein informatik tu-chemnitz de>  2011-12-12 13:26:55 ---
I upgraded to 4.7.3 (Gnetoo stable) from 4.4.11 and also noticed the Mail
filter problem. Filter on POP3 accounts works, but on IMAP it doesn't.
Appllying filters manually works, but only on already fetched mails. So Ctrl+A
and Ctrl+J does only work on mais previosly fetched (same for click and
shift+click to get a list).
But i noticed something interesting: Filter _do_ work on IMAP accounts, if I
filter on To, rather than List-ID for mailing lists. This obviously only works
for initial mails and not replies.
So I launched the Filter Log Viewer and noticed the following filter output on
a mail i wrote to myself in To and CC:
------------------------------
[14:24:26] Evaluating filter rules: (match any of the following) "To"
<contains> "<linux-arm-kernel.lists.infradead.org>" "CC" <contains>
"<linux-arm-kernel.lists.infradead.org>"
[14:24:26] 0 = "To" <contains> "<linux-arm-kernel.lists.infradead.org>"
(alexander.stein at informatik.tu-chemnitz.de)
[14:24:26] 0 = "CC" <contains> "<linux-arm-kernel.lists.infradead.org>" ()
[14:24:26] Evaluating filter rules: (match all of the following) "List-Id"
<contains> "<linux-arm-kernel.lists.infradead.org>"
[14:24:26] 0 = "List-Id" <contains> "<linux-arm-kernel.lists.infradead.org>" ()
[14:24:26] Evaluating filter rules: (match all of the following) "CC"
<contains> "linux-kernel at vger.kernel.org"
[14:24:26] 0 = "CC" <contains> "linux-kernel at vger.kernel.org" ()
[14:24:26] Evaluating filter rules: (match any of the following) "To"
<contains> "linux-kernel at vger.kernel.org" "CC" <contains>
"linux-kernel at vger.kernel.org"
[14:24:26] 0 = "To" <contains> "linux-kernel at vger.kernel.org"
(alexander.stein at informatik.tu-chemnitz.de)
[14:24:26] 0 = "CC" <contains> "linux-kernel at vger.kernel.org" ()
[14:24:26] Evaluating filter rules: (match all of the following) "List-Id"
<contains> "<u-boot.lists.denx.de>"
[14:24:26] 0 = "List-Id" <contains> "<u-boot.lists.denx.de>" ()
---
If I manually apply the filter, I get the following output:
------------------------------
[14:25:42] Evaluating filter rules: (match all of the following) "List-Id"
<contains> "<wireshark-dev.wireshark.org>"
[14:25:42] 0 = "List-Id" <contains> "<wireshark-dev.wireshark.org>" ()
[14:25:42] Evaluating filter rules: (match any of the following) "To"
<contains> "<linux-arm-kernel.lists.infradead.org>" "CC" <contains>
"<linux-arm-kernel.lists.infradead.org>"
[14:25:42] 0 = "To" <contains> "<linux-arm-kernel.lists.infradead.org>"
(alexander.stein at informatik.tu-chemnitz.de)
[14:25:42] 0 = "CC" <contains> "<linux-arm-kernel.lists.infradead.org>"
(alexander.stein at informatik.tu-chemnitz.de)
[14:25:42] Evaluating filter rules: (match all of the following) "List-Id"
<contains> "<linux-arm-kernel.lists.infradead.org>"
[14:25:42] 0 = "List-Id" <contains> "<linux-arm-kernel.lists.infradead.org>" ()
[14:25:42] Evaluating filter rules: (match all of the following) "List-Id"
<contains> "<linux-can.vger.kernel.org>"
[14:25:42] 0 = "List-Id" <contains> "<linux-can.vger.kernel.org>" ()
[14:25:42] Evaluating filter rules: (match all of the following) "CC"
<contains> "linux-kernel at vger.kernel.org"
[14:25:42] 0 = "CC" <contains> "linux-kernel at vger.kernel.org"
(alexander.stein at informatik.tu-chemnitz.de)
[14:25:42] Evaluating filter rules: (match any of the following) "To"
<contains> "linux-kernel at vger.kernel.org" "CC" <contains>
"linux-kernel at vger.kernel.org"
[14:25:42] 0 = "To" <contains> "linux-kernel at vger.kernel.org"
(alexander.stein at informatik.tu-chemnitz.de)
[14:25:42] 0 = "CC" <contains> "linux-kernel at vger.kernel.org"
(alexander.stein at informatik.tu-chemnitz.de)
[14:25:42] Evaluating filter rules: (match all of the following) "List-Id"
<contains> "<u-boot.lists.denx.de>"
[14:25:42] 0 = "List-Id" <contains> "<u-boot.lists.denx.de>" ()
---
It seems not all E-Mail headers are passed to the filter upon initial mail
reception.

-- 
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