Libraries for writing imap mail _server_ in Java

imap, java

Solution

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

- JAMES

- Dwarf

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

- Parse IMAP requests

- SSL handling

- Authentication libraries [to verify the requesting user from your directory]

- 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.

Problem

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!

Original source