Unable to delete folder under Inbox.

EzTech

Verified User
Joined
Nov 23, 2020
Messages
13
Hi,

I have created a folder under inbox for the segregation of incoming emails. Now I am trying to delete one folder but it fails to, if it gets delete also after the page refresh the folder comes back. This is happening only with one email account which is synchronized with the mac book.

Do provide me a solution for this.

thanks in advance.
RK
 
This is probably due to default permissions the folder will get. You should try to remove it via SSH as root.
If you don't have root access, ask your host to remove the folder.
 
This is probably due to default permissions the folder will get. You should try to remove it via SSH as root.
If you don't have root access, ask your host to remove the folder.
Hi, Thanks for your advice. well, I don't know how to do in SSH, can you provide me step-by-step details on how to remove the folder using SSH.
 
Please don't quote complete posts, especially not if your answer is right below it, makes things unclear. ;)

As for my advice, you're welcome. I could give you a step by step, but first of all, do you have root access?
Also I need to know which folder exactly to be able to given give a correct example.
 
Hi, Thanks for your advice. well, I don't know how to do in SSH, can you provide me step-by-step details on how to remove the folder using SSH.
filezilla or winscp, simply with ssh-port and root-login, looks same as with normal ftp
 
If it's being added back after deletion, deleting it from command line may not be a fix. It just may be a more consistent way to execute the delete before it appears again. There are two things which should be creating folders under an IMAP account:

1. Any IMAP authenticated application (they will all have this ability, and one may well be using it)

2. The folders mentioned in /etc/dovecot/conf/namespace_private.conf, which will be created by Dovecot. Some of these are expected to exist by other systems, and changing these could have unintended consequences.

It also sometimes happens (most frequently noted by my users after using imapsync) that a folder remains in the subscription file but is no longer present. If that is the case, take my email "[email protected]" as an example for where I would find my subscription file to change it:

/home/ebrsquee/imap/mxroute.com/jarland/Maildir/subscriptions

You can just edit that with nano, vim, whatever.
 
Back
Top