Open Bug 31503 Opened 25 years ago Updated 2 years ago

Need sanity check for valid local mail directory

Categories

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

Tracking

(Not tracked)

People

(Reporter: paulmac, Unassigned)

Details

I kept trying to migrate my 4.x profile over on win95, and I kept being unable
to open my IMAP mail. It took me 2 hours to figure out, but the problem was my
INBOX was not being created. Why you ask? Because I had a pref in my 4.x profile
- user_pref("mail.imap.root_dir", "/u/paulmac/ns_imap/");
which must have shown up there because I have Roaming Access which shares my
prefs between my Linux and Windows boxes. Once I removed this pref from my 4.x
prefs.js file, I was able to migrate over without any problems.

What happens is Seamonkey uses this pref to set the Local Mail Directory, which
I saw when I opened Mail/News Account Settings, and clicked on Server under
paulmac on nsmail-2 and looked at the bottom, "Local Directory".

All I can figure out is that Messenger must have been trying to create my inbox
and an invalid or inaccessible directory and that hosed my mail.








user_pref("mail.imap.root_dir", "/u/paulmac/ns_imap/");
moving to m16.
Target Milestone: M16
really accepting this time.
Status: NEW → ASSIGNED
Mass moving M16 to M17 - look for nsbeta2 before anything else.
Target Milestone: M16 → M17
moving to future milestone. cc'ing bienvenu. David, we're futuring this because 
we think this is unlikely to occur.  Does that seem reasonable?
Target Milestone: M17 → Future
I'm not sure - but a sanity check seems like a good thing to me, since it's
easy, and it might enable someone to read mail. I'm putting back to m20.
Target Milestone: Future → M20
migration bugs to racham
Assignee: sspitzer → racham
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.0.1
mass re-assign.
Assignee: racham → sspitzer
Status: ASSIGNED → NEW
*** Bug 200605 has been marked as a duplicate of this bug. ***
It's worth noting that this does not just apply to migrated prefs.  If a user
deletes their mail directory, and then restarts mozilla, mozilla makes no
attempt to recreate the directory, and doesn't inform the user that it's
missing.  You end up in a state where the account name is displayed, but no
subfolders are listed (you don't even get the + that normally expands them). 
All the user can do to fix this is create a new account, or fix the pref to
point to a valid mail dir.
OS: other → All
Hardware: PC → All
Target Milestone: mozilla1.0.1 → ---
Product: MailNews → Core
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
QA Contact: agracebush → profile-migration
Product: Core → MailNews Core
we no longer migrate 4.x.
Is there anything still applicable for newer stuff like SM?
We have added some sanity checks on validity of Local Directory in e.g. bug 750781. I am not sure if they help the mentioned case.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.