Gnus development mailing list
 help / color / mirror / Atom feed
* Re: Wrong MIME splitting
       [not found] <87ws9vo5qq.fsf@an-dro.enstb.org>
@ 2009-04-08 23:24 ` Katsumi Yamaoka
  0 siblings, 0 replies; only message in thread
From: Katsumi Yamaoka @ 2009-04-08 23:24 UTC (permalink / raw)
  To: Ronan Keryell; +Cc: bugs, ding

[-- Attachment #1: Type: text/plain, Size: 1455 bytes --]

Cc: ding

>>>>> Ronan Keryell wrote:
> Gnus v5.11
> GNU Emacs 22.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7)
>  of 2009-04-01 on nautilus, modified by Debian
> 200 news.gmane.org InterNetNews NNRP server INN 2.4.1 ready (posting ok).

> I have some trouble for years (yes! :-( ) with some mails disappearing
> with Gnus. Now I've found a simple running example. It seems to be
> related to multipart MIME decoding that range multiple mails. :-(

> The Unix mail file is 353-line long:
> wc /tmp/oo
>   353  1558 15280 /tmp/oo

> and is decoded weirdly:
>  . [ 328: Gayle Kent             ] <* mixed> from: Gayle Kent
>  .     [  42: Gayle Kent             ] <1 text>
>  .     [  35: Gayle Kent             ] <2 rfc822>
>  .         [  15: Gayle Kent             ] <2 html> from: Gayle Kent

> and other mails are included in this mail.  So since this is marked as
> SPAM, my Gnus configuration sends all the mail to the SPAM box, to be
> deleted... :-(

> So I'm a bit scarried because it seems easy to forge DoS MIME mails that
> kill Gnus mailbox :-( Does this method could targeting other MUA?...

You're talking about the nndoc group (i.e., the one made by
the `G f' command in the group buffer), aren't you?

Cf. (info "(gnus) Document Groups")

