Bug 345494 - Contacts from your data can be cluttered with erroneous and synthetic email addresses.
Summary: Contacts from your data can be cluttered with erroneous and synthetic email a...
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 4.14.1
Platform: Debian unstable Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-24 22:29 UTC by Diane Trout
Modified: 2017-03-28 20:51 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 Diane Trout 2015-03-24 22:29:17 UTC
The selection of addresses provided by "Contacts from your data", which I believe is provided by baloo, can become very cluttered with:

* emails sent by services like google docs which generate addgresses like "User Name (Google Docs)" <verylongstring....>
* mistyped addresses e.g. you work at a school and the addresses should be user@example.edu, but someone accidentally sent an email to user@example.com
* I also have excess "'address'" <address> showing up, but that was fixed in Bug 336163.

Perhaps one solution would be to have a better sort order:
  Prefer addresses found in ones contacts first,
  Then addresses you send to (Perhaps weighted by use with a decay by age)
  Then addresses you receive from (also weighted by use)
  Then addresses included on To's and CC's sent by other people. 

Also with the From addresses its also fairly common for spammers to send mail from "Someone You Know" <some totally unrelated address>

Reproducible: Always

Steps to Reproduce:
(start typing contact name)

Actual Results:  
for some contacts, when one has a lot of email, the result is very long and not well ordered

Expected Results:  
it would be nice to have a list that was sorted in a way more relevant to me, and that includes less spam and errors.)
Comment 1 Laurent Montel 2015-04-09 11:36:46 UTC
I fixed a lot of problem with completion.
Now we can hide some specific emails => you can blacklist them.
I fixed order.

I fixed duplicated emails too.

Could you test last 4.14.6 ?
Comment 2 Diane Trout 2015-06-11 19:17:38 UTC
It took me a while to find the time to compile kmail from source. I used the 4.14.8 tag for kdepimlibs, kdepim, kdepim-runtime.

The completion seems to be working much better with 4.14.8, though there's still surprising amount of junk in my mailbox.

I have collaborator whose first name is Cricket. With 4.14.2, there were 24 contacts with 7 unrelated spam address from various *@*.cricket addresses. With 4.14.8 there were 12 "Contacts found in your data", including the same 7 spam addresses. Looking through the list of completions the 5 non-spam suggestions are all different addresses.

So this bug was fixed, though I do wish there was a way to delete/expire spam email addresses from "contacts in your data" e.g. "harp_refinance@necki.cricket".
Comment 3 William L. Thomson Jr. 2017-03-28 20:43:34 UTC
I have a ridiculous amount of unwanted emails that show in auto completion. I have not been able to get this under control. I changed the order to Personal Conacts then Recent Addresses. I would like it to just be Personal Contacts and no others. I can only change order, not deselect or remove ones from being in the order at all. I clear out recent addresses but it fills back up, and other email addresses coming from some where I need to hunt down and remove. I only want emails in my address book to show in auto completion. Its pretty simple. Not sure why all this complex harvesting, that is erroneous, and even worse. Messes up contacts in Personal Contacts.

When I start typing a name/address that is in my address book, personal contacts. It does not show, but all the erroneous and bad ones do show. Not util I have pretty much typed it all does the correct one show for Auto Completion. Its about as bad as I have ever seen. Its been this way across many versions

KMail Version 5.4.2
KDE Frameworks 5.31.0
Qt 5.7.1 (built against 5.7.1)
The xcb windowing system

Likely an update, but unless its been changed/fixed. More than likely will behave the same as it has for some time now.
Comment 4 William L. Thomson Jr. 2017-03-28 20:51:41 UTC
Forgot to mention;

If I uncheck "Use addresses indexed from emails for autocompletion" It no longer shows anything from my Address Book, or others. Just shows recent addresses, emails no names odd.

If I uncheck use recent addresses I think it stops collecting them, but no change otherwise.

Neither allows me to just use contacts in my address book.