Bug 158756

Summary: Use "not in addressbook" by default for spam filters
Product: [Frameworks and Libraries] Akonadi Reporter: S. Burmeister <sven.burmeister>
Component: Mail Filter AgentAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: wishlist CC: luigi.toscano, philipp_foerster
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description S. Burmeister 2008-03-04 11:01:00 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

If I use the spam-wizard to set-up spam-filtering via bogofilter, the "check-rule" only includes "email not larger than x". Since kmail provides a whitelist-feature, i.e. "not in addressbook", this should be added as criterion.

If this is not enabled by default because checking against every single contact in all addressbooks is too slow, I would suggest the following, if it is doable with akonadi. There has to be some possibility, since thnderbird can do this as well.

If one would create a sub-list of just the domains that are in the local addressbook, this would increase performance by quite a bit, since only those emails that have a matching domain have to be checked against all contacts in the addressbook.

An example:
Suppose I would work at kde.org, i.e. I have a lot @kde.org addresses in my addressbook. So if 5% of my the spam-emails  I get use @kde.org, only those 5% have to be checked against all contacts with @kde.org in my addressbook. Those 95% with other domains, which do not have a domain that is part of my addressbook do not cause any query-traffic.

Another, quicker approach would be to include a checkbox in the wizard that asks the user whether to use the addressbook as whitelist or not.
Comment 1 Thomas McGuire 2008-03-10 12:57:39 UTC
Related bugs about addressbook entries and spam filtering:
Bug 51517
Bug 158756
bug 158758
Comment 2 Myriam Schweingruber 2012-08-18 08:49:30 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 3 Luigi Toscano 2012-08-19 00:22:28 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.
Comment 4 Philipp 2012-08-21 16:19:45 UTC
Still valid for kmail2
Comment 5 Justin Zobel 2021-03-09 05:46:33 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.