Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: spam mails using image/gif in multipart/alternative
Date: Thu, 08 Dec 2005 22:14:09 +0100	[thread overview]
Message-ID: <v94q5j5m1q.fsf@marauder.physik.uni-ulm.de> (raw)

Hi,

within the last days, I've seen several spam mails on Gmane with such
a MIME structure[1]:

  <* mixed> Re: unaccommodating
  <1.* alternative>
  <1.1.* alternative>
  <1.1.1 text>
  <1.1.2 html>
  <1.2 gif>
  <2 text>

Gnus displays the image/gif part for me, probably also with the
default settings.

I've committed an addition to the doc string (feel free to improve).
Maybe we should even add "image/.*" in the default?

,----[ <f1> v mm-discouraged-alternatives RET ]
| mm-discouraged-alternatives is a variable defined in `mm-decode.el'.
| Its value is nil
| 
| Documentation:
| List of MIME types that are discouraged when viewing multipart/alternative.
| Viewing agents are supposed to view the last possible part of a message,
| as that is supposed to be the richest.  However, users may prefer other
| types instead, and this list says what types are most unwanted.  If,
| for instance, text/html parts are very unwanted, and text/richtext are
| somewhat unwanted, then the value of this variable should be set
| to:
| 
|  ("text/html" "text/richtext")
| 
| Adding "image/.*" might also be useful.  Spammers use it as the
| prefered part of multipart/alternative messages.
| 
| You can customize this variable.
| 
| [back]
`----

I also fixed the custom type: Matching is done with `string-match' in
`mm-preferred-alternative-precedence' so it should be regexp instead
of string.

Bye, Reiner.

[1] <000001c5fc32$17c2e4a0$486ea8c0__328.46739418364$1134072149$gmane$org@corridor>
    <000001c5f776$d20769f0$d424a8c0@surprising>)
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




             reply	other threads:[~2005-12-08 21:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08 21:14 Reiner Steib [this message]
2005-12-08 22:39 ` Katsumi Yamaoka
2005-12-09  8:57   ` Reiner Steib
2005-12-09 12:29     ` Katsumi Yamaoka
2005-12-16 12:24       ` Katsumi Yamaoka
2005-12-19  7:42         ` Katsumi Yamaoka
2005-12-15 15:25   ` multipart/alternative in gnus-buttonized-mime-types (was: spam mails using image/gif in multipart/alternative) Reiner Steib
2005-12-15 23:12     ` multipart/alternative in gnus-buttonized-mime-types Katsumi Yamaoka
2005-12-16 11:58       ` Katsumi Yamaoka

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=v94q5j5m1q.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).