This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Thunderbird deleted emails not moved to Trash

  • 6 cavab
  • 0 have this problem
  • 1 view
  • Last reply by zsoden

more options

I've used Thunderbird for years but I've noticed for a little while now that when I delete emails from my business email IMAP accounts (both with the same email provider) the deleted emails disappear instead of being moved to the Trash folder. I have a third account that's with gmail, which is set to remove deleted emails immediately. It seems to be what the other IMAP accounts are doing instead of moving to trash like they're supposed to.

When I access these IMAP accounts using webmail I can delete messages and they are moved to the Trash folder. These deleted messages can then be seen in the Deleted folder in Thunderbird, so it would seem that the subscription settings are working correctly. It's like Thunderbird is just ignoring the delete behaviour setting in Server Settings.

I've attached screenshots of my settings and subscriptions - obviously I have confirmed that the "when I delete a message" option is correct. It has occurred to me that since the issue is with two accounts both with the same provider it could be an issue on their end, but I need some more information before I can consult their technical support (they don't officially support Thunderbird).

Any help would be greatly appreciated!

Zac

I've used Thunderbird for years but I've noticed for a little while now that when I delete emails from my business email IMAP accounts (both with the same email provider) the deleted emails disappear instead of being moved to the Trash folder. I have a third account that's with gmail, which is set to remove deleted emails immediately. It seems to be what the other IMAP accounts are doing instead of moving to trash like they're supposed to. When I access these IMAP accounts using webmail I can delete messages and they are moved to the Trash folder. These deleted messages can then be seen in the Deleted folder in Thunderbird, so it would seem that the subscription settings are working correctly. It's like Thunderbird is just ignoring the delete behaviour setting in Server Settings. I've attached screenshots of my settings and subscriptions - obviously I have confirmed that the "when I delete a message" option is correct. It has occurred to me that since the issue is with two accounts both with the same provider it could be an issue on their end, but I need some more information before I can consult their technical support (they don't officially support Thunderbird). Any help would be greatly appreciated! Zac
Attached screenshots

All Replies (6)

more options

And the business provider is?

You are using settings that move mail to a deleted folder, but the folder you are subscribing to is trash. Generally an account has one of the other, not both.

Is there a trash can icon on any of the folders in the account? Which are they?

more options

Hi Matt,

The business provider is VentraIP.

Based on some other articles I read I was under the impression that the "Deleted" vs "Trash" folder name was just Firefox's locale/language settings. Your question about the icons was a good pointer - I switched away from Unified Folders view to All Folders and I could see there was both a Trash folder and a Deleted folder. So in the advanced server settings I added the INBOX. string for the IMAP server directory. You can see in the attached photos the before and after.

Unfortunately now the "Deleted" is empty and when I test out deleting emails they still aren't moved to this folder.

I think we're getting closer - any further advice?

more options

Further to my last message, when the IMAP root directory is changed to "INBOX." I get additional strange behaviour. Firstly, I can no longer view the contents of the Sent, Drafts and Deleted folders - I get an error popup "The mail server for account zac@******* responded: failed SELECT".

VentraIP use Axigen as their email server system.

I tried creating a test folder and this shows up in the right location in Thunderbird, but if I login to the Axigen Webmail for this account it shows a newly created folder called "INBOX." that contains the test folder (image attached).

It's like Thunderbird can't figure out how the folders work.

Funnily enough, if I connect to this account using Outlook without entering "INBOX." as the IMAP root directory everything works correctly. Deleting emails sends them to Trash. So this has to be an issue with the Thunderbird configuration but I'm still unable to figure it out.

more options

why did you change the imap server directory? Not saying it is wrong. Just fail to understand.

I would expect in a situation where the server directory was to be inbox, that all server side folders would be sub folders of the inbox.

From the look of

That the folders set to sub folder of INBOX. are actually spurious and created when you set the server directory. However, if thy contain mail deleted server side then the account settings needs to map that, rather than what it is set to now.

I find it "odd" that the default trash is "deleted" if it is indeed wrong. I do not think it is. Thunderbird's default is trash, so I would expect deleted to be a correct association from the IMAP setup.

more options

Your hunch was right, Matt - the additional INBOX. folder seems to be spurious. I've deleted it and the folder list is the more normal looking list attached. So this whole change to the IMAP directory was an incorrect tangent. To answer the reason why I went on this tangent, I had a recollection of having to specify the IMAP root in an Outlook installation for another user in our small business a couple of years ago so that it would work properly.

So we're back to square one: Thunderbird still won't move items to the Trash when they are deleted.

The contents of the "Deleted" folder in Thunderbird are the contents of the folder labelled "Trash" in Axigen Webmail, so the IMAP association is obviously working correctly. I've confirmed that I can manually drag an email into the "Deleted" folder and it is moved successfully. I can see it in the Trash on webmail. It's like Thunderbird simply ignores the "Move it to folder" option for "When I delete a message" and does "Remove it immediately".

I considered maybe it's an issue with the account settings being corrupted, but I get the exact same behaviour with another account I have setup with the same mail provider. As a next debugging step I was thinking of setting up a standalone copy of Thunderbird and creating a brand new profile to test with.

more options

Following up on this issue:

I've confirmed that if I create a new Thunderbird profile and add this VentraIP account to it the behaviour upon deleting is exactly as expected. So this indicates that the issue is something to do with the configuration in my profile.

I've gone through and compared the changes settings in about:config between the two profiles but there's nothing obvious that would cause this behaviour.

As much of a headache it would be to do, the easiest solution at this point may be to simply abandon the old profile and set up all my accounts in a new one.