Summary: | kmail 4.9.5 filter "not in addressbook" does not read the whole address book | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Christian <k> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.9.5 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Christian
2013-02-17 13:53:04 UTC
So far the best explanation I can come up with is that, for the filter condition to consider something "in the address book", both the email address as well as the name string in front of the email address have to match. E.g. An address book entry: Lucky Luke <lucky.luke@wild.west> would match the following "From:" lines: From: Lucky Luke <lucky.luke@wild.west> From: Luke Lucky <lucky.luke@wild.west> But it would not match something like: From: Professor Lucky Luke <lucky.luke@wild.west> I think it's a bug or in any case it's undocumented and unexpected. Can somebody confirm that my hunch of what's going on is accurate? ...for some addresses, it does even stranger things. E.g. I received an email with CC to (changing the name here, but something like) Cc: James.TheSecond@Good-Old.England - the Email address is in my addressbook. The filter automatically added a new contact with just the name TheSecond and nothing else. Another observation on the cases when the filter adds a new contact with only a name, not an email address. This seems to happen when the "Display name" in the email shows with a comma. E.g., if the following is not in the address book, two contacts are added. (Email:) To: "Miller, Mike [KING] <mike.miller@king.royalty.org>" <mike.miller@king.royalty.org> (Address book:) -> Adds one contact: Mike [KING] with email address as above -> Adds another contact: Miller with nothing else I think this should have added one contact with the email address and then everything else as the name. (Maybe the email address for that new contact should be shown in the name as well, because according to that To: string the name is "Miller, Mike [KING] <mike.miller@king.royalty.org>". Another observation: The filter considers two addresses as distinct, when they differ only in capitalisation. These should not be distinct. E.g. Aku.Ankka@ankkalinna.fi is treated as not in the addressbook, when aku.ankka@ankkalinna.fi is contained in the addressbook. This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months. 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. |