Closed Bug 12931 Opened 20 years ago Closed 20 years ago

[feature] if we used IMAP in 4.x, copy "Local Mail" to the right place.

Categories

(MailNews Core :: Profile Migration, defect, P3)

x86
All
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sspitzer, Assigned: dbragg)

Details

If the 4.x used IMAP, they still had "Local Mail".

The root was pointed to by the "mail.directory" pref

when we migrate, we need to copy all the contents of that directory to

"<profile dir>/Mail/Local Mail"

I've checked in the code to handle the pref migration.

this is only if the user was using IMAP in 4.x.

If they were using POP....see bug #12718
Status: NEW → ASSIGNED
Target Milestone: M11
Marking for M11
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Fixed.  Local Mail directory now created below the "mail" dir.
Status: RESOLVED → REOPENED
On WinNT, the contents of the Mail\LocalMail folder are not being copied -so on
Seamonkey you cannot see any LocalMail messages. The directory path
~\Users50\profiledir\Mail\LocalMail does exist - but empty.

On Win98,95 directory is created and  messages are copied but show with ??? in
seamonkey
Resolution: FIXED → ---
Clearing resolution
In 4.x, there shouldn't be a Users\profiledir\Mail\LocalMail directory.
It should just be Users\profiledir\Mail

it should be copying it to
Users50\profiledir\Mail\Local Mail

(note the space)

I may have broken this on NT, so I'll take a look.

(Note:  I believe its working correctly on Linux.)
that's right, the 4.x path is as you describe and 5.0 path is correct as well,
but the localmail directory is empty on NT only....strange.
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
marking fixed.  this is working for me on linux and windows.

something to note:  as of 9-15, if you used imap in 4.x, when your "Local Mail"
gets copied over, it does NOT get put into <Mail>/Local Mail
now, it gets put into <Mail>/server[x]

where [x] is an integer.

if you want to know which server[x] directory maps to which server, look in your
prefs.
note: when testing -installer over and over, make sure to:

remove your mozilla registry AND remove the Users50 directory

you will strange results if you migrate on top of a previous migration.
or, on unix, remove ~/.mozilla or move ~/.mozilla to the side.
Status: RESOLVED → VERIFIED
verified on builds 1999091608 on Linux and WinNT
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.