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

Autoconfig won't enable extension by default

  • 1 ŋuɖoɖo
  • 1 masɔmasɔ sia le esi
  • 1 view
  • Nuɖoɖo mlɔetɔ Zenos

more options

We have pointed the thunderbird preferences to our own webservice that generates user based configuration files.

ProgramFiles/Mozilla Thunderbird/default/pref/autoconfig: pref("general.config.filename", "defaults/pref/ourconfig.cfg");

and

in ProgramFiles/Mozilla Thunderbird/default/pref/ourconfig.cfg var env_user = getenv("USERNAME");

lockPref("autoadmin.global_config_url", "http://ourserver/"+env_user);

Ourserver generates a configuration. This works great. Only Hickup we have that our extensions aren't enabled (they sit in the extension folder) and get installed by profile creation. If I curl the configuration and put it directly in to ourconfig.cfg the addons are enabled by default. What am I missing? Ty for your time. Joe

We have pointed the thunderbird preferences to our own webservice that generates user based configuration files. ProgramFiles/Mozilla Thunderbird/default/pref/autoconfig: pref("general.config.filename", "defaults/pref/ourconfig.cfg"); and in ProgramFiles/Mozilla Thunderbird/default/pref/ourconfig.cfg var env_user = getenv("USERNAME"); lockPref("autoadmin.global_config_url", "http://ourserver/"+env_user); Ourserver generates a configuration. This works great. Only Hickup we have that our extensions aren't enabled (they sit in the extension folder) and get installed by profile creation. If I curl the configuration and put it directly in to ourconfig.cfg the addons are enabled by default. What am I missing? Ty for your time. Joe

All Replies (1)

more options

This is way above my abilities and knowledge, but my reading of autoconfiguration is that it is intended only for account set-up; I can't see that it was intended to be used to manage extensions and so forth. Have you seen any documentation that says otherwise?

Zenos trɔe