I am trying to use James as a pop3/imap front end to my company's messaging system. We have a proprietary email platform and rather than write a pop3/imap server from scratch, I was hoping to leverage James and just write a custom connector (MailRepository/MailStore???). We wrote a custom connector for funambol (sync4j) to do calendar sync which worked well and I was looking for a similar solution for pop3/imap.
Stefano Bagnara-2 wrote: > > Michael Valenty ha scritto: >> I wrote a simple MailRepository to work out the kinks, and I'm having >> trouble >> configuring James. I added the following to assembly.xml: >> >> <block name="pop3server" class="org.apache.james.pop3server.POP3Server"> >> <provide name="mymailrespository" >> role="org.apache.james.services.MailRepository" /> >> ... >> </block> >> >> ... >> >> <block name="mymailrespository" class="com.mycompany.MyMailRepository"/> >> >> When I start James, I get an error message stating "Missing BlockInfo for >> class com.mycompany.MyMailRepository". > > You have to create a MyMailRepository.xinfo file to publish a block. > Btw I don't understand what are you trying to achieve: POP3Server does > not lookup a MailRepository object, so I don't see what the > configuration above is used for. > > Stefano > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/POP3-Gateway-tf3780260.html#a10744889 Sent from the James - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]