I don't see how it happens by ways other than `G f'.  Gnus splits
it correctly if at least the contents of that file are in the `file'

mail source.  (GnuBiff reports there are two messages, though.)


[-- Attachment #2: Sample mailbox file --]
[-- Type: application/octet-stream, Size: 15280 bytes --]

From sqtms@bolzano.com  Mon Apr  6 11:18:13 2009
Return-Path: <sqtms@bolzano.com>
Received: from dsl88-250-23388.ttnet.net.tr (dsl88-250-23388.ttnet.net.tr [88.250.91.92] (may be forged))
	by minou.info.enstb.org (8.14.3/8.14.3/Debian-9) with ESMTP id n369HWmh002432
	for <rk@enstb.org>; Mon, 6 Apr 2009 11:18:10 +0200
Received: from [88.250.91.92] by ns3.sangy.com; Mon, 6 Apr 2009 11:18:10 +0200
Date: Mon, 6 Apr 2009 11:18:10 +0200
From: "Gayle Kent" <sqtms@bolzano.com>
X-Mailer: The Bat! (v2.12.00) Personal
Reply-To: sqtms@bolzano.com
X-Priority: 3 (Normal)
Message-ID: <942153291.50935658128456@bolzano.com>
To: rk@enstb.org
Subject: from: Gayle Kent
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_49D9C8D5.228D7F5F"
Content-Transfer-Encoding: 7bit
X-Spam-Flag: YES
X-Spam-Status: Yes, score=17.2 required=5.0 tests=HELO_DYNAMIC_DHCP,
	HTML_MESSAGE,MIME_HTML_ONLY,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E4_51_100,
	RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_XBL,
	RDNS_DYNAMIC,URIBL_BLACK,URIBL_JP_SURBL autolearn=disabled version=3.2.5
X-Spam-Level: *****************
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on minou.info.enstb.org

This is a multi-part message in MIME format.

------------=_49D9C8D5.228D7F5F
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Spam detection software, running on the system "minou.info.enstb.org", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Best Buy Rx FDA Approved Drugs! High Quality Generics. [...]
   

Content analysis details:   (17.2 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 2.9 RCVD_IN_XBL            RBL: Received via a relay in Spamhaus XBL
                            [88.250.91.92 listed in zen.spamhaus.org]
 2.9 URIBL_JP_SURBL         Contains an URL listed in the JP SURBL blocklist
                            [URIs: noblenoble.com]
 2.0 URIBL_BLACK            Contains an URL listed in the URIBL blacklist
                            [URIs: noblenoble.com]
 1.5 HELO_DYNAMIC_DHCP      Relay HELO'd using suspicious hostname (DHCP)
 2.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
                [Blocked - see <http://www.spamcop.net/bl.shtml?88.250.91.92>]
 0.0 HTML_MESSAGE           BODY: HTML included in message
 1.7 MIME_HTML_ONLY         BODY: Message only has text/html MIME parts
 1.5 RAZOR2_CF_RANGE_E8_51_100 Razor2 gives engine 8 confidence level
                            above 50%
                            [cf: 100]
 1.5 RAZOR2_CF_RANGE_E4_51_100 Razor2 gives engine 4 confidence level
                            above 50%
                            [cf: 100]
 0.5 RAZOR2_CHECK           Listed in Razor2 (http://razor.sf.net/)
 0.5 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50%
                            [cf: 100]
 0.1 RDNS_DYNAMIC           Delivered to trusted network by host with
                            dynamic-looking rDNS

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.


------------=_49D9C8D5.228D7F5F
Content-Type: message/rfc822; x-spam-type=original
Content-Description: original message before SpamAssassin
Content-Disposition: attachment
Content-Transfer-Encoding: 8bit

X-Envelope-From: <sqtms@bolzano.com>
X-Envelope-To: <rk@enstb.org>
Received: from dsl88-250-23388.ttnet.net.tr (dsl88-250-23388.ttnet.net.tr [88.250.91.92] (may be forged))
	by minou.info.enstb.org (8.13.0/8.13.0) with SMTP id n369HWmh002432
	Mon, 06 Apr 2009 11:18:10 +0200
	(envelope-from <sqtms@bolzano.com>)
Received: from [88.250.91.92] by ns3.sangy.com; Mon, 6 Apr 2009 11:18:10 +0200
Date: Mon, 6 Apr 2009 11:18:10 +0200
From: "Gayle Kent" <sqtms@bolzano.com>
X-Mailer: The Bat! (v2.12.00) Personal
Reply-To: sqtms@bolzano.com
X-Priority: 3 (Normal)
Message-ID: <942153291.50935658128456@bolzano.com>
To: rk@enstb.org
Subject: from: Gayle Kent
MIME-Version: 1.0
Content-Type: text/html;
  charset=iso-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
</HEAD>
<BODY>

<html>
<body>
<h3>Best Buy Rx</h3>
<p>FDA Approved Drugs!
<a href=http://noblenoble.com>High Quality Generics.</a></p>
<br></body>
</html>

</BODY></HTML>

------------=_49D9C8D5.228D7F5F--

From candelabrumsm66@indiatimes.com  Mon Apr  6 11:19:18 2009
Return-Path: <candelabrumsm66@indiatimes.com>
Received: from gif.cri.ensmp.fr (service.cri.ensmp.fr [86.65.170.33])
	by minou.info.enstb.org (8.14.3/8.14.3/Debian-9) with ESMTP id n369IP3n002464
	for <keryell@minou.info.enstb.org>; Mon, 6 Apr 2009 11:19:09 +0200
Received: from dhcp-077-251-210-201.chello.nl (dhcp-077-251-210-201.chello.nl [77.251.210.201])
	by gif.cri.ensmp.fr (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id n369F6kl015151;
	Mon, 6 Apr 2009 11:15:10 +0200
Received: from 77.251.210.201 by smtp.indiatimes.com; Mon, 6 Apr 2009 11:14:56 +0100
From: "Denver Benton" <candelabrumsm66@indiatimes.com>
To: <ronan.keryell@cri.ensmp.fr>
Subject: Online Aptek
Date: Mon, 6 Apr 2009 11:14:56 +0100
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_000E_01C9B698.275EFAB0"
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
Thread-Index: AcdeVagbY5oLLCEBg3ICjHy8KXsOGn==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <000d01c9b698$275efab0$6400a8c0@candelabrumsm66>
X-Spam-Status: No, score=2.8 required=5.0 tests=HTML_MESSAGE,
	RCVD_IN_BL_SPAMCOP_NET,SPF_SOFTFAIL autolearn=disabled version=3.2.5
X-Spam-Level: **
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on minou.info.enstb.org

This is a multi-part message in MIME format.

------=_NextPart_000_000E_01C9B698.275EFAB0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit

Internet Aptek - beste Qualitat - 100% wirksam

- NEU: Vi + rCi - 56.28 Euro

Vi 10 pilu - 36.26 Euro 
Vi 30 pilu - 85.09 Euro - You Sav 23.89

- Visa verifizierter Onlnieshop 
- Kei npeinlicher Arztbesuch erforderlich 
- keine versteckteK osten 
- Kostenlsoe, arztliche Telefon-Beratung 

rCi 10 pilu - 37.32 Euro
rCi 20 pilu - 72.27 Euro - You Sav 2.81

Nur fur kurze Zeit - vier Tab. umsonst rehalten

http://groups.yahoo.com/group/pepopafilujip88/message/1


------=_NextPart_000_000E_01C9B698.275EFAB0
Content-Type: text/html;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dkoi8-r">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
</head>
<body>
<strong>Internet Aptek - beste Qualitat - 100% wirksam</strong><br>
<br>
- <strong>NEU: Vi</strong> + <strong>rCi - 59.62 Euro</strong><br>
<br>
<strong>Vi</strong> 10 pilu - <strong>36.26</strong> Euro<br>
<strong>Vi</strong> 30 pilu - <strong>85.09</strong> Euro - You Sav 23.89<b=
r>
<br>
- Visa verifizierter Onlnieshop <br>
- Kei npeinlicher Arztbesuch erforderlich <br>
- keine versteckteK osten <br>
- Kostenlsoe, arztliche Telefon-Beratung <br>

<br>
<strong>rCi</strong> 10 pilu - <strong>37.32</strong> Euro<br>
<strong>rCi</strong> 20 pilu - <strong>72.27</strong> Euro - You Sav 2.81<b=
r>
<br>
<a href=3D"http://groups.yahoo.com/group/pepopafilujip88/message/1"><strong=
>Nur fur kurze Zeit - vier Tab. umsonst rehalten</strong></a>
</body>
</html>

------=_NextPart_000_000E_01C9B698.275EFAB0--

From bounce-debian-user-french=Ronan.Keryell=enst-bretagne.fr@lists.debian.org  Mon Apr  6 11:19:39 2009
Return-Path: <bounce-debian-user-french=Ronan.Keryell=enst-bretagne.fr@lists.debian.org>
Received: from coliposte.enst-bretagne.fr (coliposte.enst-bretagne.fr [192.108.115.12])
	by minou.info.enstb.org (8.14.3/8.14.3/Debian-9) with ESMTP id n369J1Op002465
	for <Ronan.Keryell@lit.enstb.org>; Mon, 6 Apr 2009 11:19:37 +0200
Received: from localhost (localhost.localdomain [127.0.0.1])
	by coliposte.enst-bretagne.fr (8.13.7/8.13.7/2006.08.14) with ESMTP id n369J3if032468
	for <Ronan.Keryell@lit.enstb.org>; Mon, 6 Apr 2009 11:19:03 +0200
Received: from courrier.enst-bretagne.fr (smtps.enst-bretagne.fr [10.29.90.4])
	by coliposte.enst-bretagne.fr (8.13.7/8.13.7/2008.01.11) with ESMTP id n369ItWm032437
	for <Ronan.Keryell@lit.enstb.org>; Mon, 6 Apr 2009 11:18:58 +0200
Received: from coliposte.enst-bretagne.fr (coliposte.enst-bretagne.fr [192.108.115.12])
	by courrier.enst-bretagne.fr (8.13.8/8.13.8/2006.06.07) with ESMTP id n369IqAO006508
	for <keryell@courrier.enst-bretagne.fr>; Mon, 6 Apr 2009 11:18:52 +0200
Received: from localhost (localhost.localdomain [127.0.0.1])
	by coliposte.enst-bretagne.fr (8.13.7/8.13.7/2006.08.14) with ESMTP id n369ItOw032430
	for <ronan.keryell@[127.0.0.1]>; Mon, 6 Apr 2009 11:18:55 +0200
Received: from liszt.debian.org (liszt.debian.org [82.195.75.100])
	by coliposte.enst-bretagne.fr (8.13.7/8.13.7/2008.01.11) with ESMTP id n369IpaS032414
	for <Ronan.Keryell@enst-bretagne.fr>; Mon, 6 Apr 2009 11:18:54 +0200
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with QMQP
	id 951CF13A5C8A; Mon,  6 Apr 2009 09:18:45 +0000 (UTC)
Old-Return-Path: <guy.roussin@teledetection.fr>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on minou.info.enstb.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled
	version=3.2.5
X-Original-To: lists-debian-user-french@liszt.debian.org
Delivered-To: lists-debian-user-french@liszt.debian.org
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with ESMTP id 70E6D13A5041
	for <lists-debian-user-french@liszt.debian.org>; Mon,  6 Apr 2009 09:18:36 +0000 (UTC)
Received: from liszt.debian.org ([127.0.0.1])
	by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port 2525)
	with ESMTP id 02783-17
	for <lists-debian-user-french@liszt.debian.org>;
	Mon, 6 Apr 2009 09:18:33 +0000 (UTC)
X-policyd-weight: DYN_NJABL=ERR NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 DSBL_ORG=ERR HELO_IP_IN_CL_SUBNET=-1.2 (check from: .teledetection. - helo: .komper.teledetection. - helo-domain: .teledetection.)  FROM/MX_MATCHES_HELO(DOMAIN)=-2 <client=193.48.189.9> <helo=komper.teledetection.fr> <from=guy.roussin@teledetection.fr> <to=debian-user-french@lists.debian.org>, rate: -6.2
Received: from komper.teledetection.fr (komper2.teledetection.fr [193.48.189.9])
	by liszt.debian.org (Postfix) with SMTP id 7638F13A56C4
	for <debian-user-french@lists.debian.org>; Mon,  6 Apr 2009 09:18:22 +0000 (UTC)
Received: from [172.16.10.156] (lan101.teledetection.fr [193.48.189.101])
	by komper.teledetection.fr (Serveur mel de la MTD) with ESMTP id D005520033850
	for <debian-user-french@lists.debian.org>; Mon,  6 Apr 2009 11:18:19 +0200 (CEST)
Message-ID: <49D9C8DB.1000904@teledetection.fr>
Date: Mon, 06 Apr 2009 11:18:19 +0200
From: Guy Roussin <guy.roussin@teledetection.fr>
User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
MIME-Version: 1.0
To: Debian <debian-user-french@lists.debian.org>
Subject: Re: NVidia sur Debian (oui, encore ;-)))
References: <20090406110448.219e0056@david-eee>
In-Reply-To: <20090406110448.219e0056@david-eee>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Virus-Scanned: at lists.debian.org with policy bank lang-french
X-Amavis-Spam-Status: No, score=-3.5 tagged_above=3.6 required=5.3
	tests=[LDO_WHITELIST=-5, PHONENUMBER=1.5]
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2008-11-04_01
Resent-Message-ID: <1Hh1VMtzCoC.A.8CD.1jc2JB@liszt>
Resent-From: debian-user-french@lists.debian.org
X-Mailing-List: <debian-user-french@lists.debian.org> archive/latest/161641
X-Loop: debian-user-french@lists.debian.org
List-Id: <debian-user-french.lists.debian.org>
List-Post: <mailto:debian-user-french@lists.debian.org>
List-Help: <mailto:debian-user-french-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-user-french-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-user-french-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-user-french-request@lists.debian.org
Resent-Date: Mon,  6 Apr 2009 09:18:45 +0000 (UTC)
X-Virus-Scanned: amavisd-new at enst-bretagne.fr
X-Virus-Scanned: amavisd-new at enst-bretagne.fr

Bonjour,

Idem pour moi (en i386), ma carte son =C3=A9tait mal support=C3=A9e=20
(gr=C3=A9sillements) par le
2.6.26 alors j'ai  essay=C3=A9 le 2.6.29. Aucun pb avec nv et avec ma car=
te=20
son, mais
impossible d'installer les drivers proprio nvidia ...
Finalement, je me suis rabattu sur le 2.6.28 du depot de e-tobi.net. qui=20
fonctionne
tr=C3=A8s bien avec nvidia (180.22) m-a a-i nvidia et ma carte son. J'ai =
pas=20
encore
test=C3=A9 vpdau mais =C3=A7a devrait th=C3=A9oriquement le faire ...

Guy


David BERCOT a =C3=A9crit :
> Re-Bonjour,
>
> Je m'arrache les cheveux depuis quelques semaines avec l'installation
> de drivers NVidia alors, au bout du rouleau (oui, oui, c'est dur ;-))),
> je me r=C3=A9sous =C3=A0 vous demander de l'aide...
>
> Je voudrais donc avoir une configuration graphique satisfaisante et je
> n'arrive =C3=A0 rien. Tout d'abord, lors de l'installation de X, je n'a=
i
> aucun driver de sp=C3=A9cifi=C3=A9 dans xorg.conf !!! Bien =C3=A9videmm=
ent, la
> r=C3=A9solution choisie est... moyenne ;-)
> J'ai donc essay=C3=A9 d'installer les drivers =C3=A0 la sauce Debian :
> m-a a-i nvidia-kernel-legacy-173xx-source (et aussi,
> nvidia-kernel-source) sans succ=C3=A8s ! En gros, je n'ai pas de messag=
e
> d'erreur significatif, mais quasiment un simple : nvidia.ko failed to
> build !
> Je pr=C3=A9cise au passage que je suis en 2.6.29-1-amd64.
>
> Qu'=C3=A0 cela ne tienne, je me suis rabattu sur les drivers NVidia. L=C3=
=A0
> encore, impossible de faire quoi que soit : il ne trouve pas kernel.h
> qui est situ=C3=A9, non pas dans /usr/src/linux-headers-2.6.29-1-amd64,=
 mais
> dans linux-headers-2.6.29-1-common ! Et si je copie juste kernel.h
> (pour l'aider ;-))), =C3=A7a ne marche pas mieux : il me dit que les so=
urces
> du noyau ne sont pas configur=C3=A9es !!!
>
> Auriez-vous une piste pour moi ?
> Avez-vous r=C3=A9ussi =C3=A0 installer des drivers NVidia non libres (p=
roprio ou
> pas) sur un noyau 2.6.29 ?
>
> Merci d'avance.
>
> David.
>
>  =20


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists Vous pouvez aussi ajouter le mot
``spam'' dans vos champs "From" et "Reply-To:"

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers debian-user-french-REQUEST@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmaster@lists.debian.org


[-- Attachment #3: Type: text/plain, Size: 862 bytes --]

This file contains three mails that have been sent from different
senders in the mbox format.  The reason nndoc splits the only one
message into four MIME parts and disregards the others is that
nndoc prefers the `mime-parts' type than the `mbox' type in
the `nndoc-type-alist' variable by default (nndoc recognizes it
as a MIME message because a MIME separator is found first).

If you often process such files, you can change the order of
the types so that the mbox type may be most preferred as follows:

;; Make mbox the first item in `nndoc-type-alist'.
(eval-after-load "nndoc"
  '(let ((mbox (assq 'mbox nndoc-type-alist)))
     (if mbox
	 (setq nndoc-type-alist
	       (cons mbox (delq mbox nndoc-type-alist))))))

Maybe the order of types will need to be customizable easily by
users.

> ------------------ Environment follows ------------------
[...]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-08 23:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87ws9vo5qq.fsf@an-dro.enstb.org>
2009-04-08 23:24 ` Wrong MIME splitting Katsumi Yamaoka

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).