We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

ابحث في الدعم

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

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

  • 2 (ردّان اثنان)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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

Modified by ohmer

All Replies (2)

more options

Bump.

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