Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: mail group by author?
Date: Fri, 17 Apr 2009 15:42:01 -0500	[thread overview]
Message-ID: <868wlz1086.fsf@lifelogs.com> (raw)
In-Reply-To: <87hc0n6nq2.fsf@uninett.no>

On Fri, 17 Apr 2009 22:15:33 +0200 Vegard Vesterheim <vegard.vesterheim@uninett.no> wrote: 

VV> On Fri, 17 Apr 2009 11:53:01 -0500 Ted Zlatanov <tzz@lifelogs.com> wrote:
>> On Fri, 17 Apr 2009 12:07:49 +0200 Vegard Vesterheim <vegard.vesterheim@uninett.no> wrote: 
>> 
VV> I have great hopes for dbmail (dbmail.org). dbmail has an IMAP-backend
VV> for retrieving messages. Storing headers (and body) for mail messages
VV> into a database, opens possibilities for flexible and efficient
VV> queries and retrieval of email messages.
>> 
>> Considering the large amounts of people using IMAP on third-party
>> servers nowadays, I think it's best to find an approach that works with
>> any IMAP server.  I know this is unfair to solutions like dbmail, but
>> otherwise we end up with very limited solutions.  I think David agrees
>> with me from his followup.

VV> But dbmail *is* a IMAP server, I do not necessarily suggest any
VV> special support for dbmail in Gnus. Having a proper database as
VV> storage with search indexes for headers, instead of relying on the
VV> filesystem, will hopefully result in a IMAP server with more flexible
VV> and efficienct query and retrieval functionality. Support for virtual
VV> folders (predefined searches), is more easily accomplished with an
VV> infrastructure like this.

Sorry, I thought you were implying we should have special support for
dbmail's queries (instead of just using the regular IMAP commands).  But
the IMAP client needs at least some awareness of dbmail's abilities, no?

VV> Presorting of mail into statically defined folders is IMHO the wrong
VV> approach. I have wasted much time searching for a specific email, only
VV> to discover it was filtered into another folder than I had
VV> thought. With virtual folders, the same message can be found in
VV> several folders, but will still be stored only once, since the folder
VV> is really a query on the IMAP server. 

Managing large collections of data is expensive.  No matter how good the
database, it's slower to manage all the messages in one set as opposed
to partitioning them in some way.  In effect, "static" mailboxes are
really partitions of the full message set, and the server's storage
backend (Maildir+ or some other mechanism) handles the partitioning
transparently.

VV> Sitewide de-duplication of messages would be an added benefit of
VV> this approach.

I don't think the savings there are significant.

VV> For instance, I would like to have a folder called 'People' with
VV> automatically generated subfolders for each person having sent, or
VV> recieved, an email to/from me. I would also like to have the
VV> possibilities to define folders with names (and content) like:
VV> 'Messages_recieved_this_month', 'Messages_I_sent_yesterday' etc.

This can be done with the Gnus registry currently.  What I'm slowly
realizing is that the registry needs to be integrated deeper with Gnus
as a sort of "mail crawler" instead of an opportunistic voyeur that can
miss mail.  In addition, the registry data needs to be storeable
somewhere outside the local filesystem.

Ted




      reply	other threads:[~2009-04-17 20:42 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-30  9:22 Stephen Berman
2009-03-30 11:57 ` David Engster
2009-03-30 12:49   ` Tassilo Horn
2009-03-30 13:13     ` David Engster
2009-03-30 15:25       ` Tassilo Horn
2009-03-30 15:59     ` Andreas Schwab
2009-03-31  6:42       ` Tassilo Horn
2009-03-31  9:18         ` David Engster
2009-03-31 10:36           ` Dovecot 1.2 virtual mailboxes (was: mail group by author?) Tassilo Horn
2009-03-31 11:35             ` Dovecot 1.2 virtual mailboxes David Engster
2009-03-31 12:23               ` Tassilo Horn
2009-03-31  9:52         ` mail group by author? Vegard Vesterheim
2009-03-31 10:25           ` Tassilo Horn
2009-04-14 16:39   ` Ted Zlatanov
2009-04-17  9:00     ` David Engster
2009-04-17 10:07       ` Vegard Vesterheim
2009-04-17 10:46         ` David Engster
2009-04-17 11:50           ` Vegard Vesterheim
2009-04-17 13:27             ` Syncing Gnus (was: mail group by author?) David Engster
2009-04-17 16:53       ` mail group by author? Ted Zlatanov
2009-04-17 20:15         ` Vegard Vesterheim
2009-04-17 20:42           ` Ted Zlatanov [this message]

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=868wlz1086.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --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).