You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Eric Charles <er...@apache.org> on 2015/03/01 14:51:07 UTC

Re: Apache James - Connect IMAP lib to backend

Look at how server module does
https://svn.apache.org/repos/asf/james/server/trunk/protocols/protocols-imap4/

On 02/16/2015 11:31 PM, Pedro Teixeira wrote:
> Hi,
>
>  
>
> I need to use Apache James IMAP Lib to create an interface that allow
> clients to connect through IMAP protocol. However I didn´t found
> documentation to create this, specially how to handle messages that server
> receives. 
>
>  
>
> I initialized the lib like this:
>
>  
>
>             IMAPServer imapServer = new IMAPServer();
>
>             XMLConfiguration conf = new XMLConfiguration(new
> File("C://imap.conf"));
>
>  
> imapServer.setLog(LoggerFactory.getLogger(CMSContextListener.class));
>
>             imapServer.configure(conf);
>
>             imapServer.init();
>
>  
>
> The question is, how can I handle the client requests? How can I store the
> client data to Database or HBase, etc… ?
>
>  
>
> Thanks in advance,
>
> Pedro Teixeira. 
>
>  
>
>

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