[
https://issues.apache.org/jira/browse/MAILBOX-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818864#comment-13818864
]
Robin Bankhead edited comment on MAILBOX-200 at 11/11/13 11:08 AM:
-------------------------------------------------------------------
I'll try to answer that later today. I assume these are higher-level tests than
those within the maildir subproject itself? I'm working in Netbeans, and
maildir's tests are passed when building, but I've not built the entire
server-app project in some time; I'll do so today if possible, but in the first
instance running my own practical tests will be first on the agenda, simply so
I can determine how the SELECT/LIST/LSUB commands each client uses differ.
It's already apparent that simply changing the delimiter is probably too
simplistic; not least because I see File.listFiles() being used in there, which
means the OS-specific directory separator char probably needs to be used rather
than literal '/' (at least in some contexts). I can see me going back to the
drawing-board and opting for a boolean property "isFSLayout" instead of
specifying delimiter, with attendant code additions to support this.
Realistically, if that starts looking like a lot of work, I may have to shelve
it for the time being.
was (Author: headbank):
I'll try to answer that later today. I assume these are higher-level tests than
those within the maildir subproject itself? I'm working in Netbeans, and
maildir's tests are passed when building, but I've not built the entire
server-app project in some time; I'll do so today if possible, but in the first
instance running my own practical tests will be first on the agenda, simply so
I can determine how the SELECT/LIST/LSUB commands each client uses differ.
> Hierarchical folder layout for maildir
> --------------------------------------
>
> Key: MAILBOX-200
> URL: https://issues.apache.org/jira/browse/MAILBOX-200
> Project: James Mailbox
> Issue Type: Improvement
> Components: maildir
> Affects Versions: 0.6
> Environment: Windows 7 Professional 32bit
> Reporter: Robin Bankhead
> Priority: Minor
> Attachments: mailbox-maildir-hierarchical-v3.patch
>
>
> Propose adding support in maildir for hierarchical on-disk layout of folders,
> as used by some other MTA/MUAs (Dovecot for example has optional support[1]).
> Secondary-, tertiary- etc level subfolders would be represented by an
> equivalent dir/subdir structure in the filesystem, so e.g.
> [maildir].Dir.SubDir
> would exist on-disk as
> [maildir]/.Dir/SubDir
> The motivation is simply to have on-disk layout more closely mirror that of
> the mailbox folder structure, though it has the additional fringe benefit of
> relieving the pressure imposed by subdirs-per-dir limits in some filesystems
> (though it would take a *very* large mail corpus to be affected by that, I
> admit).
> This simple proof-of-concept patch to MaildirStore.java enables the feature.
> If this is of interest, I would look to make it a configurable option in
> mailbox-maildir.properties (which I don't currently know how to do).
> [1] http://wiki.dovecot.org/MailboxFormat/Maildir#Directory_Structure
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]