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 Jason Webb <jw...@inovem.com> on 2003/09/15 10:18:21 UTC

User attributes

After some careful thought and good look through Darrell's code I think
I have most of the pieces I need.
However, I need to store attributes on the user for IMAP to work
properly. 
These are two lists:
1) The list of current folders
2) The list of subscribed folders

As there is no place to store this information, I propose to add
attributes to the User object to allow me to persist this information to
a store. 
I plan to implement this code (and thus the IMAP server) on the v3 code.

Any comments?

As an implementation detail you will never be able to unsubscribe from
the inbox folder, all user folders will be sub-folders of inbox and you
will always be able to get your mail either as POP3 or IMAP4. However if
you POP the mail out of your inbox and empty it, well that's your
problem :)
I note from the RFC that if you rename the inbox folder it simply
re-creates itself, after renaming the current inbox.


I plan to do no futher work on the Maildir implementation until the IMAP
server is at least in a usable state for futher development. 


-- Jason

P.S. My Apache account now works. Thanks Serge!



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org