You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Noel J. Bergman" <no...@devtech.com> on 2003/01/15 22:01:14 UTC

IMAP Support

Peter,

> I was supposed to write was IMAP...

Oh great.  :-)  There is some IMAP code in the proposals/ directories, but
it needs a lot of work.  Between you, Kenny, Christian, and anyone else who
wants to kick in, it sounds as if there is the makings of an IMAP group.
:-)

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IMAP Support

Posted by Kenny Smith <ke...@journalscape.com>.
Hi Peter,

I'm really just starting (wrote the first few lines of code like 10 
minutes ago). I'll try to put together something once I have something 
to actually say on the page. My first step is to write some junit 
TestCases that will test the IMAP commands that are valid in any state. :)

Kenny Smith

Peter Svensson wrote:
> Nice,
> 
> I would be glad to help out if I can :)
> I use a lot of OpenSource "products" so it would be nice to give something
> back.
> 
> Kenny: Maybe you could put together some information and a webpage for this
> "project"?
> 
> /Peter
> 
> ----- Original Message -----
> From: "Noel J. Bergman" <no...@devtech.com>
> To: "James Developers List" <ja...@jakarta.apache.org>
> Sent: Wednesday, January 15, 2003 10:01 PM
> Subject: IMAP Support
> 
> 
> 
>>Peter,
>>
>>
>>>I was supposed to write was IMAP...
>>
>>Oh great.  :-)  There is some IMAP code in the proposals/ directories, but
>>it needs a lot of work.  Between you, Kenny, Christian, and anyone else
> 
> who
> 
>>wants to kick in, it sounds as if there is the makings of an IMAP group.
>>:-)
>>
>>--- Noel
>>
>>
>>--
>>To unsubscribe, e-mail:
> 
> <ma...@jakarta.apache.org>
> 
>>For additional commands, e-mail:
> 
> <ma...@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IMAP Support

Posted by Darrell DeBoer <da...@apache.org>.
On Fri, 17 Jan 2003 15:16, Noel J. Bergman wrote:
> Darrell, would you please edit the Wiki page with instructions for the guys
> on how to build and configure James with the proposal code enabled?  Also,
> guys, it doesn't appear that either of these proposals was updated when
> Danny made his recent cleanup and reorg pass through the codebase.  I'm
> rushing, and haven't looked to see if there are any implications; just
> observing.

I've just started a new job, and don't have much time. But I'd like to keep 
tinkering on IMAP - especially if there are others willing to share the 
joy/pain...

My first task is to get the imap2 proposal synched with all of the commits 
since the breaking of the code freeze. I'll attach a simple "how-to" to the 
wiki page once that's done, if noone beats me to it.

-- 
ciao,
Daz

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IMAP Support

Posted by Kenny Smith <ke...@journalscape.com>.
> Please see: http://nagoya.apache.org/wiki/apachewiki.cgi?JamesIMAP

Bookmarked. :)

> This is a Wiki page that you guys can use to record information, such as
> build tips, etc.  I have put on it some of the comments already made, as
> well as a link to the IMAP RFCs.
> 
> My suggestion is that we focus on IMAP for James v3, and not try to shoehorn
> it into James v2.

I think that's fair.

> Darrell, would you please edit the Wiki page with instructions for the guys
> on how to build and configure James with the proposal code enabled?  Also,
> guys, it doesn't appear that either of these proposals was updated when
> Danny made his recent cleanup and reorg pass through the codebase.  I'm
> rushing, and haven't looked to see if there are any implications; just
> observing.
> 
> Kenny, you should also check the current proposals for some existing IMAP
> tests, as well as the main src tree (although I'm sure you've already done
> that :-)).

Definately.

> I would focus on the basic IMAP commands and getting things solid.  For the
> time being, I don't see a lack of persistence during early development as a
> real problem, but you (as a group) have to make sure to let us all (as a
> larger group) know what functional requirements we have for an IMAP mail
> store.  Search / index capabilties, for example.

I'm still learning about IMAP as a basic user in addition to a 
developer. So, I'll keep an eye out for suggestions.

Kenny


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: IMAP Support

