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 "Norman Maurer (JIRA)" <ji...@apache.org> on 2011/01/11 07:53:45 UTC

[jira] Resolved: (MAILBOX-26) Fix maildir directory structure %domain/%user

     [ https://issues.apache.org/jira/browse/MAILBOX-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved MAILBOX-26.
----------------------------------

    Resolution: Won't Fix

Thats "by design". In MaildirStoreUtil we "adjust" the path based on virtualhosting is enabled or not. If so it will use %domain/%user, if not %user. 

> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org