From: David Bremner Date: Wed, 21 Jan 2015 21:46:35 +0000 (+0100) Subject: Re: privacy problem: text/html parts pull in network resources X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=33fa2d8f9c94d5d2ce0b98c69a59f9c5607356ae;p=notmuch-archives.git Re: privacy problem: text/html parts pull in network resources --- diff --git a/1b/d91dc3bf1d640d22be653a8c7bf0f20f4f771b b/1b/d91dc3bf1d640d22be653a8c7bf0f20f4f771b new file mode 100644 index 000000000..9ab059527 --- /dev/null +++ b/1b/d91dc3bf1d640d22be653a8c7bf0f20f4f771b @@ -0,0 +1,79 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 91A90431FCF + for ; Wed, 21 Jan 2015 13:48:07 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id xEUMadofG6R9 for ; + Wed, 21 Jan 2015 13:48:04 -0800 (PST) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 5EC1F431FBC + for ; Wed, 21 Jan 2015 13:48:04 -0800 (PST) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1YE36u-0004Ss-K8; Wed, 21 Jan 2015 21:46:49 +0000 +Received: (nullmailer pid 20910 invoked by uid 1000); Wed, 21 Jan 2015 + 21:46:35 -0000 +From: David Bremner +To: Austin Clements , Daniel Kahn Gillmor + +Subject: Re: privacy problem: text/html parts pull in network resources +In-Reply-To: <20150121211407.GK22599@csail.mit.edu> +References: <87ppa7q25w.fsf@alice.fifthhorseman.net> + <20150121211407.GK22599@csail.mit.edu> +User-Agent: Notmuch/0.19+27~g29ffde4 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Wed, 21 Jan 2015 22:46:35 +0100 +Message-ID: <87h9vjx0w4.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +Cc: notmuch mailing list +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 21 Jan 2015 21:48:07 -0000 + +Austin Clements writes: + +> I have a fix for this on shr buried deep in an old patch series that I +> never got back to: id:1398105468-14317-12-git-send-email-amdragon@mit.edu +> +> For shr, the key is to set shr-blocked-images to ".". However, IIRC, +> in the current notmuch message rendering pipeline, mm overrides this +> variable with something computed from gnus-blocked-images. That said, +> I'm not sure why gnus-blocked-images isn't *already* taking care of +> this, but that's probably the place to start digging. +> + + +My particular maze of twisty configuration ends up in mm-shr, which +seems to ignore shr-blocked-images, but rather pay attention to +gnus-blocked-images and gnus-inhibit-images (does this seem like a bug +to anyone else?) + +At least in emacs 24.4 the default value of gnus-blocked-images is set +to a function gnus-block-private-groups, which is probably unhelpful for +us. + +Customizing gnus-blocked-images to a regex does seem to have some +effect. Also, setting gnus-inhibit-images to non-nil value.