[Dovecot] Can't get Thunderbird 2 to delete a folder under mdbox (Dovecot 2.0beta5)
Can't get Thunderbird 2 to delete a folder under mdbox (Dovecot 2.0beta5)
I have built Dovecot 2.0 and installed it under "/opt/dovecot2".
I have done the minimum configurations necesary to get it to work with SSL, systems users but with a secondary password database, and set up mail location as "mdbox:~/dbox".
I had to create the directory "dbox" in the user's home directory to get things working.
Using Thunderbird 2, I can happily copy messages into this system and read them out again, and that all works.
In the user's "~/dbox" directory, I get a "storage" directory and a file "m.1".
I can also create folders, and nested folders, and put messages into those and read them out again, and that all works.
If I try to delete a folder through Thunderbird 2, what happen is that the folder gets moved to be under a folder "Trash" (which Thunderbird calls "Deleted").
So if I had a folder "foo" and deleted it, I end up with a folder "Trash/foo" (which Thunderbird calls "Deleted/foo").
Fair enough: Thunderbird is doing a trash can model on folders.
I then go to remove the folder foo from "Trash". Thunderbird doesn't complain, and the folder disappears from the folder list.
But upon re-starting Thunderbird, we see that the folder "foo" is still there under "Trash". So it seems the folder was never properly deleted.
Perhaps this is a bug in Thunderbird 2, but since this is a beta Dovecot with a new storage subsystem, I thought I would suggest that it might be an issue with Dovecot 2.0beta5.
Regards,
Bill
William Blunn wrote:
Can't get Thunderbird 2 to delete a folder under mdbox (Dovecot 2.0beta5)
I have built Dovecot 2.0 and installed it under "/opt/dovecot2".
I have done the minimum configurations necesary to get it to work with SSL, systems users but with a secondary password database, and set up mail location as "mdbox:~/dbox".
I had to create the directory "dbox" in the user's home directory to get things working.
Using Thunderbird 2, I can happily copy messages into this system and read them out again, and that all works.
In the user's "~/dbox" directory, I get a "storage" directory and a file "m.1".
I can also create folders, and nested folders, and put messages into those and read them out again, and that all works.
If I try to delete a folder through Thunderbird 2, what happen is that the folder gets moved to be under a folder "Trash" (which Thunderbird calls "Deleted").
So if I had a folder "foo" and deleted it, I end up with a folder "Trash/foo" (which Thunderbird calls "Deleted/foo").
Fair enough: Thunderbird is doing a trash can model on folders.
I then go to remove the folder foo from "Trash". Thunderbird doesn't complain, and the folder disappears from the folder list.
But upon re-starting Thunderbird, we see that the folder "foo" is still there under "Trash". So it seems the folder was never properly deleted.
Perhaps this is a bug in Thunderbird 2, but since this is a beta Dovecot with a new storage subsystem, I thought I would suggest that it might be an issue with Dovecot 2.0beta5.
I have some more information on this:
(I have now configured a "namespace" under Dovecot in order for force Dovecot to present the hierarchy separator under IMAP as ".".)
If I do a manual IMAP session to Dovecot, I can successfully delete the folder "Trash" / "foo" (now called "Trash.foo") using the IMAP "DELETE" command.
If I use Thunderbird's "Empty Deleted" option from the "File" menu, then that seems to properly delete the folder under "Trash" ("Deleted").
If I try to delete a folder under "Trash" ("Deleted") by doing right-click then selecting "Delete", this does not properly delete the folder --- it appears to disappear, but comes back on a re-start of Thunderbird.
So that would seem to put the ball back with Thunderbird 2, which probably means the issue is likely to close about now because there is a workaround and it is the old version of Thunderbird.
Regards,
Bill
On 2010-05-13 6:16 AM, William Blunn wrote:
I have some more information on this:
You have provided a whole lot of speculation without providing any specific configuration details...
For starters, what is (unedited) output of dovecot -n?
--
Best regards,
Charles
On 13/05/2010 15:16, Charles Marcus wrote:
On 2010-05-13 6:16 AM, William Blunn wrote:
I have some more information on this:
You have provided a whole lot of speculation without providing any specific configuration details...
For starters, what is (unedited) output of dovecot -n?
Thank-you for your message.
The output of dovecot -n goes as below
Regards,
Bill
# 2.0.beta5: /opt/dovecot2/etc/dovecot/dovecot.conf # OS: Linux 2.6.18-164.6.1.el5xen x86_64 Debian 5.0.4 namespace { hidden = no inbox = yes list = yes location = mdbox:~/dbox prefix = separator = . subscriptions = yes type = private } passdb { args = scheme=CRYPT username_format=%u /var/lib/dovecot/passwd driver = passwd-file } ssl_cert =
On 2010-05-13 5:02 AM, William Blunn wrote:
So if I had a folder "foo" and deleted it, I end up with a folder "Trash/foo" (which Thunderbird calls "Deleted/foo").
We have been using Thunderbird exclusively since before it reached version 1.0, and it has never, to the best of my recollection, used anything but 'Trash' for the trash can.
http://kb.mozillazine.org/IMAP_Trash_folder
Fair enough: Thunderbird is doing a trash can model on folders.
No idea what you mean by that...
--
Best regards,
Charles
On 13/05/2010 15:14, Charles Marcus wrote:
On 2010-05-13 5:02 AM, William Blunn wrote:
So if I had a folder "foo" and deleted it, I end up with a folder "Trash/foo" (which Thunderbird calls "Deleted/foo").
We have been using Thunderbird exclusively since before it reached version 1.0, and it has never, to the best of my recollection, used anything but 'Trash' for the trash can.
Thank-you for your message.
I suspect it may be that Thunderbird substitutes a localised translation on-the-fly for display purposes.
I am using the British localised version of Thunderbird.
So the IMAP folder is called "Trash" but Thunderbird shows the translation "Deleted" for me.
Fair enough: Thunderbird is doing a trash can model on folders.
No idea what you mean by that...
It means that Thunderbird does not delete folders when requested to but instead moves them to a "trash can". The folders are actually deleted with the "trash can" is emptied. I call this the "trash can model". Another model would be the "do it straightaway model", in which when I ask the program to delete a folder, it deletes it straight away.
Regards,
Bill
On 2010-05-13 10:29 AM, William Blunn wrote:
On 13/05/2010 15:14, Charles Marcus wrote:
On 2010-05-13 5:02 AM, William Blunn wrote: I am using the British localised version of Thunderbird.
So the IMAP folder is called "Trash" but Thunderbird shows the translation "Deleted" for me.
Ah, understood...
Fair enough: Thunderbird is doing a trash can model on folders.
No idea what you mean by that...
It means that Thunderbird does not delete folders when requested to but instead moves them to a "trash can".
Ah... yes, I believe that is TB's default behavior (for both messages and folders) as well...
--
Best regards,
Charles
On 05/13/2010 11:02 AM William Blunn wrote:
Can't get Thunderbird 2 to delete a folder under mdbox (Dovecot 2.0beta5)
Well, Thunderbird is … Please have a look at: http://wiki.dovecot.org/Clients#Thunderbird
Regards, Pascal
The trapper recommends today: cafefeed.1013320@localdomain.org
participants (3)
-
Charles Marcus
-
Pascal Volk
-
William Blunn