Andreas Aardal Hanssen wrote:
On Thu, 8 Jul 2004, Daniel Miller wrote:Your observation about the use of Maildir++ instead of IMAPdir was enlightening. Not supporting root level folders seems to be a serious limitation. This limitation causes big problems with Thunderbird (At least in its current form). Of course I could be the only one that considers the impossibility of deleting any mail to be a problem.
I'm curious if this is a Mozilla Thunderbird issue or a bincimap problem.
Thanks for your help
Neither of the above; Binc IMAP is configured for Maildir++, which doesn't
allow root level folders. You need to use IMAPdir to get root level
mailboxes.
Well, I deleted the folder I created. In this example it was called InboxLevelFolder. I can only assume by that point in time Thunderbird had figured out there was no Trash folder to move things to and therefore didn't actually ask binc to preform the deletion. I don't know anything about the IMAP protocol, so I'm unaware if it is considered to be a deletion or a move.The protocol dump doesn't demonstrate deleting of any sublevel mailboxes. Are you sure this is the problem?
Considering your past record of response I'm sure you will take the time to fix it.write(1, "13 OK CLOSE completed\r\n", 23) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
Process 26721 detached
This should be handled better by Binc IMAP.. The client closed the connection immediately after sending LOGOUT, and Binc IMAP should accept this.
I now understand this after reading through the maildir++ specification. This leads me to make two suggestions. If possible it would be great if the documentation that is shipped with binc specifically spells out that if you plan on having Mozilla Thunderbird as a supported client then you better change your bincimap.conf file from Maildir++ to IMAPdir. Second, I suggest this page (http://www.bincimap.org/bincimap-imapdir.html) specifically mention that root level directories are not allowed for maildir++ mail depots.Binc doesn't accept Trash, because it's not a child of INBOX. This is proper Maildir++ behavior.
* LIST (\Unmarked) "/" "INBOX/InboxLevelFolder"
11 OK LIST completed
12 expunge
12 OK EXPUNGE completed
13 close
14 logout
* BYE The server died unexpectedly. Please contact your system
administrator for more information.
This error is caused by the SIGPIPE, not by any mailbox behavior. This dump doesn't show any errors.. In particular it doesn't list any attempts to delete a folder. (?)
Not sure why this behavior occurred. I can only guess as I did above.
Well I don't think Thunderbird can be configured this way. Since reading your mail I discovered http://lifewithbincimap.org/index.php/Main/ThunderbirdFolderSetup. Within that document Jeremy explains how to configure the "Sent", "Drafts", and "Template" folders, but I don't see anything there or in the Thunderbird configuration that allows the configuration of the Trash folder. Google doesn't yield a solution either.because it trys to move the 'InboxLevelFolder' folder into the 'Trash'
folder which doesn't exist because binc was unable to create the 'Trash'
folder for the same reason that Step 1 fails. One thing interesting to
note is that if I try to create a 'Trash' folder myself in Mozilla
Thunderbird I get an error that says the folder already exists and I
need to pick a different name. This may show that Mozilla Thunderbird
thinks the 'Trash' folder exists at the root level.
The protocol dump shows the communication on the creation of the 'Trash'
folder as: 6 create "Trash" 6 NO CREATE failed: invalid mailbox name.
This situation means that no folders or messages can be deleted no
matter where they are in the directory structure because there is no
'Trash' folder to put them in.
Right, Thunderbird needs to be set up to use INBOX/Trash if you're using
Maildir++.
The only possible work around that I see is to use an extension that bypasses the Trash folder all together. Such an extension can be found at: http://forums.mozillazine.org/viewtopic.php?t=56397.
So would you consider this a bug of Thunderbird? The situation is that Thunderbird insists on having a root level Trash folder. If the folder doesn't exist or can't be created then nothing can be deleted. Kind of a problem if you want to keep your email depot at a decent size.
Is this conclusion totally off? If it is correct how can I change
things so that Thunderbird will create ~/Maildir/.Trash and think of it
as being at the root level?
Well, that won't work. .Trash is not a root level folder - it's a Maidir++ representation of INBOX/Trash. If you want root level folders, you need to use IMAPdir.
The change to IMAPdir fixes this problem. Thanks for providing a solution!
They're base64 encoded after AUTHENTICATE.... :-)
Andy
Good then, as long as you can decode base64 you've got my password.
Thanks for the help. I'm am very impressed with all the work you've put into bincimap.
Dan
