From ab9a7c3a6d71ea90e79da4c11c63f0f4a066998f Mon Sep 17 00:00:00 2001 From: Titus von der Malsburg Date: Fri, 14 Nov 2014 13:55:11 -0800 Subject: [PATCH] mu4e-shr2text does not anymore retrieve images. When HTML emails contain references to remote images, retrieving these images leaks informationo. For example, the sender can see when I openend the email and from which computer (IP address). For this reason, it is preferrable to not retrieve images. --- mu4e/mu4e-contrib.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/mu4e/mu4e-contrib.el b/mu4e/mu4e-contrib.el index 547b9107..d84d943c 100644 --- a/mu4e/mu4e-contrib.el +++ b/mu4e/mu4e-contrib.el @@ -46,7 +46,15 @@ `mu4e-html2text-command' in a new enough emacs. Based on code by Titus von der Malsburg." (interactive) - (let ((dom (libxml-parse-html-region (point-min) (point-max)))) + (let ((dom (libxml-parse-html-region (point-min) (point-max))) + ;; When HTML emails contain references to remote images, + ;; retrieving these images leaks information. For example, + ;; the sender can see when I openend the email and from which + ;; computer (IP address). For this reason, it is preferrable + ;; to not retrieve images. + ;; See this discussion on mu-discuss: + ;; https://groups.google.com/forum/#!topic/mu-discuss/gr1cwNNZnXo + (shr-inhibit-images t)) (erase-buffer) (shr-insert-document dom) (goto-char (point-min))))