home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / defaults / pref / mailnews.js < prev    next >
Text File  |  2001-10-17  |  15KB  |  315 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public
  4.  * License Version 1.1 (the "License"); you may not use this file
  5.  * except in compliance with the License. You may obtain a copy of
  6.  * the License at http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the License is distributed on an "AS
  9.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.  * implied. See the License for the specific language governing
  11.  * rights and limitations under the License.
  12.  *
  13.  * The Original Code is mozilla.org code.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation.  Portions created by Netscape are
  17.  * Copyright (C) 1998 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s): 
  21.  */
  22.  
  23. pref("mail.showMessengerPerformance", false);
  24.  
  25. pref("mail.wrap_long_lines",                true);
  26. pref("news.wrap_long_lines",                true);
  27. pref("mail.inline_attachments",             true);
  28. // hidden pref for controlling if the user agent string
  29. // is displayed in the message pane or not...
  30. pref("mailnews.headers.showUserAgent",       false);
  31.  
  32. // Mail server preferences, pop by default
  33. pref("mail.server_type",    0);     // 0 pop, 1 imap,
  34.                     // (Unix only:)
  35.                     // 2 movemail, 3 inbox          
  36. pref("mail.auth_login", true);
  37.  
  38. pref("mail.default_drafts", "");    // empty string use default Drafts name;
  39. pref("mail.default_templates", ""); // empty string use default Templates name
  40.  
  41. pref("mail.imap.server_sub_directory",      "");
  42. pref("mail.imap.max_cached_connections",    10);
  43. pref("mail.imap.fetch_by_chunks",           true);
  44. pref("mail.imap.chunk_size",                10240);
  45. pref("mail.imap.min_chunk_size_threshold",  15360);
  46. pref("mail.imap.max_chunk_size",            40960);
  47. pref("mail.imap.chunk_fast",                2);
  48. pref("mail.imap.chunk_ideal",               4);
  49. pref("mail.imap.chunk_add",                 2048);
  50. pref("mail.imap.hide_other_users",          false);
  51. pref("mail.imap.hide_unused_namespaces",    true);
  52. pref("mail.imap.new_mail_get_headers",      true);
  53. pref("mail.imap.auto_unsubscribe_from_noselect_folders",    true);
  54. pref("mail.imap.cleanup_inbox_on_exit",     false);
  55. pref("mail.imap.mime_parts_on_demand",      true);
  56. pref("mail.imap.mime_parts_on_demand_max_depth", 15);
  57. pref("mail.imap.mime_parts_on_demand_threshold", 30000);
  58. pref("mail.thread_without_re",                true);
  59. pref("mail.leave_on_server",                false);
  60. pref("mail.default_cc",                     "");
  61. pref("mail.default_fcc",                    ""); // maibox:URL or Imap://Host/OnLineFolderName
  62. pref("mail.check_new_mail",                 false);
  63. pref("mail.pop3_gets_new_mail",             false);
  64. pref("mail.check_time",                     10);
  65. pref("mail.pop_name",                       "");
  66. pref("mail.remember_password",              false);
  67. pref("mail.pop_password",                   "");
  68. pref("mail.auto_quote",                     true);
  69. pref("mail.fixed_width_messages",           true);
  70. pref("mail.citation_color",                 ""); // quoted color
  71. pref("mail.quoted_style",                   0); // 0=plain, 1=bold, 2=italic, 3=bolditalic
  72. pref("mail.quoted_size",                    0); // 0=normal, 1=big, 2=small
  73. pref("mail.quoted_graphical",               true); // use HTML-style quoting for displaying plain text
  74. pref("mail.quoteasblock",                   true); // use HTML-style quoting for quoting plain text
  75. pref("mail.identity.organization",          "");
  76. pref("mail.identity.reply_to",              "");
  77. pref("mail.identity.username",              "");
  78. pref("mail.identity.useremail",             "");
  79. pref("mail.use_fcc",                        true);
  80. pref("mail.cc_self",                        false);
  81. pref("mail.strictly_mime",                  false);
  82. pref("mail.strictly_mime_headers",          true);
  83. pref("mail.file_attach_binary",             false);
  84. pref("mail.show_headers",                   1); // some
  85. pref("mail.pane_config",                    0);
  86. pref("mail.addr_book.lastnamefirst", 0); //0=displayname, 1=lastname first, 2=firstname first
  87. pref("mail.addr_book.displayName.autoGeneration", true);
  88. pref("mail.addr_book.displayName.lastnamefirst", false); // generate display names in last first order
  89. pref("mail.attach_vcard",                   false);
  90. pref("mail.html_compose",                   true);
  91. pref("mail.compose.other.header",        "");
  92. localDefPref("mail.fcc_folder",                     "");
  93. pref("mail.encrypt_outgoing_mail",          false);
  94. pref("mail.crypto_sign_outgoing_mail",      false);
  95. pref("mail.default_html_action", 0);    // 0=ask, 1=plain, 2=html, 3=both
  96. pref("mail.smtp.ssl",                       0); // 0 = no, 1 = try, 2 = must use SSL
  97. pref("mail.mdn.report.not_in_to_cc", 0);      // 0: Never 1: Always 2: Ask me
  98. pref("mail.mdn.report.outside_domain", 2);    // 0: Never 1: Always 2: Ask me
  99. pref("mail.mdn.report.other", 2);   // 0: Never 1: Always 2: Ask me 3: Denial
  100. pref("mail.incorporate.return_receipt", 1); // 0: inbox/filter 1: Sent folder
  101. pref("mail.request.return_receipt", 2);     // 1: DSN 2: MDN 3: Both
  102. pref("mail.receipt.request_header_type", 0); // 0: MDN-DNT header  1: RRT header 2: Both (MC)
  103.  
  104. pref("news.default_cc",                     "");
  105. pref("news.default_fcc",                    ""); // mailbox:URL or Imap://Host/OnlineFolderName
  106. pref("news.use_fcc",                        true);
  107. pref("news.cc_self",                        false);
  108. pref("news.fcc_folder",                     "");
  109. pref("news.notify.on",                      true);
  110. pref("news.max_articles",                   500);
  111. pref("news.mark_old_read",                  false);
  112.  
  113. pref("mailnews.wraplength",                 72);
  114.  
  115. pref("mailnews.reply_on_top",               0); // 0=bottom 1=top 2=select+bottom 3=select+top
  116.  
  117. // 0=no header, 1="<author> wrote:", 2="On <date> <author> wrote:", 3=user specified
  118. pref("mailnews.reply_header_type",          1);
  119.  
  120. pref("mail.purge_threshhold",                100);
  121. pref("mail.prompt_purge_threshhold",             false);   
  122.  
  123. pref("mailnews.offline_sync_mail",         false);
  124. pref("mailnews.offline_sync_news",         false);
  125. pref("mailnews.offline_sync_send_unsent",  true);
  126. pref("mailnews.offline_sync_work_offline", false);   
  127. pref("mailnews.force_ascii_search",         false);
  128. pref("mailnews.autolookup_unknown_mime_types",  true);
  129.  
  130. pref("mailnews.send_default_charset",       "chrome://messenger/locale/messenger.properties");
  131. pref("mailnews.view_default_charset",       "chrome://messenger/locale/messenger.properties");
  132. pref("mailnews.force_charset_override",     false);
  133.  
  134. pref("mailnews.language_sensitive_font",    true);
  135.  
  136. pref("offline.news.download.unread_only",   true);
  137. pref("offline.news.download.by_date",       true);
  138. pref("offline.news.download.use_days",      false);
  139. pref("offline.news.download.days",          30);    // days
  140. pref("offline.news.download.increments",    3); // 0-yesterday, 1-1 wk ago, 2-2 wk ago,
  141.                                                 // 3-1 month ago, 4-6 month ago, 5-1 year ago
  142.  
  143. pref("ldap_1.number_of_directories", 6);
  144.  
  145. pref("ldap_1.directory1.description", "Personal Address Book");
  146. pref("ldap_1.directory1.dirType", 2);
  147. pref("ldap_1.directory1.isOffline", false);
  148.  
  149. pref("ldap_1.directory2.description", "Four11 Directory");
  150. pref("ldap_1.directory2.serverName", "ldap.four11.com");
  151.  
  152. pref("ldap_1.directory3.description", "InfoSpace Directory");
  153. pref("ldap_1.directory3.serverName", "ldap.infospace.com");
  154.  
  155. pref("ldap_1.directory4.description", "WhoWhere Directory");
  156. pref("ldap_1.directory4.serverName", "ldap.whowhere.com");
  157.  
  158. pref("ldap_1.directory5.description", "Bigfoot Directory");
  159. pref("ldap_1.directory5.serverName", "ldap.bigfoot.com");
  160.  
  161. pref("ldap_1.directory6.description", "Switchboard Directory");
  162. pref("ldap_1.directory6.serverName", "ldap.switchboard.com");
  163. pref("ldap_1.directory6.searchBase", "c=US");
  164. pref("ldap_1.directory6.attributes.telephoneNumber", "Phone Number:homephone");
  165. pref("ldap_1.directory6.attributes.street", "State:st");
  166. pref("ldap_1.directory6.filter1.repeatFilterForWords", false);
  167.  
  168. pref("ldap_2.autoComplete.interval",                            650);
  169. pref("ldap_2.autoComplete.enabled",                                true);
  170. pref("ldap_2.autoComplete.useDirectory", false);
  171. pref("ldap_2.autoComplete.skipDirectoryIfLocalMatchFound", true);
  172. pref("ldap_2.autoComplete.directoryServer", "");
  173.  
  174. pref("ldap_2.servers.pab.position",                                1);
  175. pref("ldap_2.servers.pab.description",                            "chrome://messenger/locale/addressbook/addressBook.properties");
  176. pref("ldap_2.servers.pab.dirType",                                2);
  177. pref("ldap_2.servers.pab.isOffline",                            false);
  178.  
  179. pref("ldap_2.servers.history.position",                            2);
  180. pref("ldap_2.servers.history.description",                        "chrome://messenger/locale/addressbook/addressBook.properties");
  181. pref("ldap_2.servers.history.dirType",                            2);
  182. pref("ldap_2.servers.history.isOffline",                        false);
  183.  
  184.  
  185. // A position of zero is a special value that indicates the directory is deleted.
  186. // These entries are provided to keep the (obsolete) Four11 directory and the
  187. // WhoWhere, Bigfoot and Switchboard directories from being migrated.
  188. pref("ldap_2.servers.four11.position",                        0);
  189. pref("ldap_2.servers.four11.description",                        "Four11 Directory");
  190. pref("ldap_2.servers.four11.serverName",                        "ldap.four11.com");
  191.  
  192. pref("ldap_2.servers.whowhere.position",                        0);             
  193. pref("ldap_2.servers.whowhere.description",                        "WhoWhere Directory");
  194. pref("ldap_2.servers.whowhere.serverName",                        "ldap.whowhere.com");
  195.  
  196. pref("ldap_2.servers.bigfoot.position",                            0);             
  197. pref("ldap_2.servers.bigfoot.description",                        "Bigfoot Directory");
  198. pref("ldap_2.servers.bigfoot.serverName",                       "ldap.bigfoot.com");
  199.                                                                                  
  200. pref("ldap_2.servers.switchboard.position",                        0);             
  201. pref("ldap_2.servers.switchboard.description",                    "Switchboard Directory");
  202. pref("ldap_2.servers.switchboard.serverName",                    "ldap.switchboard.com");
  203.  
  204. pref("ldap_2.user_id",                                            0);
  205. pref("ldap_2.version",                                            3); /* Update kCurrentListVersion in include/dirprefs.h if you change this */
  206. pref("ldap_2.prefs_migrated",      false);
  207.  
  208. pref("mailnews.confirm.moveFoldersToTrash", true);
  209.  
  210. pref("mailnews.start_page.url", "chrome://messenger-region/locale/region.properties");
  211. pref("mailnews.start_page.enabled", true);
  212.  
  213. pref("mailnews.account_central_page.url", "chrome://messenger/locale/messenger.properties");
  214.  
  215. /* default prefs for Mozilla 5.0 */
  216. pref("mail.identity.default.compose_html", true);
  217. pref("mail.identity.default.valid", true);
  218. pref("mail.identity.default.fcc",true);
  219. pref("mail.identity.default.fcc_folder","mailbox://nobody@Local%20Folders/Sent");
  220. pref("mail.identity.default.bcc_self",false);
  221. pref("mail.identity.default.bcc_others",false);
  222. pref("mail.identity.default.bcc_list","");
  223. pref("mail.identity.default.draft_folder","mailbox://nobody@Local%20Folders/Drafts");
  224. pref("mail.identity.default.stationery_folder","mailbox://nobody@Local%20Folders/Templates");
  225. pref("mail.identity.default.directoryServer","");
  226. pref("mail.identity.default.overrideGlobal_Pref", false);
  227.  
  228.  
  229. pref("mail.collect_email_address_incoming", true);
  230. pref("mail.collect_email_address_outgoing", true);
  231. pref("mail.collect_email_address_newsgroup", false);
  232. pref("mail.collect_email_address_enable_size_limit", true);
  233. pref("mail.collect_email_address_size_limit", 700);
  234. pref("mail.default_sendlater_uri","mailbox://nobody@Local%20Folders/Unsent%20Messages");
  235.  
  236. pref("mail.server.default.port", -1);
  237. pref("mail.server.default.offline_support_level", -1);
  238. pref("mail.server.default.leave_on_server", false);
  239. pref("mail.server.default.download_on_biff", false);
  240. pref("mail.server.default.check_time", 10);
  241. // "mail.server.default.check_new_mail" now lives in the protocol info
  242. pref("mail.server.default.dot_fix", true);
  243. pref("mail.server.default.limit_offline_message_size", false);
  244. pref("mail.server.default.max_size", 50);
  245. pref("mail.server.default.auth_login", true);
  246. pref("mail.server.default.delete_mail_left_on_server", false);
  247. pref("mail.server.default.valid", true);
  248. pref("mail.server.default.abbreviate",true);
  249. pref("mail.server.default.isSecure", false);
  250. pref("mail.server.default.override_namespaces", true);
  251.  
  252. pref("mail.server.default.delete_model", 1);
  253. pref("mail.server.default.fetch_by_chunks", true);
  254. pref("mail.server.default.mime_parts_on_demand", true);
  255.  
  256. pref("mail.server.default.always_authenticate",false);
  257. pref("mail.server.default.max_articles", 500);
  258. pref("mail.server.default.notify.on", true);
  259. pref("mail.server.default.mark_old_read", false);
  260. pref("mail.server.default.empty_trash_on_exit", false);
  261.  
  262. pref("mail.server.default.using_subscription", true);
  263. pref("mail.server.default.dual_use_folders", true);
  264. pref("mail.server.default.canDelete", false);
  265. pref("mail.server.default.login_at_startup", false);
  266. pref("mail.server.default.allows_specialfolders_usage", true);
  267. pref("mail.server.default.canCreateFolders", true);
  268. pref("mail.server.default.canFileMessages", true);
  269.  
  270. pref("mail.smtpserver.default.auth_method", 1); // auth any
  271. pref("mail.smtpserver.default.try_ssl", 0);
  272.  
  273. pref("mail.display_glyph", true);   // see <http://www.bucksch.org/1/projects/mozilla/16507>
  274. pref("mail.display_struct", true);  // ditto
  275. pref("mail.send_struct", false);   // ditto
  276.  
  277. pref("mail.forward_message_mode", 0); // 0=default as attachment 2=forward as inline with attachments, (obsolete 4.x value)1=forward as quoted (mapped to 2 in mozilla)
  278.  
  279. pref("mail.startup.enabledMailCheckOnce", false);
  280.  
  281. pref("mailnews.max_header_display_length",3); // number of addresses to show
  282.  
  283. pref("messenger.throbber.url","chrome://messenger-region/locale/region.properties");
  284. pref("compose.throbber.url","chrome://messenger-region/locale/region.properties");
  285. pref("addressbook.throbber.url","chrome://messenger-region/locale/region.properties");
  286.  
  287. pref("mailnews.send_plaintext_flowed", true); // RFC 2646=======
  288. pref("mailnews.display.disable_format_flowed_support", false);
  289. pref("mailnews.nav_crosses_folders", 1); // prompt user when crossing folders
  290.  
  291. // these two news.cancel.* prefs are for use by QA for automated testing.  see bug #31057
  292. pref("news.cancel.confirm",true);
  293. pref("news.cancel.alert_on_success",true);
  294. pref("mail.SpellCheckBeforeSend",false);
  295. pref("mail.enable_autocomplete",true);
  296. pref("mailnews.html_domains","");
  297. pref("mailnews.plaintext_domains","");
  298.  
  299. // the ui will eventually use these three prefs:
  300. pref("mail.biff.play_sound",true);
  301. pref("mail.biff.use_default_sound",true);
  302. pref("mail.biff.sound_file","");
  303. // must be an URL.  (provide this back door for mac users, until we have a UI
  304. pref("mail.biff.default_sound_url","");
  305.  
  306. pref("mail.content_disposition_type", 0);
  307.  
  308. pref("mailnews.show_send_progress", true); //Will show a progress dialog when saving or sending a message
  309. pref("mail.server.default.retainBy", 1);
  310.  
  311. // for manual upgrades of certain UI features.
  312. // 1 -> 2 is for the folder pane outliner landing, to hide the
  313. // unread and total columns, see msgMail3PaneWindow.js
  314. pref("mail.ui.folderpane.version", 1);
  315.