Closed Bug 107223 Opened 24 years ago Closed 23 years ago

copying message to sent folder : invalid mailbox name

Categories

(MailNews Core :: Networking: IMAP, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: robart, Assigned: mscott)

Details

After sent a message, mozilla try to copy it on the sent folder. the copy fail with a alert message "invalid mailbox name" and the windows "copying message to sent folder" never end.
more infos... this append when i let in menu "Copy and Folders setting" the option "Sent "folder" on". my imap server is courier-imap. the namespace response has prefix "INBOX.". when mozila try to append sent message in sent folder, should not add the prefix from namespace response ? APPEND "INBOX.Sent" instead of APPEND "Sent"
I can confirm this bug. It's existed in every version of Mozilla that's supported
Sorry. No idea how I managed to commit that... The bug is 100% reproducible if connecting to a Courier IMAP server, because of the NAMESPACE issue that's been described in the numerous other Mozilla-Courier bugs. The workaround I discovered seems to confirm that it's related to the NAMESPACE issue and the fact that Courier doesn't allow the user to put any mail folders directly under the top-level and instead puts them below INBOX. The workaround is to insert 'INBOX.' in between the slash and 'Sent', like so: user_pref("mail.identity.id1.fcc_folder", "imap://username@foo.bar.com/INBOX.Sent"); It should be noted that this problem also effects the Drafts and Templates folders as well.
I see a similar problem with a Cyrus IMAP server, my sent folder is named "INBOX.Sent" so I changed the prefs.js from: user_pref("mail.identity.id1.fcc_folder", "imap://bp@foo.edu/Sent"); to: user_pref("mail.identity.id1.fcc_folder", "imap://bp@foo.edu/INBOX/Sent"); to get it to work. Although when it fails with Cyrus, I don't get an "invalid mailbox name" error, but more of an "access-denied" type of error (I suppose on a Cyrus server it is possible to have a "Sent" folder outside the user space, but I happen not to in my case).
Exactly the same situation: I've got Courier-Imap 1.4 (previously 1.3.12) and Mozilla 0.9.5-now does not set the path to Sent, Drafts and Templates folders properly (missing INBOX part) when run with default settings under "Copies & Folders" category in mail server preferences. In build 20011215 i was able to choose proper folder using "Other" radio button and then picking up apriopriate folders from menu - folders' names have INBOX/ in path and everything works fine. PS. OS does not affect this behavior - Linux, Win ME and Win 2000 Mozilla versions have the same problem.
Since this bug was reported, a newer version of Mozilla (1.0 RC1) has been released. Reporter, please can you check to see whether this bug is still present in a recent build (Moz1-RC1 or a new nightly build). If this bug does not occur please can you resolve the bugreport?
tested with build 20020421, bug is still here.
There are two people which confirmed it -> NEW pi
Status: UNCONFIRMED → NEW
Ever confirmed: true
This bug is not system specyfic as I am able to reproduce it on Linux, Win98 and WinMe using Mozilla 1.0 RC3, Build ID: 2002052306.
Marking NEW by previous comment. pi
OS: Windows 2000 → All
Hardware: PC → All
Confirming with 2002080704 on Win2k.
Hmm. I seem to have worked around this one. Here's my old pref: user_pref("mail.identity.id1.fcc_folder", "imap://alex%40spamcop.net@mail.spamcop.net/INBOX/sent-mail"); And, I changed it to this: user_pref("mail.identity.id1.fcc_folder", "imap://alex%40spamcop.net@mail.spamcop.net/sent-mail"); I running with a fresh profile (as of yesterday) with 2002080704 Trunk on Win2k. Err, isn't the latter pref supposed to be the default in the first place? Is this a sign of new brokenness, perhaps?
I stumbled upon this bug after updating to 2002080718 build. In previous build (20020716) copying to Sent folder worked fine. And yes, workaround helped. Must be result of some recent "bug fixing".
i confirm. With build (2002081822) and a new profile, it work perfectly with courier-imap server.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
robart: Since no actual code was applied, WFM would be more appropriate :). Reopening, and marking as such.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
... and WFM.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
Marking as verified based on the reporter's (robart) comment#14 verification.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.