[Dovecot] Question on moving folders
Is there a way to move an imap subfolder up one level? I have a bad
mouse and every now and then I have accidentally dragged an imap folder
on top of another folder. I am unable to get the original folder back
up one level. I've tried using several clients and I can't get it to
work with dovecot. I keep getting a "folder already exists" message.
I'm guessing dovecot still sees the original folder before it was
moved. Any tips... besides getting a new mouse?
-- Andy
If you are getting 'folder already exists', in your imap client, select 'subscriptions', and look for the offending earlier folder, subscribe to it, check if your mail still exists in that folder, or if there is new mail there. If there is, copy that to your incorrectly placed folder, delete the existing folder that's in the correct location and move the incorrectly placed one into the right place. If you actually moved the folder, my guess is that you have some filtering setup to deliver mail to the old folder location, and that's why the folder now exists - new mail was delivered to it by your filtering, not because dovecot's remembered it.
Good luck, Pete
Andy Cravens wrote:
Is there a way to move an imap subfolder up one level? I have a bad mouse and every now and then I have accidentally dragged an imap folder on top of another folder. I am unable to get the original folder back up one level. I've tried using several clients and I can't get it to work with dovecot. I keep getting a "folder already exists" message. I'm guessing dovecot still sees the original folder before it was moved. Any tips... besides getting a new mouse?
-- Andy
On 29.11.2005, at 01:53, Andy Cravens wrote:
Is there a way to move an imap subfolder up one level?
IMAP command for that is:
1 rename folder.subfolder subfolder
There's nothing in Dovecot that prevents that, so it's IMAP client's problem if it can't do that.. If nothing else works, try doing it manually:
telnet localhost imap2 x login username password x list "" * x rename old new
(the list just for checking what mailboxes actually exist)
participants (3)
-
Andy Cravens
-
Peter Fern
-
Timo Sirainen