Closed Bug 1274569 Opened 9 years ago Closed 1 year ago

consider expunge_after_delete when deleting copies of drafts

Categories

(MailNews Core :: Backend, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED
136 Branch

People

(Reporter: roman.valov, Unassigned)

References

Details

(Whiteboard: [fixed by bug 399475] )

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/49.0.2623.108 Chrome/49.0.2623.108 Safari/537.36 Steps to reproduce: Recently I've spent some time to organize my work with email. I have to work with my corporate mailbox (MS Exchange hosted) using Outlook on Windows machine and Thunderbird (via IMAP) on Linux machine. There was two annoying issues related to copies of messages once marked as deleted in thunderbird but still present at Exchange account and thus present in Outlook. First issue was related to moved messages (manually or by filter), due to usage of deleted flag which is not recognized by Exchange/Outlook. So move operation performed from Thunderbird was actually a copy of a message until Thunderbird exited or `Compact` was invoked manually. I have fixed this using `mail.imap.expunge_after_delete` setting from config. Second issue is that a copy of draft message is saved in Exchange/Outlook Drafts folder once this draft was saved in Thunderbird. I have googled a bit and found that usually workaround for this issue (typically found when interacting with Gmail IMAP). On the other hand I found these draft copies are actually deleted from Exchange/Outlook when Thunderbird is exited or `Compact`is performed manually. So it seems, Thunderbird uses the same flagging as deleted mechanism for old draft copies, but `expunge_after_delete` doesn't affect this case. Could it be changed? Actual results: Messages flagged as deleted are automatically expunged by Thunderbird if `expunge_after_delete` is set. But this settings doesn't affect removal of old draft copies. Expected results: Removal of old draft code copies should also take `expunge_after_delete` into account.
Haven't checked message before send: Usual proposed workaround for Draft copies is to use Local folder for drafts, but it's not suitable for my case due to need operate on same drafts from both, Outlook and Thunderbird.
Component: Untriaged → Folder and Message Lists
Component: Folder and Message Lists → Untriaged
Component: Untriaged → Backend
Product: Thunderbird → MailNews Core
Version: 38 Branch → 38
Severity: normal → S3
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
See Also: → 399475
Whiteboard: [fixed by bug 399475]
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.