Empty Trash on exit broke ( imap)
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
People
(Reporter: sj.vegetto, Unassigned)
Details
Attachments
(1 file)
|
116.75 KB,
application/octet-stream
|
Details |
Updated•7 years ago
|
Comment 1•7 years ago
|
||
| Reporter | ||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
| Reporter | ||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
| Reporter | ||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
| Reporter | ||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
| Reporter | ||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
| Reporter | ||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
| Reporter | ||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
| Reporter | ||
Comment 18•6 years ago
|
||
sorry for the really reopen it this but I notice it still happen, so ran the bat.
Did notice the follow though Manaul click empty trash will emtpy letting TB automaticly does not empty, not IF i put it in the trash then move it back to it original folder then delete again TB will EMpty the trash on exit
| Reporter | ||
Comment 19•6 years ago
|
||
| Reporter | ||
Comment 20•6 years ago
|
||
For the record I have Redone my profile again I am using Mbox, both empty trash and expunged is check for all account. Only thing I change since noticed this is I changed retention policy on all the trash folders to delete after 1 which wont know if it working that way and wont for atlest 24 hours.
OCD about things is horrid thing
| Reporter | ||
Comment 21•6 years ago
|
||
OK so setting the Retention policy for each Trash for Each imap account to 1 day, will DELETE the Trash every day. but Expunge/Empty trash on exit, for each imap account does not empty the trash on exit. Maunal click empty trash will.
This is work around for issue of trash on imap account not being emptied on exit. I Prefer to have the empty/expunge on exit work but this will do for now.
IF need more info let me know.
This version 68.5 which i would assume is in the log i uploaded
Comment 22•6 years ago
•
|
||
I tested this again with gmail and a non-gmail account. I found you have to be careful with what you put in Trash folder since some accounts quickly expunge messages older than, say, 2 weeks. So in the log you don't see tb deleting the messages in Trash on shutdown since they are auto-deleted by the server. When I put only young messages in trash and shutdown tb, the messages are deleted by tb correctly right before shutdown. This is true for gmail and non-gmail accounts and I verified this using imap log.
Also, on restart of tb it may appear that there are messages still in Trash even though you have the account's trash set to delete on tb shutdown. Then when you click on Trash the messages seem to be removed only then. This is because on startup tb doesn't usually automatically make a connection to the Trash mailbox folder so the Trash folder is not "synchronized" with the server until you click on it. (It will auto-connect to Trash if you shutdown tb selected on Trash.) So the messages in Trash were actually deleted on the previous shutdown or auto-expunged by the server due to old age and appear to only go away when you click the Trash folder.
In your log I see a message moved from Sent to gmail Trash. However, I don't see it deleted from trash in the log anywhere like it should if you have "empty trash on shutdown" selected. So I'm tempted to call this INVALID but not sure, even though I can't duplicate it. What were you doing when you recorded the log -- the more details the better.
P/S: I didn't set retention policy to any non-default with my tests. Could you set it back to default and check again if your trash deletes on shutdown and maybe record and attach a log again? Thanks.
One more thing: You should see a lines like this in the log when tb empties the Trash folder for each account. However, it only does this after imap selecting the Trash folder and the "EXISTS" count is non-zero:
[3151:Unnamed thread 0x7821090cf040]: I/IMAP 0x782101563800:mobile.charter.net:S-Trash:SendData: 9 store 1:* +FLAGS.SILENT (\Deleted)
[3151:Unnamed thread 0x7821090cf040]: I/IMAP 0x782101563800:mobile.charter.net:S-Trash:SendData: 10 expunge
Comment 23•4 years ago
|
||
sj.vegetto,
Does this also fail for you on a non-gmail account?
| Reporter | ||
Comment 24•4 years ago
|
||
as far as i can tell it does to all account and there all imap, I have since just setup TB to purger trash ever 24h which does work, but not the purge on exit
Comment 25•3 years ago
|
||
I'm marking this as a duplicate of Bug 1745205 even though I (and also Wayne at Bug 1745205 comment 6) were unable to duplicate this on gmail.
I think the reason we are unable to duplicate is because Observe() is not called for gmail so the password is never forgotten (unlike for yahoo which also uses oauth2). See Bug 1745205 comment 41 for more details on Observe() and how it "forgets" the password, possibly unnecessarily.
Description
•