Mozilla sends wrong folder name to IMAP server



MailNews Core
Networking: IMAP
17 years ago
10 years ago


(Reporter: Guillaume Girard, Assigned: Scott MacGregor)


Firefox Tracking Flags

(Not tracked)




17 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020207
BuildID:    2002020712

With a IMAP account with a specific directory (ns_imap_server/), when trying to
empty trash, or delete or move a folder, mozilla use an empty folder name so it
gets the error message (for example):
SELECT failed, impossible to rename ns_imap_server/ to ns_imap_server/Trash/.
The name of the folder that was supposed to be deleted is missing from the command.

Reproducible: Always
Steps to Reproduce:
1. Setup an IMAP account with a specific directory bar
2. Create a folder foo
3. Delete it

Actual Results:  The following message appear
SELECT: can not rename bar/ to bar/Trash

Expected Results:  Probably something like rename bar/foo to bar/Trash/foo

Comment 1

17 years ago
I think this might be a dup of Bug 115988. Same thing is discussed in Bug
119630. Reported: could you try the following (from Commment #3 of 119630)?

1. Select Menu 'Edit'->'Mail & Newsgroup Account Settings...'
2. In the opened 'Mail & Newsgroup Account Settings' dialog, select your account
and then select 'Server settings'
3. In the right part of the interface, click the 'Advanced...' button
4. In the 'Advanced IMAP Server Settings' dialog, clear the 'Server supports
folders that contain sub-folders and messages' checkbox to make it unselected.

Comment 2

17 years ago
Unckecking this option doesn't help for 'empty trash' which still fails  and
reports that ns_imap_server/ is not a selectable mailbox. 
Folder manipulation works (creating, moving, deleting) works. Message filters work.

Comment 3

16 years ago
anything new after 3 months and Bug 115988 being fixed ?

Comment 4

16 years ago
1.0 has the same behaviour as all the previous versions. Empty Trash fails with
exactly the same error message.

Comment 5

16 years ago
Going through old unconfirmed bugs- reporter, please let us know if you are
still seeing this.

Comment 6

16 years ago
On mozilla 1.2a, the bug has disappeared. Many thanks!
Last Resolved: 16 years ago
Resolution: --- → FIXED


16 years ago
QA Contact: huang → gchan
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.