This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

Thunderbird 38 doesn't seem to read autoconfig files on OSX

  • 2 antwoorde
  • 1 het hierdie probleem
  • 1 view
  • Laaste antwoord deur Wayne Mery

more options

Hello,

I'm trying to migrate our users from TB31 to TB38. In version 31, I was using auto-configuration in my deployment. It worked great but now it doesn't work. When I open the config editor, I don't see key "general.config.filename " or any keys starting by "autoconfig.". On my web server, I don't see any request coming from the client.

Note that this still work with TB38 on Windows. The problem is only with OSX clients.

Is it a known bug ?

This is my config files:

--- Thunderbird.app/Contents/MacOS/defaults/pref/autoconfig.js

 // Load config file.
 pref("general.config.obscure_value", 0);
 pref("general.config.filename", "thunderbird.cfg");

--- End file

--- Thunderbird.app/Contents/MacOS/thunderbird.cfg

 // Autoconfig
 var env_user = "";
 if(getenv("USER") != "")
 {
   env_user = getenv("USER");
 }
 else
 {
   env_user = getenv("USERNAME");
 }
 var mail = "";
 if (env_user!="")
 {
   mail =  env_user + '@domain.tld';
 }
 lockPref("mail.identity.useremail", mail);
 lockPref("autoadmin.append_emailaddr", true);
 lockPref("autoadmin.global_config_url", "https://mozilla-autoconfig.domain.tld/thunderbird.php");
 lockPref("autoadmin.failover_to_cached", true);
 lockPref("autoadmin.offline_failover", true);

--- End file

Hello, I'm trying to migrate our users from TB31 to TB38. In version 31, I was using auto-configuration in my deployment. It worked great but now it doesn't work. When I open the config editor, I don't see key "general.config.filename " or any keys starting by "autoconfig.". On my web server, I don't see any request coming from the client. Note that this still work with TB38 on Windows. The problem is only with OSX clients. Is it a known bug ? This is my config files: --- Thunderbird.app/Contents/MacOS/defaults/pref/autoconfig.js // Load config file. pref("general.config.obscure_value", 0); pref("general.config.filename", "thunderbird.cfg"); --- End file --- Thunderbird.app/Contents/MacOS/thunderbird.cfg // Autoconfig var env_user = ""; if(getenv("USER") != "") { env_user = getenv("USER"); } else { env_user = getenv("USERNAME"); } var mail = ""; if (env_user!="") { mail = env_user + '@domain.tld'; } lockPref("mail.identity.useremail", mail); lockPref("autoadmin.append_emailaddr", true); lockPref("autoadmin.global_config_url", "https://mozilla-autoconfig.domain.tld/thunderbird.php"); lockPref("autoadmin.failover_to_cached", true); lockPref("autoadmin.offline_failover", true); --- End file

Gewysig op deur ohmer

All Replies (2)

more options

Bump.

Nobody have the problem or nobody use that feature? Should I open a bug report?