A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=455 ====================================================================== Reported By: dirixmjm Assigned To: ====================================================================== Project: DBMail Issue ID: 455 Category: IMAP daemon Reproducibility: always Severity: feature Priority: normal Status: acknowledged target: ====================================================================== Date Submitted: 21-Nov-06 23:34 CET Last Modified: 01-Dec-06 17:15 CET ====================================================================== Summary: Set status 1 for messages for which the mailbox they belong in is deleted instead of deleting them instantly. Description: If per accident a user removes a mailbox through imap al messages inside the mailbox are deleted at once. This seems rather odd against the dbmail option to restore messages for 2 days (three step removal plan).
Therefor I think when a user deletes a mailbox the messages should get a status 1, set for removal. This way it is easy to restore a message (chang mailbox_idnr and set status 0). ====================================================================== ---------------------------------------------------------------------- aaron - 01-Dec-06 08:44 ---------------------------------------------------------------------- Good idea, we should do this! ---------------------------------------------------------------------- jnorell - 01-Dec-06 17:15 ---------------------------------------------------------------------- status 1 seems to be incorrect behavior here, go with status 2. Mail clients can handle this already - ie. if you delete a folder, it could copy the mail to the trash and then remove the folder, or even move the whole folder underneath trash in heiarchy, and later delete it all (eg. squirrelmail does that). The proposed change to status 1 would make me intentionally deleting a folder and all mail under it make all that mail show up in my INBOX (the only folder that's guaranteed to be there, so obviously where it would have to go), showing with read status. Not exactly nice behavior. Putting it in INBOX but status 2 would preserve dbmail's recovery behavior, which is the issue being addressed. Issue History Date Modified Username Field Change ====================================================================== 21-Nov-06 23:34 dirixmjm New Issue 01-Dec-06 08:44 aaron Note Added: 0001636 01-Dec-06 08:44 aaron Status new => acknowledged 01-Dec-06 17:15 jnorell Note Added: 0001638 ======================================================================