tags:

views:

93

answers:

1

I've read this: http://java.sun.com/products/javamail/javadocs/com/sun/mail/imap/package-summary.html

I want to write an imap server rather than imap client in Java. What libraries should I be looking into?

Thanks!

+1  A: 

I know you are asking for the libraries rather than the entire solutions, however I found these to be Java based servers:

  1. JAMES
  2. Dwarf

As far as the libraries go you'll need libraries that can:

  1. Parse IMAP requests
  2. SSL handling
  3. Authentication libraries [to verify the requesting user from your directory]
  4. Caching frameworks to handle multiple requests to the same object

I would really not recommend writing a IMAP server from scratch unless that was your main business.

monksy
You did me one better. Thanks for pointing out the difficulties of writing an imap server -- truth be told; I just want one in Java; not to write one myself. JAMES/Dwarf looks nice.
anon