| · Portal |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| Guest |
Posted: Aug 5 2004, 12:33 AM
|
|
Unregistered |
I'm running SquirrelMail 1.4.3a. My "folders"? pane contains:
<snip> ERROR: ERROR : Could not complete request. Query: SUBSCRIBE "INBOX.Sent" Reason Given: Subscribe: Mailbox does not exist </snip> It's true, "INBOX.Sent" doesn't exist - but "$auto_create_special = true" in config.php. Why doesn't SquirrelMail create "INBOX.Sent"? "INBOX.Sent" doesn't exist, but "INBOX.Sent.some-sub-mailbox" does. Could this be SquirrelMail's confusion? I haven't tried removing "INBOX.Sent.some-sub-mailbox" yet. I'm not real familiar with SquirrelMail - I'm not sure what other debug information I should provide. Suggestions of what to try or what to check much appreciated! Thanks, Jack |
|
|
| nogiadmin |
Posted: Aug 5 2004, 02:50 AM
|
|
Administrator Group: Admin Posts: 100 Member No.: 1 Joined: 14-July 04 |
These folders are IMAP folders. So what sort of IMAP server are you using? How sure are you about the IMAP install?
Courier I believe is still the preffered IMAP followed by UW for ease of install since it comes installed with RedHat and some other distros. Good luck |
| Guest |
Posted: Aug 13 2004, 06:28 PM
|
|
Unregistered |
Thanks,
I double checked the IMAP server to be sure; I'm responsible for this server, so I'm pretty sure it's tickety-boo. It's running Cyrus IMAPd 2.1.16. I tried removing all "INBOX.Sent.*" mailboxes; this made a difference: Now the "folders" pane contains: <snip> ERROR: ERROR : Could not complete request. Query: SUBSCRIBE "INBOX.Trash" Reason Given: Subscribe: Mailbox does not exist </snip> ("INBOX.Trash" doesn't exist, though "INBOX.Trash.<submailbox>" does.) So I think SquirrelMail's auto_create_special feature is incorrectly determining that special mailboxes exist in the case that they don't, but they are prefixes to other mailboxes. I haven't looked at SquirrelMail's source code yet. Jack |
|
|
| Guest |
Posted: Aug 13 2004, 06:52 PM
|
|
Unregistered |
I had a gander at the source. I think this problem I'm having arises from sqimap_mailbox_exists:
<snip> function sqimap_mailbox_exists ($imap_stream, $mailbox) { if (!isset($mailbox) || empty($mailbox)) { return false; } $mbx = sqimap_run_command($imap_stream, "LIST \"\" \"$mailbox\"", true, $response, $message); return isset($mbx[0]); } </snip> Using the cyradm IMAP shell, listmailbox INBOX.Blah "" (where no mailboxes INBOX.Blah* exist) returns an empty list, so isset($mbx[0]) should correctly return false. However, listmailbox INBOX.Trash "" (where INBOX.Trash doesn't exist, but INBOX.Trash.<submailbox> does) returns: INBOX.Trash (\NonExistent \Noselect \HasChildren) So isset should return true; sqimap_mailbox_exists should return true though the mailbox is "NonExistent". I don't know if this is a problem with SquirrelMail and standards compliant IMAP servers, or just Cyrus. Jack |
|
|
![]() |
![]() ![]() ![]() |
