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.
 
 

22 lines
607 B

  1. // Autoconf
  2. if(getenv("USER") != "") {
  3. var user = getenv("USER");
  4. } else {
  5. var env_user = getenv("USERNAME");
  6. }
  7. {% if thunderbird_config_append_domain is defined and thunderbird_config_append_domain != '' %}
  8. var mail = env_user + '@{{ thunderbird_config_append_domain }}';
  9. {% else %}
  10. var mail = env_user;
  11. {% endif %}
  12. lockPref("mail.identity.useremail", mail);
  13. lockPref("autoadmin.append_emailaddr", true);
  14. lockPref("autoadmin.global_config_url", "{{ thunderbird_config_url }}");
  15. lockPref("autoadmin.failover_to_cached", true);
  16. lockPref("autoadmin.offline_failover", true);