In a nutshell, DBMail doesn't do this yet. Note that I said 'yet' ;-)
But don't hold your breath, it's going to be a while before we're hammered
out just what's going into the next development cycle or how long it will
take.

On Fri, Mar 2, 2007, Paul J Stevens <[EMAIL PROTECTED]> said:

>> Some of this is motivated by the lack of granularity of client-side
>> "search folders," so I hope server-side vfolders will be a part of
>> dbmail soon!
> 
> Would be nice to do mailboxes as views in the database. First you'd have
> the requirement of the database server supporting writable views.
> 
> But you would also require some middleware for managing those views. I'm
> guessing here, but I wouldn't be surprised if the imapext/lemonade
> groups are already working on a prototype/design. If not, we'd have to
> design our own imap extension 'VFOLDER'.
> 
> VCREATE Command
> 
>     Arguments:  virtual mailbox name
>                 sort program
>                 charset specification
>                 searching criteria (one or more)
> 
>     Responses:  no specific response for this command
> 
>     Result:     OK - vcreate completed
>                 NO - vcreate error: can't create that charset or
>                      criteria
>                 BAD - command unknown or arguments invalid
> 
> [ blah, blah, blah ]
> 
> 
>     Example:    C: A282 VCREATE blurdy (SUBJECT) UTF-8 SINCE 1-Feb-1994
>                 S: A282 OK VCREATE completed
>                 C: A283 VCREATE bloop (SUBJECT REVERSE DATE) UTF-8 ALL
>                 S: A283 OK VCREATE completed
>                 C: A284 VCREATE john (SUBJECT) US-ASCII FROM "john"
>                 S: A284 OK VCREATE completed

Some more notes about this -

Easier said than done, as there are a lot of subtleties of IMAP mailbox
behavior that aren't easily handled. The current work is here:

http://tools.ietf.org/html/draft-ietf-lemonade-vfolder-01

There was also a previous attempt, which identified most of the problem
areas, enough so that an entirely new effort was required to build a spec
that didn't run into those same problems. But I can't find it right now.

Our wiki page with a use case is here:
http://www.dbmail.org/dokuwiki/doku.php?id=v-folders

In looking, I also found a few new draft rfc's that some IMAP folks are
working on related to 'paged' search and sort (looking like a cross
between the LIMIT keyword in MySQL/PostgreSQL and proper SQL cursors).
Paul, be sure to tune into the IETF room 

Aaron
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to