james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Burrell Donkin" <robertburrelldon...@gmail.com>
Subject [MailboxAPI] Delete
Date Tue, 06 Nov 2007 08:57:27 GMT
RFC3501 indicates that IMAP mailbox should not ever be completely
deleted: meta-data must be retained in case the mailbox is ever
recreated. in order to ensure that clients are not confused, data
about subscription, UID and UIDVALIDITY must be retained.

MailboxManager (http://svn.apache.org/repos/asf/james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/manager/MailboxManager.java)
has a delete method:

    void deleteMailbox(String mailboxName) throws MailboxManagerException;

with no javadoc's. the Torque implementation deletes the mailbox
entirely. this violates the IMAP specification and causes issues for
clients. AIUI the right behaviour is to retain the name in the
namespace and return \noselect (please jump in if i have this wrong).

opinions?

- robert

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


Mime
View raw message