Search code examples
javaimap

Libraries for writing imap mail _server_ in Java


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!


Solution

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