From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17542 Path: news.gmane.org!not-for-mail From: Bernardo Newsgroups: gmane.emacs.gnus.user Subject: Re: rendering HTML: how to disable Date: Fri, 03 Apr 2015 19:22:58 +1100 Message-ID: <87lhi9oc2l.fsf@pobox.com> References: <87r3wlhjui.fsf@debian.uxu> <874mthpw8x.fsf@deb.home.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1428049557 23473 80.91.229.3 (3 Apr 2015 08:25:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Apr 2015 08:25:57 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Apr 03 10:25:39 2015 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ydwv1-0005yl-Rf for gegu-info-gnus-english@m.gmane.org; Fri, 03 Apr 2015 10:25:36 +0200 Original-Received: from localhost ([::1]:32986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydwv1-0000VD-3V for gegu-info-gnus-english@m.gmane.org; Fri, 03 Apr 2015 04:25:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydwuy-0000V8-IU for info-gnus-english@gnu.org; Fri, 03 Apr 2015 04:25:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ydwuv-0007qh-Cb for info-gnus-english@gnu.org; Fri, 03 Apr 2015 04:25:32 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:56605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydwuv-0007qX-3E for info-gnus-english@gnu.org; Fri, 03 Apr 2015 04:25:29 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ydwus-0005sn-Qs for info-gnus-english@gnu.org; Fri, 03 Apr 2015 10:25:27 +0200 Original-Received: from 33.111.70.115.static.exetel.com.au ([115.70.111.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Apr 2015 10:25:26 +0200 Original-Received: from bernardo.bacic by 33.111.70.115.static.exetel.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Apr 2015 10:25:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 68 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 33.111.70.115.static.exetel.com.au User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:QP45y9B//JX7Js0h5qkfdWARlN0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17542 Archived-At: An old problem revisited >>> LinkedIn etc) in their (HTML formatted) email >>> include URLs which i suspect are used to track users >>> when opening them >> >> Try this: >> >> (setq mm-discouraged-alternatives '("text/html" "text/richtext")) > > ah, much better, thanks > >> >> Otherwise doesn't it work just by not following the >> URLs? > > AFAICT the page pointed by URL is loaded as soon as soon as the message > is opened, to the rejoicing of spammers i still have an HTML formatted email which when opened makes connections on the web; the email headers, among other things show this: Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable as it happens, i'm permanently running a home brewed (quick 'n' dirty) script which monitors TCP connections, this is what it shows when the offending email is viewed: 18:32:52 SYN 68.232.35.48:80 4434478 18:32:53 ESTABL 68.232.35.48:80 18:32:53 ESTABL 59.100.127.135:80 18:32:53 ------ 68.232.35.48:80 18:32:55 SYN 68.232.35.48:80 4434483 18:32:55 ESTABL 68.232.35.48:80 18:32:56 ------ 68.232.35.48:80 18:33:01 ESTABL 59.100.127.135:80 the Gnus variable mm-discouraged-alternatives value is: mm-discouraged-alternatives is a variable defined in `mm-decode.el'. Its value is ("text/html" "text/richtext" "image/.*") Original value was nil If i open another email message and go back to the offending one, the TCP connections are established again. But that's not all, i've this time, for a good measure, fired up Wireshark and on opening the message it showed a two dozen DNS queries (which go over UDP) for the domains that had "marketing" and "images" in their name. Guess just setting 'mm-discouraged-alternatives' is required but not sufficient for preventing such behaviour. Any other ways from within Gnus this could be prevented? "GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of 2015-03-08 on deb" "Gnus v5.13" -- Rgds, Bernardo