Closed Bug 4861 Opened 26 years ago Closed 25 years ago

if mail directory doesn't exist, get msg fails

Categories

(MailNews Core :: Backend, defect, P3)

All
Linux
defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: sspitzer, Assigned: scottputterman)

Details

(Whiteboard: [PR1])

in my prefs.js, have user_pref("mail.server.server1.directory", "/u/sspitzer/mozillamail"); if /u/sspitzer/mozillamail doesn't exist, and I start up apprunner and run mail / news, and click on "get msg" it fails to get my mail. This gets sent to stderr: User is authenticated. Pop3 Protocol Error: -322 more details: /u/sspitzer/mozillamail.msf gets created but /u/sspitzer/mozillamail doesn't. We need to create /u/sspitzer/mozillamail and possible /u/sspitzer/mozillamail/Inbox on startup. (without /u/sspitzer/mozillamail/Inbox, we'll crash. I'm going to log another bug.)
If this can not be fixed for M4, it should be released noted since sounds too easy to mistype the path.
QA Contact: 4080 → 4114
Ia this all platforms? Or Linuc specific [PP] bug?
Assignee: phil → putterman
Status: NEW → ASSIGNED
Target Milestone: M6
setting as M6
Should probably release note this for M5. I'll update the bug to track release note items as we get closer to M5 release.
Hardware: PC → All
Using M5 build 1999050423 win32 does not create the mail directory either (per comment under more details:). Therefore, Get Msg doesn't get any messages (per Summary). I haven't checked Mac yet, I'll do that tomorrow (Mail & News is new to mac this week and I haven't tried it yet). I'll mark this as All, if Mac doesn't have the problem I'll edit this bug.
Target Milestone: M6 → M10
Changing to M10. Admittedly this would be annoying if you mistyped it, but in theory this will eventually be controlled from the account manager preferences. This might have to come back earlier than M10 if it's needed for creating a new account, but until then, I'm pushing this off.
Whiteboard: [PR1]
We need to create the directory for PR1, but if creating the directory will be done in the account manager, then maybe the bug should be reassigned to alecf.
Alec, will the account manager be creating the directory for servers in the account manager?
actually, I've been wondering this myself. We should probably decide who's responsible. The nsIMsgIncomingServer should probably be doing this when SetKey is called.
Target Milestone: M10 → M11
Well, we can decide in M11 because I doubt this will get fixed by tomorrow.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
This can't happen anymore since the account manager creates the directories. Resolving worksforme.
Status: RESOLVED → VERIFIED
Verified.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.