Posted by "Noel J. Bergman" <no...@devtech.com>.
Christian, Darrell, Kenny, Peter, [alphabetical]

Please see: http://nagoya.apache.org/wiki/apachewiki.cgi?JamesIMAP

This is a Wiki page that you guys can use to record information, such as
build tips, etc.  I have put on it some of the comments already made, as
well as a link to the IMAP RFCs.

My suggestion is that we focus on IMAP for James v3, and not try to shoehorn
it into James v2.

Darrell, would you please edit the Wiki page with instructions for the guys
on how to build and configure James with the proposal code enabled?  Also,
guys, it doesn't appear that either of these proposals was updated when
Danny made his recent cleanup and reorg pass through the codebase.  I'm
rushing, and haven't looked to see if there are any implications; just
observing.

Kenny, you should also check the current proposals for some existing IMAP
tests, as well as the main src tree (although I'm sure you've already done
that :-)).

I would focus on the basic IMAP commands and getting things solid.  For the
time being, I don't see a lack of persistence during early development as a
real problem, but you (as a group) have to make sure to let us all (as a
larger group) know what functional requirements we have for an IMAP mail
store.  Search / index capabilties, for example.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IMAP Support

Posted by Peter Svensson <pe...@sunfire.nu>.
Nice,

I would be glad to help out if I can :)
I use a lot of OpenSource "products" so it would be nice to give something
back.

Kenny: Maybe you could put together some information and a webpage for this
"project"?

/Peter

----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Developers List" <ja...@jakarta.apache.org>
Sent: Wednesday, January 15, 2003 10:01 PM
Subject: IMAP Support


> Peter,
>
> > I was supposed to write was IMAP...
>
> Oh great.  :-)  There is some IMAP code in the proposals/ directories, but
> it needs a lot of work.  Between you, Kenny, Christian, and anyone else
who
> wants to kick in, it sounds as if there is the makings of an IMAP group.
> :-)
>
> --- Noel
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IMAP Support

Posted by Kenny Smith <ke...@journalscape.com>.
Hi Noel,

I'm trying to find docs on how to configure/enable IMAP for my James 
installation, but I'm not finding anything on the James site. Am I just 
looking in the wrong place? Also, is the current IMAP code unstable in 
and of itself, or does it destabilize the whole system?

Kenny Smith
JournalScape.com

Noel J. Bergman wrote:
> Peter,
> 
> 
>>I was supposed to write was IMAP...
> 
> 
> Oh great.  :-)  There is some IMAP code in the proposals/ directories, but
> it needs a lot of work.  Between you, Kenny, Christian, and anyone else who
> wants to kick in, it sounds as if there is the makings of an IMAP group.
> :-)
> 
> 	--- Noel
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IMAP Support

Posted by Serge Knystautas <se...@lokitech.com>.
----- Original Message -----
From: "Darrell DeBoer" <da...@apache.org>


> Yep, the current mail storage doesn't give the basic functionality we
need,
> like flag persistence, hierarchical mailboxes and searching. To get IMAP
> working with James2, we'll need an IMAP storage mechanism that is
> back-compatible with the current mechanism (in some way), so that SMTP can
> deliver to an "inbox" which is accessible both as a POP3 repository and a
> mailbox within the IMAP mailbox structure.

Aside from some search, what else do we need to add to the mail repository
interface to support IMAP?

Serge Knystautas
Loki Technologies
http://www.lokitech.com/


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IMAP Support

Posted by Darrell DeBoer <da...@apache.org>.
On Fri, 17 Jan 2003 08:10, Christian Myrvold wrote:
> G'day Darrell,
>
> Sounds good, I'll have a peak at the imap2 proposal. Then I can ask you
> for help when needed.
>
> I think it would be nice to have IMAP storage for the 2.x version. Is
> the current mail storage preventing this?
>
> - Christian

Yep, the current mail storage doesn't give the basic functionality we need, 
like flag persistence, hierarchical mailboxes and searching. To get IMAP 
working with James2, we'll need an IMAP storage mechanism that is 
back-compatible with the current mechanism (in some way), so that SMTP can 
deliver to an "inbox" which is accessible both as a POP3 repository and a 
mailbox within the IMAP mailbox structure.

-- 
ciao,
Daz

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IMAP Support

Posted by Christian Myrvold <ch...@myrvold.info>.
G'day Darrell,

Sounds good, I'll have a peak at the imap2 proposal. Then I can ask you 
for help when needed.

I think it would be nice to have IMAP storage for the 2.x version. Is 
the current mail storage preventing this?

- Christian


Darrell DeBoer wrote:

>*This message was transferred with a trial version of CommuniGate(tm) Pro*
>G'day,
>
>You might want to look at the code in the proposals/imap2 directory. This is a 
>"from-scratch" partial implementation of IMAP, which I was working on late 
>last year. You could work on this, or use the ideas for your own proposal.
>
>The nice things about this proposal (IMHO):
>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 
>;). Implementing a persistent store wouldn't be too hard, I just wanted to 
>wait to see where the James3 plans were taking us.
>
>  
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IMAP Support

Posted by Darrell DeBoer <da...@apache.org>.
G'day,

You might want to look at the code in the proposals/imap2 directory. This is a 
"from-scratch" partial implementation of IMAP, which I was working on late 
last year. You could work on this, or use the ideas for your own proposal.

The nice things about this proposal (IMHO):
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 
;). Implementing a persistent store wouldn't be too hard, I just wanted to 
wait to see where the James3 plans were taking us.

-- 
ciao,
Daz

On Thu, 16 Jan 2003 19:51, Peter Svensson wrote:
> I haven't looked at the current codebase for IMAP support in James, but I
> feel that if it is not much we might as well start from scratch?
> I have to look at the code and IMAP protocol as well before doing some
> serious work, but it would be nice to start of and decide what parts of the
> protocol to implement first and how to do it.
> The IMAP protocol is pretty big and we should start with a subset of it to
> get started...
>
> PS: The weather here in Gothenburg/Sweden has been nice for a few days now,
> the sun is shining but the snow is gone though...
>
> /Peter



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IMAP Support

Posted by Peter Svensson <pe...@sunfire.nu>.
I haven't looked at the current codebase for IMAP support in James, but I
feel that if it is not much we might as well start from scratch?
I have to look at the code and IMAP protocol as well before doing some
serious work, but it would be nice to start of and decide what parts of the
protocol to implement first and how to do it.
The IMAP protocol is pretty big and we should start with a subset of it to
get started...

PS: The weather here in Gothenburg/Sweden has been nice for a few days now,
the sun is shining but the snow is gone though...

/Peter
----- Original Message -----
From: "Christian Myrvold" <ch...@myrvold.info>
To: "James Developers List" <ja...@jakarta.apache.org>
Sent: Wednesday, January 15, 2003 11:33 PM
Subject: Re: IMAP Support


> Noel,
>
> >Oh great.  :-)  There is some IMAP code in the proposals/ directories,
but
> >it needs a lot of work.  Between you, Kenny, Christian, and anyone else
who
> >wants to kick in, it sounds as if there is the makings of an IMAP group.
> >:-)
> >
> > --- Noel
> >
> >
> So would it be better to start from scratch on IMAP or use the current
> code?  I think I can fit some time into my schedule for JAMES. It's cold
> and dark here now anyway (Oslo, Norway)  :-|   Just give me some time to
> get familiar with CVS, Avalon and JAMES, and of course the IMAP protocol.
>
> - Christian
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IMAP Support

Posted by Christian Myrvold <ch...@myrvold.info>.
Noel,

>Oh great.  :-)  There is some IMAP code in the proposals/ directories, but
>it needs a lot of work.  Between you, Kenny, Christian, and anyone else who
>wants to kick in, it sounds as if there is the makings of an IMAP group.
>:-)
>
>	--- Noel
>  
>
So would it be better to start from scratch on IMAP or use the current 
code?  I think I can fit some time into my schedule for JAMES. It's cold 
and dark here now anyway (Oslo, Norway)  :-|   Just give me some time to 
get familiar with CVS, Avalon and JAMES, and of course the IMAP protocol.

- Christian





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>