[kmail2] [Bug 345005] Filters do not work on the body of the message if the message is in base64

2016-09-26 Thread Marco Gamberoni via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=345005

Marco Gamberoni  changed:

   What|Removed |Added

 CC||gamber...@libero.it

--- Comment #4 from Marco Gamberoni  ---
Created attachment 101206
  --> https://bugs.kde.org/attachment.cgi?id=101206=edit
email with the Base64 encoded text: "The file 4207_66496070.zip has been
infected with the virus JS/Nemucod.SMK9!tr, and has been removed."

Attaching an example email where a filter intendet to move to Spam if body
contains "Nemucod" fails.
This is the filter definition copied from .config/akonadi_mailfilter_agentrc):
[Filter #0]
Applicability=2
AutomaticName=true
ConfigureShortcut=true
ConfigureToolbar=false
Enabled=true
StopProcessingHere=true
ToolbarName=<>: Nemucod
accounts-set=akonadi_imap_resource_0
action-args-0=224
action-name-0=transfer
actions=1
apply-on=check-mail,manual-filtering
contentsA=Nemucod
fieldA=
funcA=contains
identifier=CBlqQTvFEp7ZHSUb
name=<>: Nemucod
operator=and
rules=1

This is from the filter log viewer:
[11:41:08] Esecuzione regole di filtro: (verifica tutti i criteri seguenti)
""  "Nemucod"
[11:41:08] 0 = ""  "Nemucod"

-- 
You are receiving this mail because:
You are watching all bug changes.


[kmail2] [Bug 345005] Filters do not work on the body of the message if the message is in base64

2016-01-28 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=345005

gra...@howlingfrog.com changed:

   What|Removed |Added

 CC||gra...@howlingfrog.com

--- Comment #2 from gra...@howlingfrog.com ---
I'm able to replicate this easily.  Most common message that _doesn't_ filter
properly for me and which has a Base64 encoded body, are PayPal payment
notifications.

They used to arrive with:
  Content-Transfer-Encoding: quoted-printable
  Content-Type; text/plain; charset="windows-1252"

and those ones would filter just fine.

The new ones now arrive with:
  Content-Transfer-Encoding: base64
  Content-Type: text/plain; charset=UTF-8

and do *not* match at all with the "Body of Message" filtering rule.

My first guess would be that its trying to match/filter based on the raw
message body, instead of the decoded message body.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kmail2] [Bug 345005] Filters do not work on the body of the message if the message is in base64

2016-01-28 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=345005

--- Comment #3 from gra...@howlingfrog.com ---
Bug 311633 sounds similar to this, if not a duplicate.

-- 
You are receiving this mail because:
You are watching all bug changes.