Closed Bug 206046 Opened 22 years ago Closed 17 years ago

unable to subscribe to folder 'Sent Items' (I suspect it's because the folder name contains space)

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: paluszak, Assigned: Bienvenu)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030401 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030401 When I try to subscribe to a folder named 'Sent Items' on an IMAP server I got an Alert: "The current command did not succeed. The mail server responded: Subscribe: Mailbox does not exist." The folder exists on the server for sure, as it's displayed in the list of folders available for subscription. I suspect it's because the folder name contains space. Reproducible: Always Steps to Reproduce: 1. Right click on my account name in Mozilla, choose Subscribe. 2. Mark 'Sent Items' for subscription, press Ok. Actual Results: Alert: "The current command did not succeed. The mail server responded: Subscribe: Mailbox does not exist." Expected Results: Subcribe to this folder as it usually does.
I doubt it's the space. I suspect it's that you're using a server which uses a '.' as a hierarchy delimiter. Could you attach a protocol log from a failed subscribe attempt by following these instructions? http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html#imap thx. Can you subscribe/unsubscribe to any other folders? Are these folders sub-folders of the INBOX?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file IMAP log w/error
Here's my IMAP log. The server uses '.' as a hierarchy delimeter. I can subscribe/unsubscribe to any sub-folders of INBOX not containing space in its name.
Product: MailNews → Core
No idea if this is the same problem, but I have noticed a problem on our site where a user was unable to subscribe to a folder because it contained a _TRAILING_ space. When "show only subscribed folders" was de-selected the folder was visible and accessible, so it probably only has to do with the subscribe option. The "subscribed" checkmark appears, but when the dialogue box is closed and re-opened the folder stays unsubscribed. Granted, this could well be a bug on the server end too. Client: Mozilla Mail 1.7.3 & Thunderbird 1.0 Server: MDaemon 7.2.2 Server log: Wed 2005-01-12 09:01:19: Session 7624; child 43 Wed 2005-01-12 09:00:09: [7624:43] Accepting IMAP connection from [10.X.X.X : 4515] Wed 2005-01-12 09:00:09: [7624:43] --> * OK cropdesign.com IMAP4rev1 MDaemon 7.2.2 ready Wed 2005-01-12 09:00:09: [7624:43] <-- 1 login "XXXXX" ****** Wed 2005-01-12 09:00:09: [7624:43] --> 1 OK LOGIN completed Wed 2005-01-12 09:00:09: [7624:43] <-- 2 subscribe "IN 2004 " Wed 2005-01-12 09:00:09: [7624:43] --> 2 OK SUBSCRIBE completed Wed 2005-01-12 09:00:09: [7624:43] <-- 3 lsub "" "*" Wed 2005-01-12 09:00:09: [7624:43] Sending LSUB response (not logged)... Wed 2005-01-12 09:00:09: [7624:43] --> 3 OK LSUB completed Wed 2005-01-12 09:00:11: [7624:43] <-- 4 lsub "" "#*" ... Wed 2005-01-12 09:00:11: [7624:43] --> 5 OK LIST completed Wed 2005-01-12 09:00:31: [7624:43] <-- 6 subscribe "IN 2004 " Wed 2005-01-12 09:00:31: [7624:43] --> 6 OK SUBSCRIBE completed Wed 2005-01-12 09:00:31: [7624:43] <-- 7 lsub "" "*" ... Wed 2005-01-12 09:00:33: [7624:43] --> 9 OK LIST completed Wed 2005-01-12 09:01:07: [7624:43] <-- 10 subscribe "IN 2004 " Wed 2005-01-12 09:01:07: [7624:43] --> 10 OK SUBSCRIBE completed Wed 2005-01-12 09:01:07: [7624:43] <-- 11 lsub "" "*" Wed 2005-01-12 09:01:07: [7624:43] Sending LSUB response (not logged)... ... Wed 2005-01-12 09:01:23: [7624:43] --> 120 OK GETACL completed Wed 2005-01-12 09:01:35: [7624:43] <-- 121 subscribe "IN 2004 " Wed 2005-01-12 09:01:35: [7624:43] --> 121 OK SUBSCRIBE completed Wed 2005-01-12 09:01:35: [7624:43] <-- 122 lsub "" "*" Wed 2005-01-12 09:01:35: [7624:43] Sending LSUB response (not logged)...
To follow up on this - I contacted the IMAP server support (MDaemon) and they can't replicate with Outlook/OE. So I guess it is Mozilla bug with subscribing to folders ending in spaces. A quick workaround may be to trim() the folder name upon folder creation (since 99% of these cases will be accidental)?
I tried this with my fastmail account - I was able to subscribe to "Sent Items" w/o a problem.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: