You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org> on 2009/03/19 12:01:51 UTC

[jira] Created: (IMAP-73) Support RFC 3348

Support RFC 3348
----------------

                 Key: IMAP-73
                 URL: https://issues.apache.org/jira/browse/IMAP-73
             Project: JAMES Imap
          Issue Type: New Feature
          Components: Mailbox, Protocol
            Reporter: Robert Burrell Donkin


RFC 3348 describes an extension to IMAP which allows clients to determine whether a mailbox has a child without an expensive general LIST operation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Updated: (IMAP-73) Support RFC 3348

Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/IMAP-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Burrell Donkin updated IMAP-73:
--------------------------------------

        Fix Version/s: 0.1
    Affects Version/s: 0.1

> Support RFC 3348
> ----------------
>
>                 Key: IMAP-73
>                 URL: https://issues.apache.org/jira/browse/IMAP-73
>             Project: JAMES Imap
>          Issue Type: New Feature
>          Components: Mailbox, Protocol
>    Affects Versions: 0.1
>            Reporter: Robert Burrell Donkin
>             Fix For: 0.1
>
>
> RFC 3348 describes an extension to IMAP which allows clients to determine whether a mailbox has a child without an expensive general LIST operation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Closed: (IMAP-73) Support RFC 3348

Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/IMAP-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Burrell Donkin closed IMAP-73.
-------------------------------------

    Resolution: Fixed

Compromised by using a slower but simpler implementation. Appears to be good enough.

> Support RFC 3348
> ----------------
>
>                 Key: IMAP-73
>                 URL: https://issues.apache.org/jira/browse/IMAP-73
>             Project: JAMES Imap
>          Issue Type: New Feature
>          Components: Mailbox, Protocol
>    Affects Versions: 0.1
>            Reporter: Robert Burrell Donkin
>             Fix For: 0.1
>
>
> RFC 3348 describes an extension to IMAP which allows clients to determine whether a mailbox has a child without an expensive general LIST operation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (IMAP-73) Support RFC 3348

Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/IMAP-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696044#action_12696044 ] 

Robert Burrell Donkin commented on IMAP-73:
-------------------------------------------

>From RFC3348:

<blockquote cite='http://www.isi.edu/in-notes/rfc3348.txt'>
   \HasNoChildren - The presence of this attribute indicates that the
   mailbox has NO child mailboxes that are accessible to the currently
   authenticated user.  If a mailbox has the \Noinferiors attribute, the
   \HasNoChildren attribute is redundant and SHOULD be omitted in the
   LIST response.

   In some instances a server that supports the CHILDREN extension MAY
   NOT be able to determine whether a mailbox has children.  For example
   it may have difficulty determining whether there are child mailboxes
   when LISTing mailboxes while operating in a particular namespace.

   In these cases, a server MAY exclude both the \HasChildren and
   \HasNoChildren attributes in the LIST response.  As such, a client
   can not make any assumptions about whether a mailbox has children
   based upon the absence of a single attribute.

   It is an error for the server to return both a \HasChildren and a
   \HasNoChildren attribute in a LIST response.
</blockquote>

> Support RFC 3348
> ----------------
>
>                 Key: IMAP-73
>                 URL: https://issues.apache.org/jira/browse/IMAP-73
>             Project: JAMES Imap
>          Issue Type: New Feature
>          Components: Mailbox, Protocol
>    Affects Versions: 0.1
>            Reporter: Robert Burrell Donkin
>             Fix For: 0.1
>
>
> RFC 3348 describes an extension to IMAP which allows clients to determine whether a mailbox has a child without an expensive general LIST operation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (IMAP-73) Support RFC 3348

Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/IMAP-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696045#action_12696045 ] 

Robert Burrell Donkin commented on IMAP-73:
-------------------------------------------

The current MailboxMetaData #isNoInferiors boolean should therefore be replaced by an enumeration: NO_INFERIORS, HAS_CHILDREN, HAS_NO_CHILDREN, UNKNOWN. The implementation approach can be safely delegated to individual mailboxes.

> Support RFC 3348
> ----------------
>
>                 Key: IMAP-73
>                 URL: https://issues.apache.org/jira/browse/IMAP-73
>             Project: JAMES Imap
>          Issue Type: New Feature
>          Components: Mailbox, Protocol
>    Affects Versions: 0.1
>            Reporter: Robert Burrell Donkin
>             Fix For: 0.1
>
>
> RFC 3348 describes an extension to IMAP which allows clients to determine whether a mailbox has a child without an expensive general LIST operation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (IMAP-73) Support RFC 3348

Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/IMAP-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696502#action_12696502 ] 

Robert Burrell Donkin commented on IMAP-73:
-------------------------------------------

Torque is the current default data store. It is due to be replaced so database changes should be avoided. 

Therefore, the simplest approach will be adopted, with an additional EXISTS query made for each list item.

> Support RFC 3348
> ----------------
>
>                 Key: IMAP-73
>                 URL: https://issues.apache.org/jira/browse/IMAP-73
>             Project: JAMES Imap
>          Issue Type: New Feature
>          Components: Mailbox, Protocol
>    Affects Versions: 0.1
>            Reporter: Robert Burrell Donkin
>             Fix For: 0.1
>
>
> RFC 3348 describes an extension to IMAP which allows clients to determine whether a mailbox has a child without an expensive general LIST operation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (IMAP-73) Support RFC 3348

Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/IMAP-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696029#action_12696029 ] 

Robert Burrell Donkin commented on IMAP-73:
-------------------------------------------

When using a database backend, this feature may be tricky to implement efficiently. 

1. The simplest approach would be to dynamically requery. This would mean executing an EXISTS LIKE for every * LIST returned. This is likely to be inefficient.

2. A complex approach would be to construct a query that would return all children and then analyse the results. This is likely to be fiddly and may be inefficient in some corner cases.

3. An alternative approach would be cache this information in the Mailbox. As a boolean, this would be a relatively light addition.  This data could be stored in the database and updated when a mailbox is deleted or added. This would require a change to the mailbox storage structure.

> Support RFC 3348
> ----------------
>
>                 Key: IMAP-73
>                 URL: https://issues.apache.org/jira/browse/IMAP-73
>             Project: JAMES Imap
>          Issue Type: New Feature
>          Components: Mailbox, Protocol
>    Affects Versions: 0.1
>            Reporter: Robert Burrell Donkin
>             Fix For: 0.1
>
>
> RFC 3348 describes an extension to IMAP which allows clients to determine whether a mailbox has a child without an expensive general LIST operation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (IMAP-73) Support RFC 3348

Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/IMAP-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696014#action_12696014 ] 

Robert Burrell Donkin commented on IMAP-73:
-------------------------------------------

Support of subfolders in both Outlook and Thunderbird requires this feature. 

> Support RFC 3348
> ----------------
>
>                 Key: IMAP-73
>                 URL: https://issues.apache.org/jira/browse/IMAP-73
>             Project: JAMES Imap
>          Issue Type: New Feature
>          Components: Mailbox, Protocol
>    Affects Versions: 0.1
>            Reporter: Robert Burrell Donkin
>             Fix For: 0.1
>
>
> RFC 3348 describes an extension to IMAP which allows clients to determine whether a mailbox has a child without an expensive general LIST operation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org