Bug 311633 - Kmail2 does not filter by non-ASCII patterns in message body
Summary: Kmail2 does not filter by non-ASCII patterns in message body
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Filter Agent (show other bugs)
Version: 4.9
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 14:33 UTC by Kryol
Modified: 2017-01-07 22:19 UTC (History)
3 users (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 Kryol 2012-12-13 14:33:13 UTC
Mail filtering works for message body only if message contains ASCII symbols. Such messages have Content-Transfer-Encoding: 7Bit.
If I have a message with non-ASCII symbols then message have Content-Transfer-Encoding: base64 and is not filtered. Such message is not filtered even it contains ASCII pattern.


Reproducible: Always

Steps to Reproduce:
1. Create a filter
[Filter #0]
Applicability=0
AutomaticName=false
ConfigureShortcut=true
ConfigureToolbar=false
Enabled=true
Icon=system-run
StopProcessingHere=true
ToolbarName=Test
action-args-0=47
action-name-0=copy
actions=1
apply-on=check-mail,manual-filtering
contentsA=Test
fieldA=<body>
funcA=contains
identifier=BXQFswGQDI6gV6Jm
name=Test
operator=and
rules=1
2. Send a message which contains one word "Test"
3.Send another message with non-ASCII characters, e.g. "Test - Тест"
Actual Results:  
For step 2 pattern was found and message was copied to specified folder.
For step 3 pattern was not found.

Expected Results:  
Pattern is found for both messages (step 2 and 3) and both messages are copied.
Comment 1 Kryol 2013-04-26 10:06:07 UTC
Bug still exists in KDE 4.10
Comment 2 Kryol 2013-10-28 15:06:49 UTC
KDE 4.11. Bug still exists
Comment 3 Laurent Montel 2013-10-28 16:00:45 UTC
Will investigate it.
Comment 4 Kryol 2014-03-31 12:05:28 UTC
KDE 4.12. Bug still exists
Comment 5 Kryol 2014-04-18 12:37:26 UTC
KDE 4.13. Filter does not work yet.
Comment 6 graham 2016-01-28 18:10:36 UTC
Bug 345005 sounds similar to this, if not a duplicate.
Comment 7 Denis Kurz 2016-09-24 20:39:45 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 8 Denis Kurz 2017-01-07 22:19:50 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.