From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45776 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: "From " -> ">From " in imap mail-source avoidable? Date: Tue, 23 Jul 2002 13:48:09 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1027425000 28979 127.0.0.1 (23 Jul 2002 11:50:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 23 Jul 2002 11:50:00 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17WyAx-0007XI-00 for ; Tue, 23 Jul 2002 13:49:59 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17WyAE-0001lk-00; Tue, 23 Jul 2002 06:49:14 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 23 Jul 2002 06:49:39 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id GAA20878 for ; Tue, 23 Jul 2002 06:49:25 -0500 (CDT) Original-Received: (qmail 19426 invoked by alias); 23 Jul 2002 11:48:47 -0000 Original-Received: (qmail 19421 invoked from network); 23 Jul 2002 11:48:46 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 23 Jul 2002 11:48:46 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g6NBmEb00125; Tue, 23 Jul 2002 13:48:14 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id NAA17592; Tue, 23 Jul 2002 13:48:09 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 2F7B93B221; Tue, 23 Jul 2002 13:48:09 +0200 (CEST) Original-To: "Helmut Waitzmann" (usenet) Mail-Followup-To: "Helmut Waitzmann" (usenet) , ding@gnus.org In-Reply-To: (prj@po.cwru.edu's message of "Mon, 22 Jul 2002 14:45:15 -0400") Original-Lines: 36 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45776 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45776 prj@po.cwru.edu (Paul Jarc) writes: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) wrote: >> I guess that a new function along the lines of >> nnmail-process-*-mail-format could easily be written. In fact, now I >> see that there is nnmail-process-maildir-mail-format which kind of >> suggests that it needn't be a single file. > > The *source* needn't be a single file, but then all messages are > dumped into a single file, and FAIK, there may be a good reason for > this. Well, but movemail.c writes Babyl format when reading from a POP server. So _at least_ it would work to change mail-sources to write Babyl format. But I don't understand why it would be a problem to write maildir format, instead, if nnmail-process-maildir-mail-format groks that. >>> Can we find the size of a whole message before adding it to the >>> file? >> >> Ah, I think the mbox format currently uses a Content-length or Lines >> header, if present. So it could just be added to the file by imap. >> Cool. > > I'd like to avoid destructive modification of the message, if > possible. But then, I don't personally use this code anyway. Well, if you have the choice between replacing "From" lines with ">From" lines in the message body (now) or adding a Lines or Content-length header (my suggestion) -- what's worse? kai --=20 A large number of young women don't trust men with beards. (BFBS Radio)