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 Francois-Denis Gonthier <fd...@revolutionlinux.com> on 2010/09/22 21:34:12 UTC

Question abotu the behavior of StoreMailboxManager.search

Hello all,

Pretty simple question of the behavior that is expected of StoreMailboxManager.search and findMailboxWithPathLike.

Consider for the question that INBOX and INBOX.Test exists. If the base of the mailboxExpression is INBOX, what the expression '%' is supposed to return? INBOX, or both INBOX and INBOX.Test?

Is that the same as if the root was "" and the expression was INBOX.% ?

-- 
François-Denis Gonthier
Programmeur/analyste
819-780-8955 #1128                http://www.revolutionlinux.com/


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


Re: Question abotu the behavior of StoreMailboxManager.search

Posted by Norman <no...@apache.org>.
Hi there,

comments inside...

Am 22.09.2010 21:34, schrieb Francois-Denis Gonthier:
> Hello all,
>
> Pretty simple question of the behavior that is expected of StoreMailboxManager.search and findMailboxWithPathLike.
>
> Consider for the question that INBOX and INBOX.Test exists. If the base of the mailboxExpression is INBOX, what the expression '%' is supposed to return? INBOX, or both INBOX and INBOX.Test?
>    

INBOX

> Is that the same as if the root was "" and the expression was INBOX.% ?
>
>    
No...  a list "" "INBOX.%" will return INBOX.Test

Bye,
Norman

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