[Dovecot] Thunderbird 3.1 unable to delete subfolder of Trash under mdbox
Thunderbird 3.1.9 over Windows 7.
Dovecot 2.0.11 (2:2.0.11-0~auto+41 from http://xi.rename-it.nl/debian/ source on 8 Apr 2011) over Ubuntu 10.04 LTS.
Trying to set up a Dovecot system with mdbox. But I also wanted to keep some Maildir. So I ended up with both mdbox and Maildir side-by-side and noticed an issue.
On this system, Dovecot's global mail location is configured with maildir:~/Maildir
I have a two users configured in a password-file passdb/userdb:
One using the Dovecot global mail location (maildir:~/Maildir) the other with an override mail location (userdb_mail) of mdbox:~/mdbox
(The only other configurations different to the default were to turn off the default system password passdb and userdb, and enable my local password-file-format passdb and userdb.)
I have configured two IMAP accounts in Thunderbird 3.1.9, one to access each of the two users above.
The test procedure is:
In Thunderbird, create a folder at the top level (i.e. alongside Inbox), say "foo". In Thunderbird, delete the folder just created. This results in Thunderbird "moving" the folder to "Trash", resulting in a folder "Trash/foo".
Up to this point, both the Maildir and mdbox users behave OK.
Then in Thunderbird, delete the trashed folder "Trash/foo".
At this point, things start to happen differently.
With the Maildir user, the folder "Trash/foo" deletes successfully.
But with the mdbox user, Thunderbird pops up an error:
The current command did not succeed. The mail server for account <accountname> responded: Invalid mailbox name: Trash/foo/.
The folder does disappear from the Thunderbird folder pane, but if Thunderbird is "prodded" to refresh what folders it thinks are there, then the folder reappears. If we check the user's mdbox directory, we can see that indeed the mailbox has not been deleted.
Whatever I then do, I am unable to delete this folder in the mdbox user through Thunderbird.
The only way I have found to safely delete the folder is to use "doveadm mailbox delete", but this requires root privilege on the server, which is not really a practical solution.
It maybe a Thunderbird problem, but the question then arises: Why does it work under Maildir but doesn't work under mdbox?
Any ideas?
Bill
On Fri, 2011-04-08 at 16:03 +0100, William Blunn wrote:
But with the mdbox user, Thunderbird pops up an error:
The current command did not succeed. The mail server for account <accountname> responded: Invalid mailbox name: Trash/foo/.
See if imap_client_workarounds=tb-extra-mailbox-sep solves this.
On 08/04/2011 16:09, Timo Sirainen wrote:
On Fri, 2011-04-08 at 16:03 +0100, William Blunn wrote:
But with the mdbox user, Thunderbird pops up an error:
The current command did not succeed. The mail server for account <accountname> responded: Invalid mailbox name: Trash/foo/.
See if imap_client_workarounds=tb-extra-mailbox-sep solves this.
It does.
Thank-you for responding so rapidly.
I have pinged https://bugzilla.mozilla.org/show_bug.cgi?id=301714
Bill
On 08/04/2011 16:09, Timo Sirainen wrote:
On Fri, 2011-04-08 at 16:03 +0100, William Blunn wrote:
But with the mdbox user, Thunderbird pops up an error:
The current command did not succeed. The mail server for account <accountname> responded: Invalid mailbox name: Trash/foo/.
See if imap_client_workarounds=tb-extra-mailbox-sep solves this.
(1) I have raised a getsatisfaction.com issue on this issue
http://getsatisfaction.com/mozilla_messaging/topics/thunderbird_3_1_9_sends_...
(2) I was wondering if there would be any win possible by adding something into that error message like a teeny-tiny URL which pointed to a page which explained:
It's a bug in Thunderbird
The proper solution is to fix Thunderbird
There is a already a bug raised against Thunderbird <URL to bug>. The Thunderbird people know it's wrong, but they've just sat on the issue for three years, doing diddly squat about it
Go and pester the Thunderbird people. If enough people pester them, then it might be cheaper for them to fix it than to keep having to field questions from disgruntled users
In the meantime, there is a workaround in Dovecot which can be enabled thus <explanation of how to enable the workaround>
Bill
On Fri, 2011-04-08 at 17:07 +0100, William Blunn wrote:
The current command did not succeed. The mail server for account <accountname> responded: Invalid mailbox name: Trash/foo/.
See if imap_client_workarounds=tb-extra-mailbox-sep solves this.
(2) I was wondering if there would be any win possible by adding something into that error message like a teeny-tiny URL which pointed to a page which explained:
- It's a bug in Thunderbird ..
I don't know.. It's a bit ugly to add such code that detects it only in Thunderbird situations. If enough people keep asking me about this then I guess I'll have to do it, but until then it's easier to just reply to mails about it. :)
participants (2)
-
Timo Sirainen
-
William Blunn