Bug 125161 - filter criterion: simple address matching
Summary: filter criterion: simple address matching
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-08 12:47 UTC by Magnus Holmgren
Modified: 2012-08-19 00:35 UTC (History)
2 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 Magnus Holmgren 2006-04-08 12:47:26 UTC
Version:            (using KDE KDE 3.5.2)

For matching against fields containing addresses, you have a number of operators to choose from: "is equal to", "contains", "matches regexp", "is in address book in category", and simply "is in address book".

For "is equal to" to be true, the whole content of the field must match exactly, but the content can vary without any real significance.

"contains" matches any substring, meaning that "@example.com" also matches "@example.com.tw", while "@example.com>" only matches if the address is actually in brackets, which is not necessarily the case. In practice this may rarely be a problem, but in some cases you may have to resort to a regexp.

Matching against address book requires you to create a new category specifically for one filter, which can lead to a lot of categories.

And finally, regular expressions are unnecessarily complicated for many users.


Therefore I propose a simpler address matching mechanism, which parses the field(s) in question for the effective address(es) instead of simply doing a substring search, and which allows for at least the simple * wildcard. Examples:

"*@example.com" matches all addresses within the example.com domain.
"root@*" matches all addresses with local part "root".
"*.example.com" matches all addresses within subdomains of example.com, or List-Id's ending with example.com.
"kde-*@kde.org" matches several KDE mailing lists.
Comment 1 Myriam Schweingruber 2012-08-18 07:57:07 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 2 Luigi Toscano 2012-08-19 00:35:32 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.