Closed Bug 417683 Opened 18 years ago Closed 18 years ago

Mails are re-downloaded when moving them from IMAP folder to local folders

Categories

(Thunderbird :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: gutu, Unassigned)

Details

(Whiteboard: closeme 2008-09-04)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en; rv:1.8.1.12) Gecko/20080206 Camino/1.5.5 Build Identifier: version 2.0.0.9 (20071031) IMAP account has offline folder enabled for the INBOX with no download limitation. If I move e-mail from INBOX to local folder the Thunderbird will re-download the whole mail with attachments even when it has been already downloaded for offline use. Reproducible: Always Steps to Reproduce: 1. Enable INBOX for offline use for account that uses IMAP server 2. Sync e-mails with large attachments 3. Go offline 4. Verify that you can access the e-mails and attachments in offline mode 5. Go again online 6. Move e-mail with large attachment to local folder Actual Results: On step 6, the thunderbird resyncs the mail from server (verified by network snoop) instead of using the locally cached copy. Expected Results: Thunderbird should have used the cached copy as the INBOX was enabled for offline use. Workaround: If the e-mail is moved in offline mode the thunderbird does the move normally and when going again to online mode it simply deletes the mail from INBOX. This is what I would expect and in my opinion is correct behavior.
I can't get this bug to reproduce, either under Tb 2.0.0.9 or a nightly trunk build. Works for me under both mac and Windows. Maybe it's a particular IMAP server that it's having trouble with? What IMAP server are you seeing this happen?
This the server version string for my IMAP server. * OK Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (server.example.com) ready.
Additional info. * Verified that this happens also with latest version 2.0.0.12 (20080213) * I'm using SSH tunnel accessing the IMAP server, so the Thunderbird connects to 'localhost' and not directly to server. Can't say if this triggers the problem?
Version: unspecified → 2.0
Can you try without the tunnel? Or do firewalls prevent that?
Unable to reproduce (tried with and without tunneling) using a Dovecot IMAP server and TB 2.0.0.16. It uses the cached version both ways. Just to be sure, is the network traffic you're seeing large enough to account for downloading the message, and not just the command to remove it from the server? I only ask because this tripped me up the first time I was trying to reproduce it. I do have access to an Exchange server (same version, in fact), but it's not working properly right now. If the reporter is still encountering this problem in Exchange, I'll try again later. Otherwise, this should get resolved WFM.
Whiteboard: closeme 2008-09-04
I have also encountered occasional IMAP attachment corruption with Thunderbird and after investigation I found out that we have Juniper WAN Accelerator in use at the site. It's possible that this is causing the issue together with the Exchange, but I can not investigate further as I was forced to switch to Outlook by IT.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.