Closed Bug 596575 Opened 14 years ago Closed 14 years ago

Account manager wizard cannot add second movemail unix mailspool account

Categories

(Thunderbird :: Account Manager, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 269372

People

(Reporter: thomas.schorpp, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.9.2.9) Gecko/20100908 Iceweasel/3.6.9 (like Firefox/3.6.9) Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.9.2.9) Gecko/20100914 Icedove/3.1.3 Wizard does not let me pass step 2, "next" button remains inactive, whatever data I enter in step 1 and 2. Another movemail account for localhost mailspool account already exists, want to add one for access to remote machine's unix mailspool. That may not be possible, so the wizard is right only allowing one mailspool account per user. Reproducible: Always Steps to Reproduce: 1. Add a mailspool account ready and then reopen account manager 2. Add a unix mailspool account 3. Try to pass step 2 Actual Results: Wizard does not let me pass step 2, "next" button remains inactive, whatever data I enter in step 1 and 2. Expected Results: More unix mailspool accounts than one and with remote access to spool on remote hosts.
Does it work better when you start thunderbird with -safe-mode flag ? Anything in Tools -> Error console ?
Well, movemail accounts would always point to the same directory, so unless that is changed (probably bug 269372 would be the fixing bug), this is moot anyways. I suspect it's that movemail hardcodes hostname/username, which combined make the wizard unable to actually synthesize a second account.
(In reply to comment #1) > Does it work better when you start thunderbird with -safe-mode flag ? No. Same result. "Next" Button inactive. > > Anything in Tools -> Error console ? Nothing listed in both cases (if visible in high-contrast-black GNOME color theme).
Posted this in https://bugzilla.mozilla.org/show_bug.cgi?id=269372 , too. Maybe one of the bugs should be marked as duplicate. I had a few minutes and took a look into the source and wrote a really "quick and dirty" patch, nothing to release yet. But it should give an idea how this could be solved. After patching one can create multiple Movemail accounts. Movemail no longer uses the environment variables %USERNAME%, %USER% or %MAIL% to determine username or spool folder. When you enter your email address e.g. youremail@localhost in the account wizard I the username "administrator" is always written to the prefs.js user_pref("mail.server.server3.userName", "youremail"); Now this is used in combination with the mentioned examples for spooler folders const char * gDefaultSpoolPaths[] = { "/var/spool/mail/", "/usr/spool/mail/", "/var/mail/", "/usr/mail/" }; to determine the spool file. They are checked in combination with the username one after another, loop breaks on success. Setting the parameter aRequiresUsername to PR_TRUE makes is possible to add multiple Movemail accounts, as there is some sort of check made (see aw-server.js, function serverPageValidate(), parameter !gProtocolInfo.requiresUsername). This disables the "Next" button in the wizard. Well, have a look, give it a try and tell me what you think.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: