Differences between revisions 6 and 7
Revision 6 as of 2007-11-02 17:03:31
Size: 3686
Editor: Trifon
Comment: set proper sf.net svn site
Revision 7 as of 2009-09-20 22:58:10
Size: 3702
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
The [http://jakarta.apache.org/james/rfclist.html IMAP] support in James is completely experimental. There are two IMAP proposals in the CVS. Both contain code that should be reviewed, and neither is probably what we want to end up with. The [[http://jakarta.apache.org/james/rfclist.html|IMAP]] support in James is completely experimental. There are two IMAP proposals in the CVS. Both contain code that should be reviewed, and neither is probably what we want to end up with.
Line 7: Line 7:
Original IMAP proposal. This had some work done on it by Peter Goldstein, as can be seen from the [http://cvs.apache.org/viewcvs.cgi/jakarta-james/proposals/imap/java/org/apache/james/imapserver/ CVS logs]. Original IMAP proposal. This had some work done on it by Peter Goldstein, as can be seen from the [[http://cvs.apache.org/viewcvs.cgi/jakarta-james/proposals/imap/java/org/apache/james/imapserver/|CVS logs]].
Line 34: Line 34:
[http://nagoya.apache.org/eyebrowse/ReadMsg?listName=james-dev@jakarta.apache.org&msgNo=5591 Building IMAP2 proposal] [[http://nagoya.apache.org/eyebrowse/ReadMsg?listName=james-dev@jakarta.apache.org&msgNo=5591|Building IMAP2 proposal]]
Line 36: Line 36:
Known defects (also check [http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&field0-0-0=product&type0-0-0=substring&value0-0-0=james&field0-0-1=component&type0-0-1=substring&value0-0-1=james&field0-0-2=short_desc&type0-0-2=substring&value0-0-2=james&field0-0-3=status_whiteboard&type0-0-3=substring&value0-0-3=james&field1-0-0=product&type1-0-0=substring&value1-0-0=imap&field1-0-1=component&type1-0-1=substring&value1-0-1=imap&field1-0-2=short_desc&type1-0-2=substring&value1-0-2=imap&field1-0-3=status_whiteboard&type1-0-3=substring&value1-0-3=imap bugzilla]): Known defects (also check [[http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&field0-0-0=product&type0-0-0=substring&value0-0-0=james&field0-0-1=component&type0-0-1=substring&value0-0-1=james&field0-0-2=short_desc&type0-0-2=substring&value0-0-2=james&field0-0-3=status_whiteboard&type0-0-3=substring&value0-0-3=james&field1-0-0=product&type1-0-0=substring&value1-0-0=imap&field1-0-1=component&type1-0-1=substring&value1-0-1=imap&field1-0-2=short_desc&type1-0-2=substring&value1-0-2=imap&field1-0-3=status_whiteboard&type1-0-3=substring&value1-0-3=imap|bugzilla]]):
Line 40: Line 40:
I've been using James for quite some time now. I really wanted IMAP support, but I'm a bit afraid of using the experimental versions. So I installed DBMail [http://www.dbmail.org] and used that as IMAP storage. The nice thing is that DBMail also stores it's data in MySQL (or other db). I've been using James for quite some time now. I really wanted IMAP support, but I'm a bit afraid of using the experimental versions. So I installed DBMail [[http://www.dbmail.org]] and used that as IMAP storage. The nice thing is that DBMail also stores it's data in MySQL (or other db).
Line 49: Line 49:
See also: [http://www.zimbra.com/products/hosted_demo.php Online Demo] [http://zimbra.svn.sourceforge.net/viewvc/zimbra/ Zimbra CVS] [http://www.zimbra.com/community/downloads.html Open Source Downloads] See also: [[http://www.zimbra.com/products/hosted_demo.php|Online Demo]] [[http://zimbra.svn.sourceforge.net/viewvc/zimbra/|Zimbra CVS]] [[http://www.zimbra.com/community/downloads.html|Open Source Downloads]]

Status of IMAP Protocol Support in James

The IMAP support in James is completely experimental. There are two IMAP proposals in the CVS. Both contain code that should be reviewed, and neither is probably what we want to end up with.

  • proposals/imap

Original IMAP proposal. This had some work done on it by Peter Goldstein, as can be seen from the CVS logs.

  • proposals/imap2 - a new version started by Darrell DeBoer.

imap2 is a partial implementation of IMAP.

  1. No cut-and-paste code

  2. Simple architecture

  3. Solid, easy to use test harness and test suite (can make changes and test without needing to start James - speeds up development iterations)

The state of the code is that all commands are at least partially funcitonal, with basic protocol tests. I can connect to James-IMAP using KMail, check mail, move mail around, copy, etc.

The huge caveat is that the mail store is not persistent at the moment, it just held in memory. This is nice for testing, but not much good in real life. Discussion should take place regarding James v3 mail stores to ensure that all necessary IMAP features are supported.


Instructions for building James with IMAP support

Building the imap2 proposal

  • Get the latest James sources from CVS.
  • 'cd proposals/imap2'
  • 'ant'

Running the tests

  • Build the imap2 proposal
  • You will need junit.jar in your $ANT_HOME/lib directory
  • 'ant -f build-test.xml unit-tests'

Building IMAP2 proposal


Known defects (also check bugzilla):


external IMAP

I've been using James for quite some time now. I really wanted IMAP support, but I'm a bit afraid of using the experimental versions. So I installed DBMail http://www.dbmail.org and used that as IMAP storage. The nice thing is that DBMail also stores it's data in MySQL (or other db). Of course, if you use this, you're not using a 100% java solution, and it won't be very portable. And you'll have more trouble configuring the users. I'll clean up the mailet code a bit and make it available. If you're interested, let me know: geert.vandamme@darling.be


Open Zimbra Java IMAP Code as Reference

So the Zimbra Java IMAP mail server is open source. Would it make sense to take a look at the Zimbra source code to see if it could help with the James IMAP development. They have a production implementation of IMAP running now for their solution. It might be possible to integrate the source code directly, or at the very least use it as a working reference. Thoughts? kevbaker at yahoo dot com

See also: Online Demo Zimbra CVS Open Source Downloads

JamesIMAP (last edited 2009-09-20 22:58:10 by localhost)