From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: "From " -> ">From " in imap mail-source avoidable?
Date: Tue, 23 Jul 2002 13:48:09 +0200 [thread overview]
Message-ID: <vafadoill6u.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <m3lm83zjn2.fsf@multivac.cwru.edu> (prj@po.cwru.edu's message of "Mon, 22 Jul 2002 14:45:15 -0400")
prj@po.cwru.edu (Paul Jarc) writes:
> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) 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
--
A large number of young women don't trust men with beards. (BFBS Radio)
next prev parent reply other threads:[~2002-07-23 11:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-19 21:51 Helmut Waitzmann
2002-07-20 10:22 ` Kai Großjohann
2002-07-22 17:50 ` Paul Jarc
2002-07-22 18:38 ` Kai Großjohann
2002-07-22 18:45 ` Paul Jarc
2002-07-23 11:48 ` Kai Großjohann [this message]
2002-07-23 13:38 ` Josh Huber
2002-07-23 14:10 ` Kai Großjohann
2002-07-23 15:16 ` Josh Huber
2002-07-23 16:01 ` Paul Jarc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vafadoill6u.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de \
--to=kai.grossjohann@cs.uni-dortmund.de \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).