I'm trying to get the autoconfig work for TB 3.1.4. so that I can
deactivate
indexing and autosync by default for all users.
I've read many different docs about deploying and autoconfig TB, bot
none of
the solutions worked. The following Strings I've tried so far:
C:\Programm Files\Thunderbird\tbirdadm.cfg
//
lockPref("mail.server.default.offline_download", false);
lockPref("mail.server.default.autosync_offline_stores", false);
C:\Program Files\Thunderbird\greprefs\all.js
//
pref("general.config.obscure_value", 0);
pref(“general.config.filename”, “tbirdadm.cfg”);
I also tried to load the settings from different files (in every doc
it's described a bit different
and the official MDN site says nothing about files to edit:
https://developer.mozilla.org/en/Thunderbird/Deploying_Thunderbird_in_the_Enterprise/Thunderbird_Preferences_Relevant_to_Enterprises)
I hope someone can help me. Thanks in advance!
Kind regards,
Benjamin Lang
--
Benjamin Lang
Campus IT Customer Services
Zentrum für Datenverarbeitung
Universität Tübingen
Wächterstr. 76
D-72074 Tübingen
Telefon: +49 7071 29-70391
Fax : +49 7071 29-5912
Email :benjam...@uni-tuebingen.de
_______________________________________________
tb-enterprise mailing list
tb-ent...@mozilla.org
https://mail.mozilla.org/listinfo/tb-enterprise
Hello,
I'm trying to get the autoconfig work for TB 3.1.4. so that I can deactivate
indexing and autosync by default for all users.
I've read many different docs about deploying and autoconfig TB, bot none of
the solutions worked. The following Strings I've tried so far:
C:\Programm Files\Thunderbird\tbirdadm.cfg
//
lockPref("mail.server.default.offline_download", false);
lockPref("mail.server.default.autosync_offline_stores", false);
C:\Program Files\Thunderbird\greprefs\all.js
//
pref("general.config.obscure_value", 0);
pref(“general.config.filename”, “tbirdadm.cfg”);
I also tried to load the settings from different files (in every doc it's described a bit different
and the official MDN site says nothing about files to edit:
https://developer.mozilla.org/en/Thunderbird/Deploying_Thunderbird_in_the_Enterprise/Thunderbird_Preferences_Relevant_to_Enterprises)
I hope someone can help me. Thanks in advance!
Kind regards,
Benjamin Lang
lockPref("autoadmin.global_config_url", "file:///path/to/thunderbird,v3.1.4/autoconfig.js");
tbirdadm.cfg is where you tell TB which file to use for autoconfig. Use something like this line:
lockPref("autoadmin.global_config_url", "file:///path/to/thunderbird,v3.1.4/autoconfig.js");
Move the lockPref directives to autoconfig.js. You may need to put the full path to tbirdadm.cfg in all.js. Check out my intro article and Setting Preferences article.
Hello Dean,
I've tried your solution but without success.
Am 08.10.2010 17:00, schrieb Dean Brundage:tbirdadm.cfg is where you tell TB which file to use for autoconfig. Use something like this line:
lockPref("autoadmin.global_config_url", "file:///path/to/thunderbird,v3.1.4/autoconfig.js");
This line I've used in tbirdadm.cfg:
lockPref("autoadmin.global_config_url", "file:///C:/Programme/Mozilla Thunderbird/autoconfig.js");
Do I have to use this "UNIX like" path with slashes or Windows paths with backslashes?
Move the lockPref directives to autoconfig.js. You may need to put the full path to tbirdadm.cfg in all.js. Check out my intro article and Setting Preferences article.
The lockPref directive is in autoconfig.js and in "all.js" I appended the following lines:
pref("general.config.obscure_value", 0); // for MCD .cfg files
pref(“general.config.filename”, “C:\Programme\Mozilla Thunderbird\tbirdadm.cfg”);
Is it possible to see any errors if TB can't read a configfile, e.g logfiles or something?
try {
// herp derp
} catch(e) {
var message;
if (e.lineNumber)
message = "Line " + (e.lineNumber + 1) + ": " + e;
else
message = e;
displayError("autoconfig", message);
}
//
try { lockPref("mail.server.default.offline_download", false);
lockPref("mail.server.default.autosync_offline_stores", false);
alert("Configtest");} catch(e) {
var message;
if (e.lineNumber)
message = "Line " + (e.lineNumber + 1) + ": " + e;
else
message = e;
displayError("autoconfig", message);
}
lockPref("autoadmin.global_config_url", "file:///C:/Programme/Mozilla Thunderbird/autoconfig.js");