Uploaded image for project: 'James Mailbox'
  1. James Mailbox
  2. MAILBOX-26

Fix maildir directory structure %domain/%user

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.2
    • 0.2
    • maildir
    • None

    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.

      Attachments

        Activity

          People

            norman Norman Maurer
            eric@apache.org Eric Charles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: