james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer ...@byteaction.de>
Subject Re: [jira] Updated: (JAMES-461) Javamail Store based MailRepository support
Date Thu, 08 Jun 2006 11:58:36 GMT
Am Donnerstag, den 08.06.2006, 10:24 +0200 schrieb Joachim Draeger:
> Hi Norman,
> 
> Thanks for your test!

No problem .. Thx for post your work ;-)
> 
> I'm not sure about this yet. Of course: after a delivery the email should be in 
> the new folder.
> But IMO new message != read message. Maybe POP3 doesn't care about new (RECENT) 
> messages at all. (IMAP does)
> 
> 1. open the Folder: you have 2 new unread messages
> 2. read 1st message
> 3. close the Folder
> 4. open the Folder again: you have 1 unread message and 0 new messages.
> 
> In javamaildir behaves like the following at the moment:
> 
> 1. open the folder
> 2. append 1 message
> 3. newMessages = 1
> 4. close the folder
> 5. newMessages = 0
> 
> That's okay from the client view, the session has ended, no more new messages 
> anymore.
> In HashJavaMailStoreMailRepository I could try to deliver to the closed folder.
> The problem is that addUIDMessage requires an open folder. Maybe I find a 
> possibility in javamaildir to allow addUIDMessage on closed folder.
> This are the problems when you try to use a client library for server purposes. :-)
> 
> Joachim
> 
Right from client view its ok. But from Ssrver view it isn't. If we
leave it as it is (at the moment) we not RFC conform. Thats the problem.

Don't get me wrong i like your work, just want to tell you whats the
problems are i see ..

Bye
Norman

> 
> Norman Maurer schrieb:
> > After a quick look at the code this is maybe related to javamaildir. Not
> > 100 % sure yet.
> 
> >> First i want to say thx for this great work! I just test it and it seems
> >> to work so far. The only problem i noticed is that a new mail get insert
> >> in the cur folder. It should be insert in the new folder. It only should
> >> be moved to cur if it was read ( leave copy on the server). 
> >> http://www.qmail.org/qmail-manual-html/man5/maildir.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 
> !EXCUBATOR:1,4487e0c737028589023911!

Mime
View raw message