[kmail2] [Bug 439064] New: filter created on To wrongly matches also Delivered-To

kavol bugzilla_noreply at kde.org
Wed Jun 23 12:15:31 BST 2021


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

            Bug ID: 439064
           Summary: filter created on To wrongly matches also Delivered-To
           Product: kmail2
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: commands and actions
          Assignee: kdepim-bugs at kde.org
          Reporter: kavol at seznam.cz
  Target Milestone: ---

I'm receiving lots of emails that are not directed to me, yet I want to process
them somehow. For some purposes, I need to filter out email where I am not on
the list of recipients. Trying to make negative filter on "To" with my address
fails, because the filter rules wrongly matches "Delivered-To".

STEPS TO REPRODUCE
1. have your address subscribed somewhere from where you get some emails with
your address in "To:" field and some sent to BCC or so, with your address not
included in "To:" but included in "Delivered-To:"
2. create an filter in kmail with a rule "To:" "does not contain"
"youraddress at example.com"
3. apply the filter on a message which does not contain your address in "To"
(but it is present in "Delivered-To")

OBSERVED RESULT
the message is not matched, the filter action is ignored

EXPECTED RESULT
the message is matched and the filter action performed on it

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 34
(available in About System)
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
kmail-20.12.2-1.fc34.x86_64

ADDITIONAL INFORMATION
also Envelope-To might suffer from the same, but I haven't tested it

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list