From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38599 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: Patch needed: Defense against embedded ^M in Message-Id -- ow! Date: Tue, 04 Sep 2001 11:46:17 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035174437 23379 80.91.224.250 (21 Oct 2002 04:27:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:27:17 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 19812 invoked from network); 4 Sep 2001 15:46:18 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (261@129.22.96.25) by gnus.org with SMTP; 4 Sep 2001 15:46:18 -0000 Original-Received: (qmail 12409 invoked by uid 500); 4 Sep 2001 15:46:39 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Mail-Copies-To: never In-Reply-To: (Karl Kleinpaste's message of "Tue, 04 Sep 2001 08:00:10 -0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Original-Lines: 21 Xref: main.gmane.org gmane.emacs.gnus.general:38599 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38599 Karl Kleinpaste wrote: > There are spammers out there whose messages contain a literal carriage > return character in the Message-Id header. ... > Message-ID: <00004f9a34c1$00001d6e$00006e46@myrop (ew6.southwind.net [216.53.98.70]) by onyx.southwind.net from homepage.com (114.230.197.216) by newmail.spectraweb.ch from default (m202.2-25.warwick.net [218.242.202.80]) byhost.warwick.net (8.10.0.Beta10/8.10.0.Beta10) with SMTP id e9GKEKk19201 > Eww. That's ugly, all right. > I would guess that what's needed for this is a patch to turn carriage > returns into bland space characters, the way that I expect all headers > have tabs converted to spaces to prevent screwing up the tab-separated > overview files. I just fixed this same bug in the last version of nnmaildir. It's ok to leave the carriage returns unchanged, but to prevent them from becoming newlines, you have to do this: (let ((nnheader-file-coding-system 'binary) ...) ...) when writing your NOV file. paul