From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24336 Path: main.gmane.org!not-for-mail From: Michael Cook Newsgroups: gmane.emacs.gnus.general Subject: Re: Ugh! Ack! Argh! Nggh! Date: 17 Jul 1999 12:05:31 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <80lncfdzxw.fsf@lucy.sightpath.com> References: <87so6n4m5f.fsf@graaff.xs4all.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161920 8145 80.91.224.250 (21 Oct 2002 00:58:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:58:40 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA00856 for ; Sat, 17 Jul 1999 12:07:01 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id LAB28804; Sat, 17 Jul 1999 11:06:43 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 17 Jul 1999 11:07:20 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id LAA00670 for ; Sat, 17 Jul 1999 11:07:10 -0500 (CDT) Original-Received: from tma-1.sightpath.com (tma-1.sightpath.com [208.246.45.91]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA00844 for ; Sat, 17 Jul 1999 12:06:07 -0400 (EDT) Original-Received: from lucy.sightpath.com (IDENT:cook@lucy.sightpath.com [208.246.45.93]) by tma-1.sightpath.com (8.9.1a/8.9.1) with ESMTP id MAA29034 for ; Sat, 17 Jul 1999 12:05:31 -0400 (EDT) Original-Received: (from cook@localhost) by lucy.sightpath.com (8.8.7/8.8.7) id MAA22718; Sat, 17 Jul 1999 12:05:31 -0400 Original-To: ding@gnus.org In-Reply-To: Hans de Graaff's message of "17 Jul 1999 12:15:56 +0200" Original-Lines: 25 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24336 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24336 Hans de Graaff writes: > Jonas Steverud writes: > > > > Also, one question: What's a quick way to take an nnml folder and > > > convert it to an mbox-compliant file so that I can reprocess it with > > > procmail? Or even a slow way? > > > > % cat nnml-folder-dir/* > mboxfile > > Or have I missed something vital? > > Yes, nnml messages don't contain a From_ line at the start, but an > mbox style file would need those. Your solution would create a file > with one very large message in it. I think gnus automatically detects if the mbox file is using MMDF format. $ cd nnml-folder-dir $ for i in $(ls|sort -n);do echo -e '\1\1\1\1';cat $i;done>../mboxfile Of course, that assumes that none of your messages already contains four ^A characters alone on a line. M.