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

MaildirStore not setup correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4
    • 0.4
    • spring
    • None

    Description

      The MaildirStore gets constructed via "file://var/store/maildir/" which does not work. This will create the following directory structure in the current directory:
      ./file:/var/store/maildir

      See: http://svn.apache.org/viewvc/james/mailbox/trunk/spring/src/main/resources/META-INF/org/apache/james/spring-mailbox-maildir.xml?view=markup

      We should maybe better allow to override this via the PropertyPlaceHolderConfigurer to make it more usable:
      http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/beans/factory/config/PropertyPlaceholderConfigurer.html

      Also we need to add %d/%u or %u to the path otherwise it will just create the inbox directly in the "maildir" folder

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: