Open Bug 541103 Opened 15 years ago Updated 2 years ago

[IMAP] Archive folder is not organized into years (and months, etc.)

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86
Windows XP
defect

Tracking

(Not tracked)

People

(Reporter: mauromol, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [has protocol logs])

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; it; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 Although Thunderbird correctly organizes my Archives folder into years (and months, if I set the granularity to 2) for my POP3 accounts, for my IMAP account it doesn't. I only have a flat folder for my IMAP account Reproducible: Always Steps to Reproduce: 1. start to archive messages from an IMAP account Actual Results: Messages are moved under "Archives/<my account name>" folder. Expected Results: Messages are moved under "Archives/<my account name>/<year>" folders (supposed granularity is set to 1). Otherwise, messages may be moved unser "Archives", but Thunderbird uses "smart folders" to show messages grouped into years. I can create subfolders in my IMAP account, but not folders that can contain both messages and subfolders. I unchecked that option in the advanced settings of my account
Summary: [IMAP] Archive folder is not organized in years (and months, etc.) → [IMAP] Archive folder is not organized into years (and months, etc.)
Is your imap account gmail ?
Please note: if I create a folder "NewArchive/" that contains only subfolders and then I try to change my account options in order to map the archive folder to this new folder, I can't: the UI only lets me choose a folder that can contain messages, not one that can contain just subfolders.
(In reply to comment #1) > Is your imap account gmail ? No, it's not GMail. I'm connecting to an IMAP server in the LAN at work.
Anything in Tools -> Error console ? Does it happens also in -safe-mode ?
(In reply to comment #4) > Anything in Tools -> Error console ? I just tried to archive some messages from my IMAP account INBOX, but I can't see any related message in the error console. > Does it happens also in -safe-mode ? Yes, it does.
Can you provide an imap log when you are trying to create the archive so we can see what your imap server is saying to thunderbird ? see https://wiki.mozilla.org/MailNews:Logging for instructions on creating the log.
What do you mean exactly with "when you are trying to create the archive"? This is what I actually did now: - I started Thunderbird - I already had a plain archive with many messages of different years, not grouped by year - archive granularity was set to 1 - I archived one message of 2010 from the inbox folder by pressing "A" over it - the message was moved to the Archive folder but no "2010" folder was created within the archive folder - I closed Thunderbird I suspect this may not be very interesting to you, since my server does not support folders with both messages and subfolders and my archive folder already contained other messages. Anyway, if so, please let me know exactly which steps do I have to do to provide you with a useful log.
(In reply to comment #7) > What do you mean exactly with "when you are trying to create the archive"? > - I closed Thunderbird > > I suspect this may not be very interesting to you, since my server does not > support folders with both messages and subfolders and my archive folder already > contained other messages. That might be the rott cuase of the issue indeed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [has protocol logs]
(In reply to comment #7) > I suspect this may not be very interesting to you, since my server does not > support folders with both messages and subfolders and my archive folder already > contained other messages. Have you tried to delete the Archives folder, and re-create it as a folder that can contain other folders?
(In reply to comment #10) > Have you tried to delete the Archives folder, and re-create it as a folder that > can contain other folders? Please see my comment #2 and comment #7: my server does not support the creation of folders with both folders and messages, however I tried to create a new folder which accepts only folders (and so should be suitable to Thunderbird archive feature) but Thunderbird doesn't allow me to use it as an archive folder.
(In reply to comment #11) > (In reply to comment #10) > > Have you tried to delete the Archives folder, and re-create it as a folder that > > can contain other folders? > > Please see my comment #2 and comment #7: my server does not support the > creation of folders with both folders and messages, Ah, I missed some important information in my suggestion: use some other method (not Thunderbird) to delete and re-create the folder, and make sure it's the same name (ie: don't call it "NewArchives". Basically, you change the folder type from "can have messages" to "can have subfolders"; this allows Thunderbird to create the year folders underneath the archive folder. I did not know that you can not choose a "folder-only" folder, but that's because when I tested it, I changed the folder type directly on the server, not from within Thunderbird, but Thunderbird still kept the folder selection. That might be a GUI-enforced limitation, rather than an intrinsic limitation, since for me Thunderbird still created '2011' and filed the emails there.
Hi Msquared, I did what you suggested: - I renamed my Archives folder to Archives_true - I created a new folder-only Archives folder - I opened Thunderbird - I tried to archive a message => when archiving, Thunderbird successfully created the year subfolder with the message in it! So the problem here seems that Thunderbird simply does not let you select a folder-only IMAP folder for archiving messages. I hope this is of any help to Thunderbird developers.
Do you still see tihs problem?
Blocks: 473212
Flags: needinfo?(mauromol)
It's hardly impossible to say after more than five years, I don't have that server by hand to test any more.
Flags: needinfo?(mauromol)
(In reply to Wayne Mery (:wsmwk) from comment #14) > Do you still see tihs problem? With latest Thunderbird, I am still having that problem with imap-based archives. I have not yet tried the work-around mentioned afore.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: