Closed Bug 264658 Opened 20 years ago Closed 19 years ago

SSL IMAP: Loss of all offline mail data after reconnect

Categories

(SeaMonkey :: MailNews: Backend, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 213827

People

(Reporter: m.volkmer, Assigned: Bienvenu)

Details

(Keywords: dataloss)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.2) Gecko/20040906
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.2) Gecko/20040906

Making several imap folders offline available and downloading all messages
stores them the local ImapMail folder. Connecting to the server the first time
worked fine. Connecting to the IMAP server again some time later removed all
offline folder/messages. The mail folders completely disappeared as files from
.mozilla/default/xxxxxxx/ImapMail/ . 
The SSL connection uses a possible insecure server certificate where the server
name doesn't match certificate name. Could there be a problem with the
synchronization because of this?




Reproducible: Didn't try
Steps to Reproduce:
1.Make a ssl imap connection with a insecure server certificate
2.Check several folders and download all messages
3.Connect to the server again

Actual Results:  
All offline folder/messages got removed

Expected Results:  
Download of new mail header/messages
Keywords: dataloss
> The SSL connection uses a possible insecure server certificate where the server
> name doesn't match certificate name. Could there be a problem with the
> synchronization because of this?

The mail server (mail-srv2) has an alias (imapmail), The connection was
established to mail-srv2 while the ssl certificate belongs to imapmail.
Had there been any issues related to dns alias, ssl & imap? 
Product: Browser → Seamonkey
I got the this behaviour again with
Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.5) Gecko/20041220

Two new observations
* Mozilla was in online mode but dialup internet connection was offline
* There was the error message "Couldn't connect to <imapserver>" 

After this once again all (offline) folder/messages got removed. There was only 
an empty Inbox folder left.

I guess this bug is probably related or identical to #19199
"don't delete (without asking) complete offline IMAP Folders if the 
folders"vanish on the server"

For some reason Mozilla wrongly assumes there are no messagess/folder on the 
imap server anymore and removes for this reason all offline folder/messages for 
this server on the local machine.

So please implement a confirmation dialog for (imap) server initiated removal of 
local mails as long this is not reliable!  

Thanks
Michael 

*** This bug has been marked as a duplicate of 213827 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.