Description
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.