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]

Reply via email to