[
https://issues.apache.org/jira/browse/MAILBOX-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980015#action_12980015
]
Norman Maurer commented on MAILBOX-26:
--------------------------------------
Thats exactly what MaildirStoreUtil does.
> Fix maildir directory structure %domain/%user
> ---------------------------------------------
>
> Key: MAILBOX-26
> URL: https://issues.apache.org/jira/browse/MAILBOX-26
> Project: James Mailbox
> Issue Type: Bug
> Components: maildir mailbox
> Affects Versions: 0.2
> Reporter: Eric Charles
> Assignee: Norman Maurer
> Fix For: 0.2
>
>
> We can define maildir folder place with %domain/%user pattern.
> <bean id="maildirStore" name="maildir-uidProvider"
> class="org.apache.james.adapter.mailbox.maildir.MaildirStoreUtil"
> factory-method="create">
> <constructor-arg index="0" ref="filesystem"/>
> <constructor-arg index="1" ref="usersrepository"/>
> <constructor-arg index="2"
> value="file://var/store/maildir/%domain/%user"/>
> </bean>
> With "file://var/store/maildir/%domain/%user"/>, the created creeated dir is
> too deep (twice the domain/user):
> ../var/store/maildir/u-mangate.com/eric.charles/u-mangate.com/eric.charles/.INBOX.
--
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: [email protected]
For additional commands, e-mail: [email protected]