Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: Question about mail archive
Date: 14 Apr 2001 23:52:35 -0400	[thread overview]
Message-ID: <m3oftyrf8m.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <whpueff9kv.fsf@viffer.bang.priv.no> (Steinar Bang's message of "14 Apr 2001 23:51:21 +0200")

Steinar Bang <sb@metis.no> writes:
> >>>>> prj@po.cwru.edu (Paul Jarc):
> > Well, some of the things nnmaildir does could be added to other
> > backends without too much trouble, I think.  Especially since nnimap
> > already stores marks, it could renumber articles for each
> > server-open;
> 
> Does that mean nnimap would work with the qmail/courier combination?

It could.  The backend needs to keep a list in memory associating
article numbers with persistent message idetifiers - that's the price.
When scanning for articles, you take all the ones that don't already
have numbers assigned, sort them from earliest delivery time to
latest, and then number them sequentially, starting from wherever you
left off the last time you scanned.

nnimap-request-update-info would need to get the marks from the
server, translate message identifiers into article numbers, and
completely replace the marks in the group info, since articles are
very likely to have different numbers compared to the last time the
server was opened.  This is how nnmaildir does it, anyway.

But nnmaildir also does some optimizations - e.g., it rescans the mark
directories on disk only if the modtime has changed since the last
scan.  I don't know if IMAP allows anything analogous.  If not, this
might not be feasible for nnimape, since redoing the marks every time
you scan for new mail can slow you down quite a bit.


paul


  parent reply	other threads:[~2001-04-15  3:52 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-07 11:48 Georg C. F. Greve
2001-04-07 14:54 ` Kai Großjohann
2001-04-07 15:04   ` Georg C. F. Greve
2001-04-07 15:30     ` Kai Großjohann
2001-04-07 15:56       ` Georg C. F. Greve
2001-04-07 17:34         ` Alex Schroeder
     [not found]         ` <m2snjksjem.fsf@snail.nowhere.ch>
2001-04-08 14:57           ` Georg C. F. Greve
2001-04-08 18:36             ` Kai Großjohann
2001-04-08 19:19               ` Alex Schroeder
2001-04-09  9:26                 ` Georg C. F. Greve
2001-04-09 10:06                 ` Kai Großjohann
2001-04-08 19:55               ` Georg C. F. Greve
2001-04-08 20:23                 ` Kai Großjohann
2001-04-08 20:38                   ` Georg C. F. Greve
2001-04-08 20:41                     ` Kai Großjohann
2001-04-09  9:29                       ` Georg C. F. Greve
2001-04-09 16:01                 ` Dan Christensen
2001-04-09 18:39                 ` Paul Jarc
2001-04-09 19:48                   ` Kai Großjohann
2001-04-10 15:19                     ` Paul Jarc
2001-04-14 21:51                       ` Steinar Bang
2001-04-14 22:34                         ` Kai Großjohann
2001-04-15 20:30                           ` Steinar Bang
2001-04-15  3:52                         ` Paul Jarc [this message]
2001-04-15  7:58                           ` Kai Großjohann
2001-04-15 18:30                         ` simon
2001-04-15 20:30                           ` Steinar Bang
2001-04-15 23:25                           ` Bjørn Mork
2001-04-09 20:10                   ` Georg C. F. Greve
2001-04-09 20:36                     ` Paul Jarc
2001-04-10  8:34                       ` Georg C. F. Greve
2001-04-10 15:38                         ` Paul Jarc
2001-04-09 20:50                     ` Kai Großjohann
2001-04-10  8:35                       ` Georg C. F. Greve
2001-04-10  9:42                         ` Kai Großjohann
2001-04-10  9:54                           ` Georg C. F. Greve
2001-04-10  9:20                       ` nnmail-split-fancy-with-parent (Was: Question about mail archive) Mats Löfdahl
2001-04-10  9:44                         ` Kai Großjohann
2001-04-10 10:00                           ` Mats Löfdahl
2001-04-10 14:53                             ` Kai Großjohann
2001-04-10 16:25                               ` Mats Löfdahl
2001-04-10 17:20                                 ` Kai Großjohann
2001-04-10 14:02                         ` Doug Alcorn
2001-04-10 14:55                           ` Kai Großjohann
2001-04-11  3:21                       ` Question about mail archive Samuel Padgett
2001-04-11 10:07                         ` Kai Großjohann
2001-04-11 14:23                           ` Paul Jarc
2001-04-13 15:58                             ` Kai Großjohann
2001-04-10  1:18                     ` Dan Christensen
2001-04-10  8:39                       ` Georg C. F. Greve
2001-04-10  0:55                   ` Karl Kleinpaste
2001-04-10 15:46                     ` 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=m3oftyrf8m.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    /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).