Closed Bug 12801 Opened 26 years ago Closed 26 years ago

[FEATURE] migrate prefs for "Local Mail" if user used IMAP in 4.x

Categories

(MailNews Core :: Backend, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sspitzer, Assigned: sspitzer)

References

Details

if the user used IMAP in 4.x, we currently leave there "Local Mail" behind on
migration.

We need to migrate it over, and if there were any prefs (like default_fcc prefs)
that pointed to those folders, they may need to be adjusted.

see news://news.mozilla.org/37CAAAC5.6008BC1B%40netscape.com for more of alecfs
ideas on how to do this.

since I'm working on mail-news migration bugs and features, assigning this one
to me.
Status: NEW → ASSIGNED
Target Milestone: M10
marking m10.  I hope to do all the crashers and migration work first.

accepting bug.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Summary: [FEATURE] migrate "Local Mail" if user used IMAP in 4.x → [FEATURE] migrate prefs for "Local Mail" if user used IMAP in 4.x
fixing summary.

marking fixed.

until #12931 is fixed, you'll have to test this by hand.

to test by hand, do this:

get a 4.x prefs.js for someone using IMAP.
copy the 4.x "Local Mail" folders to <profile>/Mail/Local Mail

on unix, I did something like this:

cp -r /u/sspitzer/nsmail/* ~/.mozilla/sspitzer/Mail/Local Mail
cp ~/.netscape/preferences.js ~/.mozilla/sspitzer/prefs.js

Now, when you start up 5.0 and the prefs get migrated, you should see "Local
Mail" in your folder pane.

if you look in your prefs, you should see something like this:

user_pref("mail.server.server3.directory","/u/sspitzer/.mozilla/sspitzer/Mail/Local
Mail");
user_pref("mail.server.server3.hostname", "Local Mail");
user_pref("mail.server.server3.type", "none");
user_pref("mail.server.server3.userName", "nobody");
Seth,
For my IMAP account I am not getting any Local Mail migrated/copied over.
I have a path $HOME/.mozilla/gbush/Mail/Local Mail but I am unable to move to
that directory (too many arguments). In the mail directory I also have a
directory called server2 and a file called server2.msf.
In Messenger clicking on Local Mail does nothing (as opposed to POP where I can
see my folders and messages)
This is true on both Unix and WinNT.
This worked when I tested by hand....see also bug 12931
ok, in the 9-15-99 build, I broke this.
I fixed it again.

please check again in the 9-16 build.
Status: RESOLVED → VERIFIED
looks good today- build 1999091608-WinNT
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.