Hi,

Welcome to the James community !

My answers below.

On 05/02/2016 02:49 PM, Akhilesh Tyagi wrote:
Hello Guys,

I see that there are JPA, JCR, HBASE, Cassandra etc implementations
are there for mailbox. But I want to substitute my own implementation
for searching and retrieving the email data.

The overall idea I am working on is, to basically use james's server's
IMAP implementation for ONLY RETRIEVAL AND SEARCHING my email data. I
am not concerned about the sending of emails or tagging or other
features of mail client. (At least not immediately.)

I could find that I can substitute my implementation for
authentication in james server by simply overriding the UserRepositroy
interface.

I am looking for something similar for mailbox.

The problem here is that, I am not able to pulgin my implementation in
the server because, as per code,
/MailboxConfigurationBeanFactoryPostProcessor.java , there is an if
else block that shall look for only certain predefined types of
implementations. There is no generic way for me to plugin my
implementation, unless I make the necessary change in the java source
and re compile the james-server code.

Request your help, to validate my understanding. And suggestions to
achieve my objective.
You are right about what to do to provide a mailbox implementation when using spring.

Another way is to write a Guice application based on what we did in CassandraJamesServerMain.

Regards,

--
Matthieu Baechler

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to