Ticket #225 (new Bugs)
Nested folders in ~/mail with UWimap
| Reported by: | marknmel | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.0 |
| Component: | LogicMail | Version: | 1.9.1 |
| Keywords: | Nested UWIMAP | Cc: | logicmail@… |
| Blocked By: | Blocking: |
Description
Hi Octo First of all - thanks for a really cool app!
My problem:
I have a UWimap implementation here that I'm trying to integrate with.
I am using Logicmail 1.9.1.202.
The issue I am having:
I have nested folders that contain mbox files.
Such as:
root@mail:/home/user# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LITERAL+ SASL-IR LOGIN-REFERRALS] localhost IMAP4rev1 2007.398 at Sat, 21 Aug 2010 14:52:53 -0400 (EDT)
1 login user passw0
1 OK [CAPABILITY IMAP4REV1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User user authenticated
2 namespace
* NAMESPACE (("" "/")("#mhinbox" NIL)("#mh/" "/")) (("~" "/")) (("#shared/" "/")("#ftp/" "/")("#news." ".")("#public/" "/"))
2 OK NAMESPACE completed
3 select mail/Subs/Rescue
* 5359 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1223685162] UID validity status
* OK [UIDNEXT 5361] Predicted next UID
* FLAGS (NonJunk $Forwarded Junk \Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS (NonJunk $Forwarded Junk \* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
* NO Trying to get mailbox lock from process 2494
3 OK [READ-WRITE] SELECT completed
* BYE Killed (lost mailbox lock)
Connection to localhost closed by foreign host.
root@mail:/home/user#
Logicmail seems display all ~/ folders (all the cruft in my home directory) including my INBOX when I have "show subscribed folders" unchecked or unchecked. (it seems to not respect my .mailboxlist)
However, with other .191 releases I have experienced similar wonkyness due to my folder structure. I'm not sure if the Logicmail app really copes well with the nested mbox'es inside folders. Thunderbird doesn't seem to mind.
Can you confirm that this is an issue (since I can't read code to save my life), and what your thoughts are.
Please let me know what other tests I could run for you for further fault isolation.
Many many thanks!
/Mark
Change History
comment:2 Changed 18 months ago by marknmel
- Cc logicmail@… added
Sure, I've seen this option and had messed with it. The quirk here is I do not see my "INBOX" when I populate that field, as it sits in the typical /var/mail/userid location. Some other folders are problematic due to the nesting too. ie:
/home/userid /home/userid/mailfolder1 /home/userid/mailfolder2 /home/userid/mail/mailfolder3 /home/userid/mail/a/mailfolder4 /home/userid/mail/b/mailfolder5
Let me take a look at the Imap side, but it sounds like you have been all over that before... Gimme a bit...
comment:3 Changed 18 months ago by marknmel
So I went poking about. This is what I would expect the client to issue to fetch the folder list on UWimap.
7 lsub "" "*" * LSUB () "/" Trash * LSUB () "/" Junk * LSUB () "/" Drafts * LSUB () "/" Sent * LSUB () "/" mail * LSUB () "/" mail/Trash * LSUB () "/" mail/Junk * LSUB () "/" mail/rescue * LSUB () "/" mail/Sent * LSUB () "/" mail/spam * LSUB () "/" mail/Systems/backup * LSUB () "/" mail/Systems/dbase * LSUB () "/" mail/Systems/dns * LSUB () "/" mail/Systems/mail * LSUB () "/" mail/Systems/proxy * LSUB () "/" mail/Systems/www * LSUB () "/" mail/Subs/Rescue * LSUB () "/" testfolder * LSUB () "/" fs-offer * LSUB () "/" Archives 7 OK LSUB completed
Thoughts?
/M

There's a workaround that's been in the software forever. :-)
Go to the account settings, and then to the "Advanced settings" page. On that page, there's a configuration option called "Folder prefix". Setting that should fix your issue.
Of course, if you can figure out a way (using IMAP commands) to actually figure out that prefix automatically, let me know. Otherwise, we can close this ticket.