Closed
Bug 6904
Opened 25 years ago
Closed 25 years ago
IMAP: expunge on close when copy-to-trash
Categories
(MailNews Core :: Networking, defect, P3)
MailNews Core
Networking
Tracking
(Not tracked)
VERIFIED
FIXED
M12
People
(Reporter: jgmyers, Assigned: jefft)
References
Details
IS is having disk space problems attributable in part to unexpunged \Deleted
messages belonging to users who use the copy-to-trash delete model.
When using the copy-to-trash model, Communicator should always expunge folders
upon closing/shutdown.
All folders, period; or just all folders with an open connection? The former
seems like it could take a lot of time for some types of users.
Reporter | ||
Comment 2•25 years ago
|
||
Preferably, all folders for which the client has previously seen deleted
messages. For example, client could keep a "has deleted messages" bit in the
cache. Just folders with an open connection would be better than nothing.
Updated•25 years ago
|
Assignee: mscott → jefft
Comment 3•25 years ago
|
||
I remember jefft saying he wanted a crack at this.....=)
re-assigning.
Comment 4•25 years ago
|
||
Might we want to use Close instead of expunge?
Yes, CLOSE-LOGOUT & CLOSE-SELECT is much faster that EXPUNGE-LOGOUT &
EXPUNGE-SELECT since there is no untagged responses.
The current code base does try its best to issue "close" command prior doing
another select or logout if the user is in delete-is-move-to-trash mode.
However, I couldn't mark this bug fix until alecf fixed the shutdown problem for
the account manager and all the imap message incoming servers. Currently, imap
message incoming server holds the cached connections.
A side note: we might want to have a timer proc associate with a cached
connection to close the selected mail folder prior to the server times out the
connection. Will this overkill?
Comment 8•25 years ago
|
||
moving off m8 list. Also, didn't alec fix the shutdown problem? Perhaps this is
fixed?
I don't know. Need to verify whether the shutdown problem fixed or not.
Updated•25 years ago
|
Target Milestone: M8 → M9
Comment 10•25 years ago
|
||
moving to m9, even if it is already fixed.
Assignee | ||
Comment 11•25 years ago
|
||
This is fixed but creates a big problem for undo delete message to work. There
is no way to undo expunged messages. I am undoing my fix until I found a better
way to solve the undo problem.
Comment 12•25 years ago
|
||
This should happen at shut-down, at the same time as we expunged the inbox in
4.5., after which undo isn't possible. We certainly shouldn't expunge after
every copy to the trash.
Comment 13•25 years ago
|
||
Moving all Mail/News Networking bugs to Mail/News Networking-Mail
This may re-open previously Verified bugs due to a Bugzilla bug...if so, I will
fix those bugs.
Assignee | ||
Comment 14•25 years ago
|
||
M10 ... Don't know how to hook up expunge when shutting down the app yet.
Updated•25 years ago
|
Target Milestone: M10 → M12
Comment 15•25 years ago
|
||
moving to m12
Comment 16•25 years ago
|
||
(target milestone is M11 or M12 - add to mail beta tracking bug)
Comment 17•25 years ago
|
||
Change QA Contact to me since it's my feature now.
Updated•25 years ago
|
QA Contact: scurtis → huang
Comment 18•25 years ago
|
||
Change QA Contact to me since it's my feature now.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 19•25 years ago
|
||
We only send close command to implicit expunge deleted message when shutdown.
This is needed because of the undo functionality. We need to allow users to undo
deleted message even when the connection was closed due to the time out or
maximum connections allowed per server. nsImapIncomingServer.cpp
nsImapProtocol.cpp modified.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 20•25 years ago
|
||
Verified on All platforms: Linux, WinNT & Mac 12-15-08/09-M12 commercial build:
From the application GUI interface, IMAP expunged "deleted message" after exit
(close/shutdown)the application.
From the IMAP log, still not find the "CLOSE" comment in the IMAP log file.
I am still marking as verified for this bug.
But, will add comments for bug#17716 for adding "CLOSE" comment for keep track
for this bug.
Comment 21•25 years ago
|
||
typo! I mean "CLOSE" command for IMAP log file.
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•