After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788073 - Don't save obvious spam contacts
Don't save obvious spam contacts
Status: RESOLVED OBSOLETE
Product: geary
Classification: Other
Component: engine
master
Other Linux
: Normal enhancement
: ---
Assigned To: Geary Maintainers
Geary Maintainers
Depends on: 791275
Blocks:
 
 
Reported: 2017-09-23 10:11 UTC by Michael Gratton
Modified: 2019-03-17 04:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Gratton 2017-09-23 10:11:55 UTC
I have a whole lot of contacts that have clearly been harvested from spam, courtesy Bug 714943 and stuff that still makes it through my inbox that look like this:

> "mike@vee.net" <obvious@spam.com>

I.e. the address label is my email address, but the address itself is spam.

It might be worth examining an existing contacts database to see if there are any legit uses.

If not, before saving a new contact we should try parsing the label and if it looks like a valid email address, only add a new contact if the normalised label is the same as the normalised address.
Comment 1 Michael Gratton 2018-01-28 00:36:54 UTC
I'm adding some API to Geary.RFC822.MailboxAddress to make detecting these addresses somewhat straight-forward, so adding a dependency on that.
Comment 2 Michael Gratton 2019-03-17 04:52:40 UTC
Closing in favour of: https://gitlab.gnome.org/GNOME/geary/issues/318