Thunderbird 5. Autoconfiguration. Some settings don't work anymore in autoconfig file.

RESOLVED INVALID

Status

Thunderbird
Account Manager
RESOLVED INVALID
7 years ago
7 years ago

People

(Reporter: LIVINE Christin, Unassigned)

Tracking

({testcase})

All
Other
testcase

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(5 attachments)

(Reporter)

Description

7 years ago
Created attachment 548378 [details]
thunderbird 5 autoconfiguration bug

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0.1) Gecko/20100101 Firefox/5.0.1
Build ID: 20110707182747

Steps to reproduce:

Tested on Windows 2000 SP4 French.
Found in Thunderbird 5.0 and Thunderbird 6.0b1, french and english.
Compared with Thunderbird 3.1.11.

For e-mail with @mail.pf, I'm trying to create an autoconfiguration file for live.mozillamessaging.com (Is it this server ?).
For tests, I'm creating and modifying the file mail.pf.xml in "C:\Program Files\Mozilla Thunderbird\isp\".

- Download the attached file. Copy mail.pf.xml in "C:\Program Files\Mozilla Thunderbird\isp\".
- In "C:\Program Files\Mozilla Thunderbird\isp\", add or modify settings in mail.pf.xml,
- No need connection to the network.
- Open Thunderbird for the first time (or delete all Thunderbird user settings in "C:\Document and settings\xxxxx\Application Data\" and "C:\Document and settings\xxxxx\Local Settings\Application Data\").
- "Import Wizard" window appears. Choose "Don't import anything". Click button "Next >".
- "Mail Account setup" window appears. In " Your name:" box, type abc. In "email" box, type abcdef@mail.pf. No password. Disable "Remember password". Click on button "Continue".
- Text appears: "Configuration found on Thunderbird installation". Click button "Create account".
- A warning message appears : "Programming bug. Assertion failed, see log."


I did more tests.
I modified <outgoingServer> part.
The warning message appears when :
- <username></username> doesn't work. But <username>%EMAILADDRESS%</username> works, or when there is no <username> tag.
- In case there is no <username> tag. In <authentication>. none, NTLM, GSSAPI, client-IP-address settings don't work.
- In case <username>%EMAILADDRESS%</username>. In <authentication>. none, NTLM, GSSAPI, client-IP-address settings work. But normaly, none and client-IP-address settings doen't need <username>%EMAILADDRESS%</username>.

Others settings haven't been tested. And I haven't tested with <incomingServer> part.


A way to continue.
- On warning : "Programming bug. Assertion failed, see log.". Click button OK.
- Click button "Manual config". Detailed settings appears. set the good settings. Click Create account.



Actual results:

A warning message appears : "Programming bug. Assertion failed, see log."


Expected results:

There is no problem on Thuderbird 3.1.11 with the same settings.
(Reporter)

Comment 1

7 years ago
Created attachment 548379 [details]
This file mail.pf.xml is good, but it doesn't work.
(Reporter)

Comment 2

7 years ago
Created attachment 548380 [details]
This file mail.pf.xml is deprecated, but it works.
(Reporter)

Comment 3

7 years ago
Created attachment 548381 [details]
In this file mail.pf.xml, outgoingServer authentification is none. It doesn't work.
(Reporter)

Comment 4

7 years ago
Created attachment 548382 [details]
In this file mail.pf.xml, outgoingServer username is empty. It doesn't work.
(Reporter)

Comment 5

7 years ago
Documentation about autoconfiguration.
Mmmh… Official documents are scattered. They should be collected and compiled.

Presentation : https://wiki.mozilla.org/Thunderbird:Autoconfiguration:MozillaWebservicePublish
Presentation : https://wiki.mozilla.org/Thunderbird:Autoconfiguration
Presentation : https://developer.mozilla.org/en/Thunderbird/Autoconfiguration
Autoconfiguration files used when creating account with internet : https://live.mozillamessaging.com/autoconfig/v1.1/
Example : https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat
Example : https://developer.mozilla.org/en/Thunderbird/Autoconfiguration/FileFormat/HowTo
(Reporter)

Updated

7 years ago
Summary: Thunderbird 5. Autoconfiguration. Some settings don't work. → Thunderbird 5. Autoconfiguration. Some settings don't work anymore in autoconfig file.
(In reply to LIVINE Christin from comment #4)
> Created attachment 548382 [details]
> In this file mail.pf.xml, outgoingServer username is empty. It doesn't work.

I think it can't be empty but I'm not sure. ccing someone who knows for sure.
Keywords: testcase

Comment 8

7 years ago
Correct
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
(Reporter)

Comment 9

7 years ago
If outgoingServer username can't be empty, what is the solution for smtp server that don't need authentification ?
Huh.  That's a good question.  Ben?  Any ideas?  (Other than "That's a bad idea, cause it would let everyone send spam through you." ;)

Comment 11

7 years ago
<authentication>client-IP-address</authentication>
or
<authentication>smtp-after-pop</authentication>
see
https://developer.mozilla.org/en/Thunderbird/Autoconfiguration/FileFormat/HowTo

Comment 12

7 years ago
Code *does* consider this:

      if ("username" in oX ||
          // if password-based auth, we need a username,
          // so go there anyways and throw.
          oO.auth == Ci.nsMsgAuthMethod.passwordCleartext ||
          oO.auth == Ci.nsMsgAuthMethod.passwordEncrypted)
        oO.username = sanitize.string(oX.username[0]);

Just read the docs, please :)
(Reporter)

Comment 13

7 years ago
(In reply to Ben Bucksch (:BenB) from comment #11)
> <authentication>client-IP-address</authentication>
> or
> <authentication>smtp-after-pop</authentication>
> see
> https://developer.mozilla.org/en/Thunderbird/Autoconfiguration/FileFormat/
> HowTo

None of those settings work if there is no <username> tag, or if <username> is empty.

Finally, I'll write anything in <username> like %EMAILADDRESS%, xxx…
And in Outgoing Server (SMTP), The User Name text field will be disabled and greyed.
For example :
<username>User name not required!</username>
<authentication>none</authentication>
You need to log in before you can comment on or make changes to this bug.