Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Bernardo <bernardo.bacic@pobox.com>
To: info-gnus-english@gnu.org
Subject: Re: rendering HTML: how to disable
Date: Fri, 03 Apr 2015 19:22:58 +1100	[thread overview]
Message-ID: <87lhi9oc2l.fsf@pobox.com> (raw)
In-Reply-To: <874mthpw8x.fsf@deb.home.net>


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





  parent reply	other threads:[~2015-04-03  8:22 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.14933.1417260021.1147.info-gnus-english@gnu.org>
2014-11-29 19:45 ` Emanuel Berg
2014-11-29 20:50   ` Bernardo
2014-11-29 21:12     ` Adam Sjøgren
2014-11-30  6:25       ` Bernardo
2014-11-30 12:07         ` Adam Sjøgren
2014-12-01 21:40           ` Bernardo
2014-12-01 21:53             ` Adam Sjøgren
2014-12-02 10:38               ` Bernardo
2014-12-02 10:43                 ` Adam Sjøgren
     [not found]     ` <mailman.14972.1417295555.1147.info-gnus-english@gnu.org>
2014-11-29 23:16       ` Emanuel Berg
2014-11-29 23:22         ` Adam Sjøgren
     [not found]         ` <mailman.14977.1417303389.1147.info-gnus-english@gnu.org>
2014-11-29 23:42           ` Emanuel Berg
2014-11-29 23:46             ` Adam Sjøgren
2014-11-30  4:00       ` Mike Kupfer
2014-11-30 11:31         ` Adam Sjøgren
2014-11-30 11:48         ` Adam Sjøgren
2014-11-30 12:07           ` Adam Sjøgren
2014-11-30 12:09             ` Adam Sjøgren
     [not found]           ` <mailman.14993.1417349281.1147.info-gnus-english@gnu.org>
2014-11-30 15:49             ` Mike Kupfer
2015-04-03  8:22     ` Bernardo [this message]
2015-04-03  9:57       ` Adam Sjøgren
2015-04-03 11:50         ` Bernardo
2015-04-03 12:05           ` Adam Sjøgren
2015-04-03 12:09             ` Adam Sjøgren
2015-04-04  0:51               ` Bernardo
2015-04-04 12:25                 ` Adam Sjøgren
     [not found]     ` <mailman.3220.1428049535.31049.info-gnus-english@gnu.org>
2015-04-03 18:27       ` Emanuel Berg
2014-11-29  8:57 Bernardo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lhi9oc2l.fsf@pobox.com \
    --to=bernardo.bacic@pobox.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).