Closed Bug 1273601 Opened 9 years ago Closed 11 months ago

mail.imap.expunge_after_delete is not triggered by a move

Categories

(MailNews Core :: Networking: IMAP, defect)

Unspecified
Windows 7
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 Build ID: 20160502172042 Steps to reproduce: Set mail.imap.expunge_after_delete to true. Move an email from the IMAP Inbox to a Local Folder Actual results: Nothing-no expunge was executed. Expected results: mail.imap.expunge_after_delete is triggered by "deleting" message (ie moving it to the trash). If the message is moved (ie removed) from the IMAP folder/server to a different folder, then an explunge command to be executed. The message has been deleted from the original location.
OS: Unspecified → Windows 7
Hi Robert. Can you determine when it last worked for you? And does it also fail if you have Thunderbird started in safe mode? https://support.mozilla.org/en-US/kb/safe-mode-thunderbird
Component: Untriaged → Networking: IMAP
Flags: needinfo?(bugzilla)
Product: Thunderbird → MailNews Core
Version: 45 Branch → 45
Hi Wayne, I have never tried to use this before. When I upgraded to version 45, I noticed the maildir option and created a new profile using it. Then I noticed that my right-click (on the folder) compact command was missing, but I saw that this option should do what I want. I just ran multiple tests in safe mode. If I delete an email, the inbox is expunged. If I move the file into my local folders, then the inbox is not expunged. Safe mode had no effect.
Flags: needinfo?(bugzilla)
Severity: normal → S3
Duplicate of this bug: 1443160

Double checked, moves do trigger expunge if option mail.imap.expunge_after_delete is set.

See calls to expunge in nsImapProtocol.cpp

case nsIImapUrl::nsImapOnlineMove
case nsIImapUrl::nsImapOnlineToOfflineMove
Status: UNCONFIRMED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED

Please use WORKSFORME when resolving without a patch, to help preserve accurate tracking

Resolution: FIXED → WORKSFORME

Ack, thanks Wayne.

You need to log in before you can comment on or make changes to this bug.