james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] Assigned: (JAMES-523) <inboxRepository><repository> Configuration should be handed over to MailRepository
Date Wed, 07 Jun 2006 15:17:30 GMT
     [ http://issues.apache.org/jira/browse/JAMES-523?page=all ]

Norman Maurer reassigned JAMES-523:
-----------------------------------

    Assign To: Norman Maurer

> <inboxRepository><repository> Configuration should be handed over to MailRepository
> -----------------------------------------------------------------------------------
>
>          Key: JAMES-523
>          URL: http://issues.apache.org/jira/browse/JAMES-523
>      Project: James
>         Type: Improvement

>   Components: MailStore & MailRepository, James Core
>     Reporter: Joachim Draeger
>     Assignee: Norman Maurer
>     Priority: Minor
>      Fix For: 2.4.0
>  Attachments: inboxRepositoryConfig.patch
>
> The section in config.xml
>        <inboxRepository>
>           <repository destinationURL="dbfile://maildb/inbox/" type="MAIL"/>
>        </inboxRepository>
> is parsed by James.initialize()  and the destinationURL gets saved. When an inbox is
accessed via getUserInbox(String) the configuration for the MailRepository is generated from
scratch with the destinationURL parameter.
> So it is not possible to pass anything else to the MailRepository  from the configuration
entry.
> Example: The postfix attribute cannot be evaluated and gets lost.
>       <inboxRepository>
>          <repository destinationURL="maildir://var/mail/inboxes/" postfix="/Maildir/"
type="MAIL"/>
>       </inboxRepository>
> Solution: The Configuration entry should be copied and the destinationURL attribute modified
for the corresponding user

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message