Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@metis.no>
Subject: Re: MIME message parts from backends (specifically IMAP)
Date: 06 Jan 1998 17:50:27 +0100	[thread overview]
Message-ID: <whlnwth7ho.fsf@norne.oslo.metis.no> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "06 Jan 1998 07:35:59 +0100"

>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org>:

> Steinar Bang <sb@metis.no> writes:
>> How could you actually *do* something specifically IMAP'y?  Gnus
>> doesn't know about anything except the standard backend operations,
>> does it?

> We would have to add a new standard backend operation.  :-)

Or maybe add this to a standard get URL-function that can be used for
message/external-body of all kinds?

I've now figured out (I think...) what you meant by:

> Since this would be primarily for IMAP, I think it would make more
> sense to do something specifically IMAP'y.  Say, have a way to specify
> that the (mythical) IMAP backend only retrieve text parts of all
> messages by default, and then providing some way of accessing the
> remaining parts through buttons or pseudo-articles.

You mean to let nnimap do the thing the imapd currently doesn't do: 
 - Retrieve all message parts of text/*, and create a MIME message
   using the retrieved parts, and using message/external-body
   "stand-ins" for the ones it hasn't retrieved yet
     <URL:http://ds.internic.net/rfc/rfc2017.txt>
   These will have an IMAP URL pointing to the missing message part 
     <URL:http://ds.internic.net/rfc/rfc2192.txt>

And then we need a retrieval mechanism that can be called from the
MIME handling library.

Note that the IMAP backend doesn't need to be able to do MIME
parsing, since the imapd does the parsing for it.  See
	<URL:http://ds.internic.net/rfc/rfc2060.txt>
section 6.4.5, pages 41-44, for an example of how this looks, and what
information the imapd can give nnimap about the message structure.

It (nnimap) needs to be able to build a compliant MIME message, but
this is a lot easier than parsing and interpreting MIME.


- Steinar


  reply	other threads:[~1998-01-06 16:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-01 15:17 Steinar Bang
1998-01-04  9:55 ` Lars Magne Ingebrigtsen
1998-01-05  7:41   ` Steinar Bang
1998-01-06  6:35     ` Lars Magne Ingebrigtsen
1998-01-06 16:50       ` Steinar Bang [this message]
1998-01-09 16:39     ` 守岡 知彦 / MORIOKA Tomohiko

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=whlnwth7ho.fsf@norne.oslo.metis.no \
    --to=sb@metis.no \
    /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).