Configuration utilities for administrators: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (Working - updated autoconfig link)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Tbsuite}}
{{Tbsuite}}


Many of the tools used by system administrators to automate configuring and deploying Netscape for multiple users don't work with Thunderbird. This [https://bugzilla.mozilla.org/show_bug.cgi?id=158384 bug report] talks about how [http://www.mozilla.org/catalog/end-user/customizing/briefprefs.html A Brief Guide to Mozilla Preferences] doesn't seem to work anymore. Some tools to consider:
Many of the tools used by system administrators to automate configuring and deploying Netscape for multiple users don't work with Thunderbird. This [https://bugzilla.mozilla.org/show_bug.cgi?id=158384 bug report] talks about how [http://www.mozilla.org/catalog/end-user/customizing/briefprefs.html A Brief Guide to Mozilla Preferences] doesn't seem to work anymore. The -install-global-extension command line argument doesn't work in Thunderbird 3.1 and later as support for it was dropped in Gecko. Some tools to consider:


==Working==
* Thunderbird 3.1 (and later) supports [https://developer.mozilla.org/en/Thunderbird/Autoconfiguration Autoconfiguration] (not the same as "AutoConfig" below) in the account setup wizard. It tries to automate the creation of the mail account based on just the real name, email address and password. The data can come from a central database maintained by Mozilla for big mail providers or a [https://developer.mozilla.org/en/Thunderbird/Autoconfiguration#Configuration_file configuration file] that it [https://developer.mozilla.org/en/Thunderbird/Autoconfiguration#Configuration_server_at_ISP "discovers"] in your domain, so you can set it up yourself. This doesn't let you configure global settings or install add-ons like the other tools, its just a way to make it easier to add a pre-configured mail account. You can submit data for the central database at the [http://ispdb.mozillamessaging.com/ Mozilla ISP database site]. [https://wiki.mozilla.org/Thunderbird:Autoconfiguration Thunderbird:autoconfiguration] explains exactly how it decides which mechanism to use to get configuration information. It seems to have the only documentation on where to put a local configuration file. Currently there isn't any support for custom fields in the config files. See [https://bugzilla.mozilla.org/show_bug.cgi?id=564043 this bug report] to track any progress.


* [https://developer.mozilla.org/en/MCD,_Mission_Control_Desktop_AKA_AutoConfig Mozilla AutoConfig (aka Mission Control)] is a centralized auto-configuration of Mozilla Suite, Firefox, Thunderbird, and Netscape 4.X. It uses general.config.filename and general.config.vendor preferences in the all.js file in the greprefs subdirectory of the program directory.    The <vendor>.cfg file can either contain the customized javascript to autoconfigure the application or it can direct the client to query a web server and download the preferences.  Current versions of Thunderbird (1.5.0.8 as of this writing) and Firefox appear to fully support autoconfig.  Autoconfig is extremely powerful and flexible since the javascript configure files can read environmental variables and make LDAP queries to retrieve user specific information for configuration.  Through the lockPref and defaultPref functionality, administrators can also lock down configurations as needed.
* [https://developer.mozilla.org/en/MCD,_Mission_Control_Desktop_AKA_AutoConfig Mozilla AutoConfig (aka Mission Control)] is a centralized auto-configuration of Mozilla Suite, Firefox, Thunderbird, and Netscape 4.X. It uses general.config.filename and general.config.vendor preferences in the all.js file in the greprefs subdirectory of the program directory.    The <vendor>.cfg file can either contain the customized javascript to autoconfigure the application or it can direct the client to query a web server and download the preferences.  Current versions of Thunderbird (1.5.0.8 as of this writing) and Firefox appear to fully support autoconfig.  Autoconfig is extremely powerful and flexible since the javascript configure files can read environmental variables and make LDAP queries to retrieve user specific information for configuration.  Through the lockPref and defaultPref functionality, administrators can also lock down configurations as needed.
Line 11: Line 11:
* [http://mozptch.mozdev.org/ Mozptch] is a Mozilla project for configuring Mozilla Suite, Firefox and Thunderbird. It runs under Windows and Linux, can be run interactively or non-interactively and uses a ini-style configuration file. The project still exists but its been replaced by [http://opsi.org/ opsi (open pc server integration)]. It is not Mozilla specific, also supports inventories and license management, and supposedly has a easier to use it script system. [https://forum.opsi.org/wiki/userspace:thunderbird This wiki page] seems to have opsi script files (setup.ins, uninstall.ins, delsub.ins) that were tested using Thunderbird 9.0.
* [http://mozptch.mozdev.org/ Mozptch] is a Mozilla project for configuring Mozilla Suite, Firefox and Thunderbird. It runs under Windows and Linux, can be run interactively or non-interactively and uses a ini-style configuration file. The project still exists but its been replaced by [http://opsi.org/ opsi (open pc server integration)]. It is not Mozilla specific, also supports inventories and license management, and supposedly has a easier to use it script system. [https://forum.opsi.org/wiki/userspace:thunderbird This wiki page] seems to have opsi script files (setup.ins, uninstall.ins, delsub.ins) that were tested using Thunderbird 9.0.


* [http://nsis.sourceforge.net/Main_Page NSIS (Nullsoft Scriptable Install System)] is used to create custom installers. Thunderbird 2.0 nightly builds and Portable Thunderbird appear to use it.  
* [http://automx.org/ Automx] runs on your server and handles requests for a mail account profile. All your users need to provide is their real name, mail address and password. It is a Python application that supports several backends, including LDAP and SQL. It supports Outlook 2007+, MS Mobiles, Thunderbird 3.0+, KMail, Evolution and Kontact email clients.
 
* [http://nsis.sourceforge.net/Main_Page NSIS (Nullsoft Scriptable Install System)] is used to create custom installers. Thunderbird [https://bugzilla.mozilla.org/show_bug.cgi?id=339135] and Portable Thunderbird use it.  


* [http://wpkg.org/index.php/Thunderbird Using a .INF file to silently install Thunderbird and make it the default email client.]
* [http://wpkg.org/index.php/Thunderbird Using a .INF file to silently install Thunderbird and make it the default email client.]
* [http://in-cider.spaces.live.com/blog/cns!1F17474AB1F2CE52!327.entry  ADMXPI for Thunderbird] adds Active Directory/group policy support for Thunderbird.


* [https://www.zettaserve.com/default.asp?catid=55 Zettaserve] has free .MSI packages for Thunderbird and Firefox. [http://www.frontmotion.com/ FrontMotion] has ones for both Firefox and a Firefox Community Edition that has the ability to lockdown settings through Active Directory using Administrative Templates. They don't have the latest versions, but seem to upgrade often enough that its not obsolete. The [http://sourceforge.net/project/showfiles.php?group_id=131575 Open Source MSI repository] sounds promising but it only has obsolete versions.
* [https://www.zettaserve.com/default.asp?catid=55 Zettaserve] has free .MSI packages for Thunderbird and Firefox. [http://www.frontmotion.com/ FrontMotion] has ones for both Firefox and a Firefox Community Edition that has the ability to lockdown settings through Active Directory using Administrative Templates. They don't have the latest versions, but seem to upgrade often enough that its not obsolete. The [http://sourceforge.net/project/showfiles.php?group_id=131575 Open Source MSI repository] sounds promising but it only has obsolete versions.


* Thunderbird 3.1 supports [https://developer.mozilla.org/en/Thunderbird/Autoconfiguration Autoconfiguration] (not the same as "autoconfig" above) in the account setup wizard. It tries to automate the creation of the mail account based on just the realname, email address and password. The data can come from a central database maintained by Mozilla for big mail providers or a [https://developer.mozilla.org/en/Thunderbird/Autoconfiguration#Configuration_file configuration file] that it [https://developer.mozilla.org/en/Thunderbird/Autoconfiguration#Configuration_server_at_ISP "discovers"] in your domain, so you can set it up yourself. This doesn't let you configure global settings or install add-ons like the other tools, its just a way to make it easier to add a pre-configured mail account. You can submit data for the central database at the [http://ispdb.mozillamessaging.com/ Mozilla ISP database site]. [https://wiki.mozilla.org/Thunderbird:Autoconfiguration Thunderbird:autoconfiguration] explains exactly how it decides which mechanism to use to get configuration information. It seems to have the only documentation on where to put a local configuration file. Currently there isn't any support for custom fields in the config files. See [https://bugzilla.mozilla.org/show_bug.cgi?id=564043 this bug report] to track any progress.
==Enterprise==
 
==Not ready yet==


* The Client Customization Kit (CCK) project is being revived according to [http://mozillazine.org/talkback.html?article=6515 this article.] However the [http://wiki.mozilla.org/CCK:Home_Page wiki] currently just has a empty placeholder for Thunderbird.
* [https://wiki.mozilla.org/Thunderbird/tb-enterprise tb-enterprise] is a mailing list to discuss deploying and configuring Thunderbird in enterprise environments.
* [https://mail.mozilla.org/listinfo/enterprise enterprise] is a similar mailing list for Firefox. Many of the solutions mentioned there might also be usable for Thunderbird.
* [https://wiki.mozilla.org/Thunderbird/Enterprise Thunderbird/Enterprise] on  MozillaWiki has links to many resources such as [http://blog.deanandadie.net/2010/05/manufacturing-user-preferences-for-mcd/ Manufacturing user preferences for MCD], [http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html Using the certificate database tool], and [https://developer.mozilla.org/en/Thunderbird/Deploying_Thunderbird_in_the_Enterprise Deploying Thunderbird in the enterprise]


==Misc. Information==
==Misc. Information==
Line 40: Line 40:
[https://bugzilla.mozilla.org/show_bug.cgi?id=458454 Ability to customize vanilla Thunderbird with a group of settings (through distribution.ini)] is a (resolved fixed) bug report requesting that Thunderbird support the ability to customize settings using a [https://wiki.mozilla.org/Distribution_INI_File distribution.ini] file like Firefox does. This [http://donna-oberes.blogspot.com/2011/10/getting-thunderbird-to-work-with.html blog post] discusses how to do that.
[https://bugzilla.mozilla.org/show_bug.cgi?id=458454 Ability to customize vanilla Thunderbird with a group of settings (through distribution.ini)] is a (resolved fixed) bug report requesting that Thunderbird support the ability to customize settings using a [https://wiki.mozilla.org/Distribution_INI_File distribution.ini] file like Firefox does. This [http://donna-oberes.blogspot.com/2011/10/getting-thunderbird-to-work-with.html blog post] discusses how to do that.


[https://wiki.mozilla.org/Thunderbird/tb-enterprise tb-enterprise] is a mailing list to discuss deploying and configuring Thunderbird in enterprise environments. [https://wiki.mozilla.org/Thunderbird/Enterprise Thunderbird/Enterprise] on  MozillaWiki has links to many resources such as [http://blog.deanandadie.net/2010/05/manufacturing-user-preferences-for-mcd/ Manufacturing user preferences for MCD], [http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html Using the certificate database tool], and [https://developer.mozilla.org/en/Thunderbird/Deploying_Thunderbird_in_the_Enterprise Deploying Thunderbird in the enterprise]
[https://wiki.mozilla.org/Thunderbird/BYOB Thunderbird/BYOB] discusses plans to create an equivalent of [https://byob.mozilla.com/en-US Build Your Own Browser (BYOB)] for Thunderbird. However, that effort seems dead.
 
[https://wiki.mozilla.org/Thunderbird/BYOB Thunderbird/BYOB] discusses plans to create an equivalent of [https://byob.mozilla.com/en-US Build Your Own Browser (BYOB)] for Thunderbird.


==See also==
==See also==
* [[Firefox_:_FAQs_:_About:config_Entries | General.* preferences]]
* [[Firefox_:_FAQs_:_About:config_Entries | General.* preferences]]
* [[Installing extensions]] explains how to do a silent admin installation of extensions.
* [[Installing extensions]] explains how to do a silent admin installation of extensions. However, that command line argument is deprecated in recent versions. See the MDN [https://developer.mozilla.org/en-US/docs/Installing_extensions Installing extensions] for some other solutions (such as just copying it or extracting it to a specific directory).
* [[Mail and news settings]]
* [[Mail and news settings]]


Line 59: Line 57:
* [https://developer.mozilla.org/en/Thunderbird/Using_the_Multiple_Accounts_API Multiple Accounts API] (create accounts by editing prefs.js file with a text editor)
* [https://developer.mozilla.org/en/Thunderbird/Using_the_Multiple_Accounts_API Multiple Accounts API] (create accounts by editing prefs.js file with a text editor)
* [https://developer.mozilla.org/en/Thunderbird/Autoconfiguration Thunderbird mail account autoconfiguration]
* [https://developer.mozilla.org/en/Thunderbird/Autoconfiguration Thunderbird mail account autoconfiguration]
* [https://wiki.mozilla.org/Thunderbird/Enterprise Thunderbird/Enterprise wiki]
* [https://developer.mozilla.org/en/Thunderbird/Thunderbird_Enterprise_Tips Thunderbird Enterprise Tips (MDN)]
* [http://wpkg.org/Thunderbird#Silent_installation_of_Thunderbird_extensions Silent installation of Thunderbird extensions] using [http://wpkg.org/ WPKG]
* [http://wpkg.org/Thunderbird#Silent_installation_of_Thunderbird_extensions Silent installation of Thunderbird extensions] using [http://wpkg.org/ WPKG]
* [http://www.adminarsenal.com/admin-arsenal-blog/bid/72415/How-to-perform-a-silent-install-of-Thunderbird Silent installation of Thunderbird] using [http://www.adminarsenal.com/pdq-inventory/main PDQ Inventory]
* [http://www.adminarsenal.com/admin-arsenal-blog/bid/72415/How-to-perform-a-silent-install-of-Thunderbird Silent installation of Thunderbird] using [http://www.adminarsenal.com/pdq-inventory/main PDQ Inventory]
* How to create a [http://blog.jl42.de/2012/03/thunderbird-update-service/ Thunderbird Update Service] for ESR.
* [http://mike.kaply.com/2010/08/05/creating-a-customized-firefox-distribution/ Creating a customized Firefox Distribution] using [https://byob.mozilla.com/en-US Build Your Own Browser (BYOB)]
* [http://mike.kaply.com/2010/08/05/creating-a-customized-firefox-distribution/ Creating a customized Firefox Distribution] using [https://byob.mozilla.com/en-US Build Your Own Browser (BYOB)]



Latest revision as of 23:43, 9 November 2017

This article was written for Thunderbird but also applies to Mozilla Suite / SeaMonkey (though some menu sequences may differ).

Many of the tools used by system administrators to automate configuring and deploying Netscape for multiple users don't work with Thunderbird. This bug report talks about how A Brief Guide to Mozilla Preferences doesn't seem to work anymore. The -install-global-extension command line argument doesn't work in Thunderbird 3.1 and later as support for it was dropped in Gecko. Some tools to consider:

  • Thunderbird 3.1 (and later) supports Autoconfiguration (not the same as "AutoConfig" below) in the account setup wizard. It tries to automate the creation of the mail account based on just the real name, email address and password. The data can come from a central database maintained by Mozilla for big mail providers or a configuration file that it "discovers" in your domain, so you can set it up yourself. This doesn't let you configure global settings or install add-ons like the other tools, its just a way to make it easier to add a pre-configured mail account. You can submit data for the central database at the Mozilla ISP database site. Thunderbird:autoconfiguration explains exactly how it decides which mechanism to use to get configuration information. It seems to have the only documentation on where to put a local configuration file. Currently there isn't any support for custom fields in the config files. See this bug report to track any progress.
  • Mozilla AutoConfig (aka Mission Control) is a centralized auto-configuration of Mozilla Suite, Firefox, Thunderbird, and Netscape 4.X. It uses general.config.filename and general.config.vendor preferences in the all.js file in the greprefs subdirectory of the program directory. The <vendor>.cfg file can either contain the customized javascript to autoconfigure the application or it can direct the client to query a web server and download the preferences. Current versions of Thunderbird (1.5.0.8 as of this writing) and Firefox appear to fully support autoconfig. Autoconfig is extremely powerful and flexible since the javascript configure files can read environmental variables and make LDAP queries to retrieve user specific information for configuration. Through the lockPref and defaultPref functionality, administrators can also lock down configurations as needed.
  • Automatic Mozilla Configurator is a Mozilla project to customize and deploy Mozilla Suite, Firefox and Thunderbird for users whose home directory is on a file share. One of its main goals is to be able to lock preferences using a mozilla.cfg file that contains encoded javascript commands. That feature is not available for Thunderbird.
  • Mozptch is a Mozilla project for configuring Mozilla Suite, Firefox and Thunderbird. It runs under Windows and Linux, can be run interactively or non-interactively and uses a ini-style configuration file. The project still exists but its been replaced by opsi (open pc server integration). It is not Mozilla specific, also supports inventories and license management, and supposedly has a easier to use it script system. This wiki page seems to have opsi script files (setup.ins, uninstall.ins, delsub.ins) that were tested using Thunderbird 9.0.
  • Automx runs on your server and handles requests for a mail account profile. All your users need to provide is their real name, mail address and password. It is a Python application that supports several backends, including LDAP and SQL. It supports Outlook 2007+, MS Mobiles, Thunderbird 3.0+, KMail, Evolution and Kontact email clients.
  • Zettaserve has free .MSI packages for Thunderbird and Firefox. FrontMotion has ones for both Firefox and a Firefox Community Edition that has the ability to lockdown settings through Active Directory using Administrative Templates. They don't have the latest versions, but seem to upgrade often enough that its not obsolete. The Open Source MSI repository sounds promising but it only has obsolete versions.

Enterprise

Misc. Information

You can disable the Import wizard in Thunderbird from starting when there is no profile by adding

[XRE]
EnableProfileMigrator=false

to a file called "override.ini" in the program directory (C:\Program Files\Mozilla Thunderbird). [2]

You can flag bad configurations in the auto-setup database used by the account wizard or submit a new configuration for review at Mozilla's ISP database site.

Several configuration files in the profile have been moved into a omni.jar file to improve performance by reducing the the amount of I/O needed to load the application.

Ability to customize vanilla Thunderbird with a group of settings (through distribution.ini) is a (resolved fixed) bug report requesting that Thunderbird support the ability to customize settings using a distribution.ini file like Firefox does. This blog post discusses how to do that.

Thunderbird/BYOB discusses plans to create an equivalent of Build Your Own Browser (BYOB) for Thunderbird. However, that effort seems dead.

See also

External links

A series of blog postings on Mozilla AutoConfig: