Bug 430678 - Allow to only enable specific external images
Summary: Allow to only enable specific external images
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.16.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-21 21:51 UTC by xdmx
Modified: 2021-02-23 17:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.17.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xdmx 2020-12-21 21:51:07 UTC
SUMMARY
I've been using Thunderbird for the last couple of years and now I'm giving KMail another chance (I left because it was broken wit gmail and with many memory leaks). One thing that I really find useful in Thunderbird is the ability of only allowing specific external sources when there are multiple in an email.

So for example I can enable "assets.domain.com", but not "track.domain.com" or "foo.evilcompany.com". I find this super important for privacy reasons but still allowing to accessing emails and their images.

Would it be possible to add it to KMail as well?
Comment 1 Laurent Montel 2020-12-22 05:54:20 UTC
Hi,
Is it a specific plugin in thunderbird ?
How do you specify theses domain etc.
It can be useful indeed.

Regards
Comment 2 Laurent Montel 2020-12-22 05:57:44 UTC
Ok I found it 
https://support.mozilla.org/en-US/kb/remote-content-in-messages
Comment 3 Laurent Montel 2020-12-22 06:47:36 UTC
Git commit 3675507317e0974c1a72b6ab09ab9ab598709c99 by Laurent Montel.
Committed on 22/12/2020 at 06:47.
Pushed by mlaurent into branch 'master'.

Start to implement Bug 430678 - Allow to only enable specific external images

M  +5    -0    messageviewer/src/CMakeLists.txt
A  +18   -0    messageviewer/src/remote-content/remotecontentmanager.cpp     [License: LGPL(v2.0+)]
A  +23   -0    messageviewer/src/remote-content/remotecontentmanager.h     [License: LGPL(v2.0+)]

https://invent.kde.org/pim/messagelib/commit/3675507317e0974c1a72b6ab09ab9ab598709c99
Comment 4 xdmx 2020-12-22 15:35:00 UTC
(In reply to Laurent Montel from comment #2)
> Ok I found it 
> https://support.mozilla.org/en-US/kb/remote-content-in-messages

Yes, this is exactly the feature I was referring to.

One thing to note is that when you click on those entries to allow them, that's saved for future (/past/other) emails as well. So if for example you enable images from assets.kde.org in 1 email, then all emails will allow that url as well (with the "edit remote content preferences" option to remove it if needed/clicked by mistake)
Comment 5 Laurent Montel 2021-02-23 12:51:42 UTC
Git commit 2ba2bca0296b654a75d0bf59cf5f9f3e90ae6300 by Laurent Montel.
Committed on 23/02/2021 at 12:50.
Pushed by mlaurent into branch 'master'.

Fix Bug 430678 - Allow to only enable specific external images
(now all is implemented)
FIXED-IN: 5.17.0

M  +6    -1    messageviewer/src/remote-content/remotecontentmenu.cpp

https://invent.kde.org/pim/messagelib/commit/2ba2bca0296b654a75d0bf59cf5f9f3e90ae6300
Comment 6 xdmx 2021-02-23 17:01:38 UTC
You are awesome, thank you!