james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: Mail Storage on Disk
Date Wed, 25 Jul 2012 08:40:12 GMT
Hi Merve,

You can set the maildir top folder path via mailbox-maildir.properties, 
but in no way, how the mails are stored under that top folder. Maildir 
is a de-facto standard, so we simply respect it.

IMHO, it should perform better than JPA, and yes, we have a kind-of 
b-tree index with lucene (deactivated by default, see messageSearchIndex 
in [1]). However, I have seen a bootleneck atm when reading the list of 
mails (uid files), and I am looking to fix it.

Thx, Eric

[1] 
https://svn.apache.org/repos/asf/james/mailbox/trunk/spring/src/main/resources/META-INF/org/apache/james/spring-mailbox-maildir.xml

On 07/24/2012 04:53 PM, Merve Temizer wrote:
> I could change default mail storage from JPA to maildir(disk folder).
>
> I want to ask, i am going to have very much users and for now, James puts
> all the mail into
>
> james/var/store/maildir/{username}
>
> I want to know if there is a mechanism which help me to storing mails into
> sub folders/directories
>
> and which is a time/performans efficient way both while storing and reading.
>
> For example like b-trees which is used by Database Management Systems.
>


-- 
eric | http://about.echarles.net | @echarles


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


Mime
View raw message