From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24325 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: Ugh! Ack! Argh! Nggh! Date: 17 Jul 1999 05:21:03 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035161911 8095 80.91.224.250 (21 Oct 2002 00:58:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:58:31 +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 IAA28769 for ; Sat, 17 Jul 1999 08:27:33 -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 HAB28201; Sat, 17 Jul 1999 07:21:51 -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 07:22:21 -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 HAA29404 for ; Sat, 17 Jul 1999 07:22:12 -0500 (CDT) Original-Received: from mail.networkone.net (qmailr@mail.networkone.net [209.144.112.75]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id IAA28681 for ; Sat, 17 Jul 1999 08:21:09 -0400 (EDT) Original-Received: (qmail 21815 invoked from network); 17 Jul 1999 12:21:15 -0000 Original-Received: from pm3-4-17.la.networkone.net (HELO satellite.local.lan) (reader@209.144.126.209) by mail.networkone.net with SMTP; 17 Jul 1999 12:21:15 -0000 Original-Received: (from reader@localhost) by satellite.local.lan (8.9.1/8.9.1) id FAA01015; Sat, 17 Jul 1999 05:21:03 -0700 Original-To: ding@gnus.org In-Reply-To: Kai =?iso-8859-1?q?Gro=DFjohann's?= message of "17 Jul 1999 13:02:25 +0200" Original-Lines: 41 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:24325 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24325 Kai Großjohann writes: > Jonas Steverud writes: > > > Ken McGlothlen 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? > > I think you missed two things: the From_ lines and the file order. > The From_ lines thing is probably vital... > > Another possibility would be to use Gnus: create an nnfolder group and > move all nnml messages there. Take care that the nnml backend > (server) and the nnfolder backend (server) are not using the same > active file, though. I think he just wants a spool file to run through procmail again. In that case: cd to Mail/nnmlgroup then run: sed 's/X-From-Line:/From/' `ls [0-9]*` >MBOX_OUT NOTE: The second set of single quotes are back ticks.. not single quotes : ) Gnus removes the "From " from the original "From line" and replaces it with "X-From-Line:". So let sed remove it and reinsert "From" Test the new file with `mutt -f MBOX_OUT'. Or in gnus group buffer do `G m f' (make nndoc group),to see if the new file is properly formatted, if so ... Run it back through procmail.