[Tickets #7745] Re: The folder "sent-mail" already exists

bugs at horde.org bugs at horde.org
Tue Dec 23 16:18:55 UTC 2008


Ticket URL: http://bugs.horde.org/ticket/7745
  Ticket             | 7745
  Updated By         | rsalmon at mbpgroup.com
  Summary            | The folder "sent-mail" already exists
  Queue              | IMP
  Version            | 4.3
  Type               | Bug
  State              | No Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |

rsalmon at mbpgroup.com (2008-12-23 11:18) wrote:

> I can't reproduce.  It most likely has something to do with the fact
> that the old mailbox is not being removed from the IMP_Tree object
> correctly (since exists() uses that object to check for existence),
> but I can't reproduce this so someone who sees this will have to
> debug.

I do get this as well. As soon as I login I get :
-   The current folder(s) "Sent" will be renamed to "Sent-nov-2008".
-   All old linked attachments more than 6 months old will be deleted.

After selecting both options, and clicking on "perform maintenance", I  
get the following messages :
# Sent folder being renamed at the start of the month.
# Success The folder "Sent" was successfully renamed to "Sent-nov-2008".
# Warning The folder "Sent" already exists

The Sent folder is visible in the folder tree nav bar but doesn't  
exist on the server.

 From the Folder Navigator screen, I select "Rebuild Folder Tree" and  
the 'Sent' folder disappear from the folder tree nav bar as expected.

I can reproduce the same bug doing this :
- rename "Sent-nov-2008" to "Sent" from IMP
- logout
- set pref "last_maintenance" to "1226660810".
- login + maintenance
->  # Warning The folder "Sent" already exists

we use latest cvs version and courier-imap-4.3.0 and imp pref 'subscribe' = 0

I don't mind debugging but I don't know where to start. Any ideas?

More information about the bugs mailing list