Hi Tim,

this link gives some more info about maildir if you are interested:

http://www.qmail.org/qmail-manual-html/man5/maildir.html

BTW, what kind of costum implementation you are lookin for ? Will it
be opensource?


Bye,
Norman

2010/1/6 Norman Maurer <[email protected]>:
> Hi Tim,
>
> the MailRepository is only used by POP3Server and not by IMAPServer.
> The MailRepository was just not rich enough to support IMAP so we
> dedicited to write a complete new Solution called MailboxManager.
> James use the Sieve mailet to deliver Mails to the MailboxManager used
> by the IMAPServer. For more infos about
> the MailboxManager and its implementations see:
>
> http://james.apache.org/imap/index.html
>
> Currently there are a Torque based and an OpenJPA based
> implementation. I would be very interested in seeing some kind of File
> based implementation which use some kind of Maildir
> (http://cr.yp.to/proto/maildir.html)  style for storing the Messages (
> not sure where to store metadata, maybe db again). Maildir style is
> supported by many MTA's out there already so it would be a plus to
> have this in James IMAP.
>
> If you have more questions feel free to poke me :)
>
> Bye,
> Norman
>
> 2010/1/6 Tim-Christian Mundt <[email protected]>:
>> Hi,
>>
>> I'm trying to create a custom MailRepository. As a first step I wanted to
>> just modify what's there and found that the following (default)
>> configuration:
>>
>> <inboxRepository>
>>        <repository destinationURL="dbfile://maildb/inbox/" type="MAIL"/>
>> </inboxRepository>
>>
>> loads the JDBCMailRepository: INFO  17:48:46,078 | james.mailstore |
>> Registering Repository instance of class
>> org.apache.james.mailrepository.JDBCMailRepository to handle dbfile protocol
>> requests for repositories of type MAIL with key dbfileMAIL
>>
>> Strangly, later in the log I find
>> INFO  20:27:48,953 | james.mailstore | added repository:
>> dbfile://maildb/spool/spoolSPOOL->org.apache.james.mailrepository.JDBCSpoolRepository
>> as the only dbfile thing; it uses SPOOL opposed to MAIL as found in
>> james-config.xml - at least it subclasses JDBCMailStore. Seems I don't
>> really get how Repositories are configured, can anybody give me some hints?
>> I'd be glad to pour them into some documentation system if desired.
>>
>> I figured internalStore() and retrieve() in JDBCMailStore should be THE
>> methods, so I simply added
>>
>>       System.out.println("--------------");
>>       System.err.println("--------------");
>>       getLogger().debug("***************");
>>
>> in order to change something obvious and non-destructive. However, neither
>> can I see any output when dragging emails into a James IMAP folder nor when
>> clicking (retrieving?) on one. What am I doing wrong?
>>
>> Thanks a lot in advance
>> Tim
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to