Thunderbird config management
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
607 B

// Autoconf
if(getenv("USER") != "") {
var user = getenv("USER");
} else {
var env_user = getenv("USERNAME");
}
{% if thunderbird_config_append_domain is defined and thunderbird_config_append_domain != '' %}
var mail = env_user + '@{{ thunderbird_config_append_domain }}';
{% else %}
var mail = env_user;
{% endif %}
lockPref("mail.identity.useremail", mail);
lockPref("autoadmin.append_emailaddr", true);
lockPref("autoadmin.global_config_url", "{{ thunderbird_config_url }}");
lockPref("autoadmin.failover_to_cached", true);
lockPref("autoadmin.offline_failover", true);