home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 October / PCWorld_2003-10_cd.bin / Komunik / Thunderbird / thunderbird-0.2-win32.exe / thunderbird / defaults / pref / mailnews.js < prev    next >
Text File  |  2003-09-01  |  26KB  |  507 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Netscape Public License
  6.  * Version 1.1 (the "License"); you may not use this file except in
  7.  * compliance with the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/NPL/
  9.  *
  10.  * Software distributed under the License is distributed on an "AS IS" basis,
  11.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.  * for the specific language governing rights and limitations under the
  13.  * License.
  14.  *
  15.  * The Original Code is mozilla.org code.
  16.  *
  17.  * The Initial Developer of the Original Code is 
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the NPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the NPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. // this is a hidden preference setting, see bugzilla bug 80035
  39. // (http://bugzilla.mozilla.org/show_bug.cgi?id=80035)
  40. //
  41. // the default value for this setting is true which means when migrating from
  42. // Netscape 4.x, mozilla will copy all the contents of Local Folders and Imap
  43. // Folder to the newly created subfolders of migrated mozilla profile
  44. // when this value is set to false, mozilla will not copy these contents and
  45. // still share them with Netscape 4.x
  46. //
  47. // Advantages of forbidding copy operation:
  48. //     reduce the disk usage
  49. //     quick migration
  50. // Disadvantage of forbidding copy operation:
  51. //     without perfect lock mechamism, there is possibility of data corruption
  52. //     when Netscape 4.x and mozilla run at the same time and access the same
  53. //     mail file at the same time
  54. pref("mail.migration.copyMailFiles", true);
  55.  
  56. // pref defined by stand alone mail apps
  57. pref("mail.standalone", true);
  58.  
  59. //mailnews.timeline_is_enabled should be set to true ONLY for perf measurement-timeline builds.
  60. pref("mailnews.timeline_is_enabled", false);
  61.  
  62. pref("mailnews.logComposePerformance", false);
  63.  
  64. pref("mail.wrap_long_lines",                true);
  65. pref("news.wrap_long_lines",                true);
  66. pref("mail.inline_attachments",             true);
  67. pref("mailnews.auto_unzip_saved_attachments", false);
  68.  
  69. // hidden pref for controlling if the user agent string
  70. // is displayed in the message pane or not...
  71. pref("mailnews.headers.showUserAgent",       false);
  72.  
  73. // hidden pref for changing how we present attachments in the message pane
  74. pref("mailnews.attachments.display.largeView", false);
  75.  
  76. // hidden pref for controlling if the organization string
  77. // is displayed in the message pane or not...
  78. pref("mailnews.headers.showOrganization",    false);
  79.  
  80. // Mail server preferences, pop by default
  81. pref("mail.server_type",    0);     // 0 pop, 1 imap,
  82.                     // (Unix only:)
  83.                     // 2 movemail, 3 inbox          
  84. pref("mail.auth_login", true);
  85.  
  86. pref("mail.default_drafts", "");    // empty string use default Drafts name;
  87. pref("mail.default_templates", ""); // empty string use default Templates name
  88.  
  89. pref("mail.imap.server_sub_directory",      "");
  90. pref("mail.imap.max_cached_connections",    10);
  91. pref("mail.imap.fetch_by_chunks",           true);
  92. pref("mail.imap.chunk_size",                10240);
  93. pref("mail.imap.min_chunk_size_threshold",  15360);
  94. pref("mail.imap.max_chunk_size",            40960);
  95. pref("mail.imap.chunk_fast",                2);
  96. pref("mail.imap.chunk_ideal",               4);
  97. pref("mail.imap.chunk_add",                 2048);
  98. pref("mail.imap.hide_other_users",          false);
  99. pref("mail.imap.hide_unused_namespaces",    true);
  100. pref("mail.imap.new_mail_get_headers",      true);
  101. pref("mail.imap.auto_unsubscribe_from_noselect_folders",    true);
  102. pref("mail.imap.cleanup_inbox_on_exit",     false);
  103. pref("mail.imap.mime_parts_on_demand",      true);
  104. pref("mail.imap.mime_parts_on_demand_max_depth", 15);
  105. pref("mail.imap.mime_parts_on_demand_threshold", 30000);
  106. pref("mail.thread_without_re",                true);
  107. pref("mail.leave_on_server",                true);
  108. pref("mail.default_cc",                     "");
  109. pref("mail.default_fcc",                    ""); // maibox:URL or Imap://Host/OnLineFolderName
  110. pref("mail.check_new_mail",                 false);
  111. pref("mail.pop3_gets_new_mail",             false);
  112. pref("mail.check_time",                     10);
  113. pref("mail.pop_name",                       "");
  114. pref("mail.remember_password",              false);
  115. pref("mail.pop_password",                   "");
  116. pref("mail.fixed_width_messages",           true);
  117. pref("mail.citation_color",                 ""); // quoted color
  118. pref("mail.quoted_style",                   0); // 0=plain, 1=bold, 2=italic, 3=bolditalic
  119. pref("mail.quoted_size",                    0); // 0=normal, 1=big, 2=small
  120. pref("mail.quoted_graphical",               true); // use HTML-style quoting for displaying plain text
  121. pref("mail.quoteasblock",                   true); // use HTML-style quoting for quoting plain text
  122. pref("mail.identity.organization",          "");
  123. pref("mail.identity.reply_to",              "");
  124. pref("mail.identity.username",              "");
  125. pref("mail.identity.useremail",             "");
  126. pref("mail.use_fcc",                        true);
  127. pref("mail.cc_self",                        false);
  128. pref("mail.strictly_mime",                  false);
  129. pref("mail.strictly_mime_headers",          true);
  130. pref("mail.file_attach_binary",             false);
  131. pref("mail.show_headers",                   1); // some
  132. pref("mail.pane_config",                    0);
  133. pref("mail.pane_config.dynamic",            0); // new pref used for dynamic pane configuration
  134. pref("mail.addr_book.mapit_url.format", "chrome://messenger-region/locale/region.properties");
  135.  
  136. // the format for "mail.addr_book.quicksearchquery.format" is:
  137. // @V == the escaped value typed in the quick search bar in the addressbook
  138. //
  139. // note, changing this might require a change to SearchNameOrEmail.label
  140. // in messenger.dtd
  141. pref("mail.addr_book.quicksearchquery.format", "chrome://messenger/locale/messenger.properties");
  142.  
  143. // values for "mail.addr_book.lastnamefirst" are:
  144. //0=displayname, 1=lastname first, 2=firstname first
  145. pref("mail.addr_book.lastnamefirst", 0); 
  146. pref("mail.addr_book.displayName.autoGeneration", true);
  147. pref("mail.addr_book.displayName.lastnamefirst", "chrome://messenger/locale/messenger.properties");
  148. pref("mail.addr_book.show_phonetic_fields", "chrome://messenger/locale/messenger.properties");
  149. pref("mail.attach_vcard",                   false);
  150. pref("mail.html_compose",                   true);
  151. // you can specify one, option header
  152. // this will show up in the address picker in the compose window
  153. // examples: "X-Face" or "Approved"
  154. pref("mail.compose.other.header",        "");
  155. pref("mail.fcc_folder",                     "");
  156. pref("mail.encrypt_outgoing_mail",          false);
  157. pref("mail.crypto_sign_outgoing_mail",      false);
  158. pref("mail.default_html_action", 0);          // 0=ask, 1=plain, 2=html, 3=both
  159. pref("mail.smtp.ssl",0);                      // 0 = no, 1 = try, 2 = must use SSL
  160.  
  161. pref("mail.mdn.report.not_in_to_cc", 2);               // 0: Never 1: Always 2: Ask me
  162. pref("mail.mdn.report.outside_domain", 2);             // 0: Never 1: Always 2: Ask me
  163. pref("mail.mdn.report.other", 2);                      // 0: Never 1: Always 2: Ask me 3: Denial
  164.  
  165. pref("mail.incorporate.return_receipt", 0);            // 0: Inbox/filter 1: Sent folder
  166. pref("mail.request.return_receipt", 2);                // 1: DSN 2: MDN 3: Both
  167. pref("mail.receipt.request_header_type", 0);           // 0: MDN-DNT header  1: RRT header 2: Both (MC)
  168. pref("mail.receipt.request_return_receipt_on", false);
  169. pref("mail.mdn.report.enabled", true);                 // false: Never send true: Send sometimes
  170.  
  171. pref("news.default_cc",                     "");
  172. pref("news.default_fcc",                    ""); // mailbox:URL or Imap://Host/OnlineFolderName
  173. pref("news.use_fcc",                        true);
  174. pref("news.cc_self",                        false);
  175. pref("news.fcc_folder",                     "");
  176. pref("news.notify.on",                      true);
  177. pref("news.max_articles",                   500);
  178. pref("news.mark_old_read",                  false);
  179.  
  180. pref("mailnews.wraplength",                 72);
  181. pref("mail.compose.wrap_to_window_width",   false);
  182.  
  183. // 0=no header, 1="<author> wrote:", 2="On <date> <author> wrote:", 3="<author> wrote On <date>:", 4=user specified
  184. pref("mailnews.reply_header_type",          1);
  185. // locale which affects date format, set empty string to use application default locale
  186. pref("mailnews.reply_header_locale",        "");
  187. pref("mailnews.reply_header_authorwrote",   "chrome://messenger/locale/messengercompose/composeMsgs.properties");
  188. pref("mailnews.reply_header_ondate",        "On %s");
  189. // separator to separate between date and author
  190. pref("mailnews.reply_header_separator",     ", ");
  191. pref("mailnews.reply_header_colon",         ":");
  192. pref("mailnews.reply_header_originalmessage",   "chrome://messenger/locale/messengercompose/composeMsgs.properties");
  193.  
  194. pref("mail.purge_threshhold",                100);
  195. pref("mail.prompt_purge_threshhold",             false);   
  196.  
  197. pref("mailnews.offline_sync_mail",         false);
  198. pref("mailnews.offline_sync_news",         false);
  199. pref("mailnews.offline_sync_send_unsent",  true);
  200. pref("mailnews.offline_sync_work_offline", false);   
  201. pref("mailnews.force_ascii_search",         false);
  202. pref("mailnews.autolookup_unknown_mime_types",  true);
  203.  
  204. pref("mailnews.send_default_charset",       "chrome://messenger/locale/messenger.properties");
  205. pref("mailnews.view_default_charset",       "chrome://messenger/locale/messenger.properties");
  206. pref("mailnews.force_charset_override",     false);
  207.  
  208. pref("mailnews.search_date_format",        "chrome://messenger/locale/messenger.properties");
  209. pref("mailnews.search_date_separator",     "chrome://messenger/locale/messenger.properties");
  210.  
  211. pref("mailnews.language_sensitive_font",    true);
  212.  
  213. pref("mailnews.quotingPrefs.version",       0);  // used to decide whether to migrate global quoting prefs
  214.  
  215. pref("offline.news.download.unread_only",   true);
  216. pref("offline.news.download.by_date",       true);
  217. pref("offline.news.download.days",          30);    // days
  218. pref("offline.news.download.increments",    3); // 0-yesterday, 1-1 wk ago, 2-2 wk ago,
  219.                                                 // 3-1 month ago, 4-6 month ago, 5-1 year ago
  220.  
  221. pref("ldap_1.number_of_directories", 6);
  222.  
  223. pref("ldap_1.directory1.description", "Personal Address Book");
  224. pref("ldap_1.directory1.dirType", 2);
  225. pref("ldap_1.directory1.isOffline", false);
  226.  
  227. pref("ldap_1.directory2.description", "Four11 Directory");
  228. pref("ldap_1.directory2.serverName", "ldap.four11.com");
  229.  
  230. pref("ldap_1.directory3.description", "InfoSpace Directory");
  231. pref("ldap_1.directory3.serverName", "ldap.infospace.com");
  232.  
  233. pref("ldap_1.directory4.description", "WhoWhere Directory");
  234. pref("ldap_1.directory4.serverName", "ldap.whowhere.com");
  235.  
  236. pref("ldap_1.directory5.description", "Bigfoot Directory");
  237. pref("ldap_1.directory5.serverName", "ldap.bigfoot.com");
  238.  
  239. pref("ldap_1.directory6.description", "Switchboard Directory");
  240. pref("ldap_1.directory6.serverName", "ldap.switchboard.com");
  241. pref("ldap_1.directory6.searchBase", "c=US");
  242. pref("ldap_1.directory6.attributes.telephoneNumber", "Phone Number:homephone");
  243. pref("ldap_1.directory6.attributes.street", "State:st");
  244. pref("ldap_1.directory6.filter1.repeatFilterForWords", false);
  245.  
  246. pref("ldap_2.autoComplete.interval", 650);
  247. pref("ldap_2.autoComplete.enabled", true);
  248. pref("ldap_2.autoComplete.useDirectory", false);
  249. pref("ldap_2.autoComplete.useAddressBooks", true);
  250. pref("ldap_2.autoComplete.skipDirectoryIfLocalMatchFound", true);
  251. pref("ldap_2.autoComplete.directoryServer", "");
  252.  
  253. pref("ldap_2.servers.pab.position",                                1);
  254. pref("ldap_2.servers.pab.description",                            "chrome://messenger/locale/addressbook/addressBook.properties");
  255. pref("ldap_2.servers.pab.dirType",                                2);
  256. pref("ldap_2.servers.pab.isOffline",                            false);
  257.  
  258. pref("ldap_2.servers.history.position",                            2);
  259. pref("ldap_2.servers.history.description",                        "chrome://messenger/locale/addressbook/addressBook.properties");
  260. pref("ldap_2.servers.history.dirType",                            2);
  261. pref("ldap_2.servers.history.isOffline",                        false);
  262.  
  263.  
  264. // A position of zero is a special value that indicates the directory is deleted.
  265. // These entries are provided to keep the (obsolete) Four11 directory and the
  266. // WhoWhere, Bigfoot and Switchboard directories from being migrated.
  267. pref("ldap_2.servers.four11.position",                        0);
  268. pref("ldap_2.servers.four11.description",                        "Four11 Directory");
  269. pref("ldap_2.servers.four11.serverName",                        "ldap.four11.com");
  270.  
  271. pref("ldap_2.servers.whowhere.position",                        0);             
  272. pref("ldap_2.servers.whowhere.description",                        "WhoWhere Directory");
  273. pref("ldap_2.servers.whowhere.serverName",                        "ldap.whowhere.com");
  274.  
  275. pref("ldap_2.servers.bigfoot.position",                            0);             
  276. pref("ldap_2.servers.bigfoot.description",                        "Bigfoot Directory");
  277. pref("ldap_2.servers.bigfoot.serverName",                       "ldap.bigfoot.com");
  278.                                                                                  
  279. pref("ldap_2.servers.switchboard.position",                        0);             
  280. pref("ldap_2.servers.switchboard.description",                    "Switchboard Directory");
  281. pref("ldap_2.servers.switchboard.serverName",                    "ldap.switchboard.com");
  282.  
  283. pref("ldap_2.user_id",                                            0);
  284. pref("ldap_2.version",                                            3); /* Update kCurrentListVersion in include/dirprefs.h if you change this */
  285. pref("ldap_2.prefs_migrated",      false);
  286.  
  287. pref("mailnews.confirm.moveFoldersToTrash", true);
  288.  
  289. pref("mailnews.reuse_message_window", true);
  290.  
  291. pref("mailnews.start_page.url", "chrome://messenger-region/locale/region.properties");
  292. pref("mailnews.start_page.enabled", true);
  293.  
  294. pref("mailnews.remember_selected_message", true);
  295. pref("mailnews.thread_pane_column_unthreads", true);
  296.  
  297. pref("mailnews.account_central_page.url", "chrome://messenger/locale/messenger.properties");
  298.  
  299. /* default prefs for Mozilla 5.0 */
  300. pref("mail.identity.default.compose_html", true);
  301. pref("mail.identity.default.valid", true);
  302. pref("mail.identity.default.fcc",true);
  303. pref("mail.identity.default.fcc_folder","mailbox://nobody@Local%20Folders/Sent");
  304. pref("mail.identity.default.bcc_self",false);
  305. pref("mail.identity.default.bcc_others",false);
  306. pref("mail.identity.default.bcc_list","");
  307. pref("mail.identity.default.draft_folder","mailbox://nobody@Local%20Folders/Drafts");
  308. pref("mail.identity.default.stationery_folder","mailbox://nobody@Local%20Folders/Templates");
  309. pref("mail.identity.default.directoryServer","");
  310. pref("mail.identity.default.overrideGlobal_Pref", false);
  311. pref("mail.identity.default.auto_quote", true);
  312. pref("mail.identity.default.reply_on_top", 0); // 0=bottom 1=top 2=select
  313.  
  314. // by default, only collect addresses the user sends to (outgoing)
  315. // incoming is all spam anyways
  316. pref("mail.collect_email_address_incoming", false);
  317. pref("mail.collect_email_address_outgoing", true);
  318. pref("mail.collect_email_address_newsgroup", false);
  319.  
  320. // by default, use the Personal Addressbook for collection
  321. pref("mail.collect_addressbook","moz-abmdbdirectory://abook.mab"); // the Personal addressbook.
  322.  
  323. pref("mail.default_sendlater_uri","mailbox://nobody@Local%20Folders/Unsent%20Messages");
  324.  
  325. pref("mail.server.default.port", -1);
  326. pref("mail.server.default.offline_support_level", -1);
  327. pref("mail.server.default.leave_on_server", true);
  328. pref("mail.server.default.download_on_biff", false);
  329. pref("mail.server.default.check_time", 10);
  330. // "mail.server.default.check_new_mail" now lives in the protocol info
  331. pref("mail.server.default.dot_fix", true);
  332. pref("mail.server.default.limit_offline_message_size", false);
  333. pref("mail.server.default.max_size", 50);
  334. pref("mail.server.default.auth_login", true);
  335. pref("mail.server.default.delete_mail_left_on_server", false);
  336. pref("mail.server.default.valid", true);
  337. pref("mail.server.default.abbreviate",true);
  338. pref("mail.server.default.isSecure", false);
  339. pref("mail.server.default.useSecAuth", false);
  340. pref("mail.server.default.override_namespaces", true);
  341.  
  342. pref("mail.server.default.delete_model", 1);
  343. pref("mail.server.default.fetch_by_chunks", true);
  344. pref("mail.server.default.mime_parts_on_demand", true);
  345.  
  346. pref("mail.server.default.always_authenticate",false);
  347. pref("mail.server.default.max_articles", 500);
  348. pref("mail.server.default.notify.on", true);
  349. pref("mail.server.default.mark_old_read", false);
  350. pref("mail.server.default.empty_trash_on_exit", false);
  351.  
  352. pref("mail.server.default.using_subscription", true);
  353. pref("mail.server.default.dual_use_folders", true);
  354. pref("mail.server.default.canDelete", false);
  355. pref("mail.server.default.login_at_startup", false);
  356. pref("mail.server.default.allows_specialfolders_usage", true);
  357. pref("mail.server.default.canCreateFolders", true);
  358. pref("mail.server.default.canFileMessages", true);
  359.  
  360. // special enhancements for IMAP servers
  361. pref("mail.server.default.store_read_mail_in_pfc", false);  
  362. pref("mail.server.default.store_sent_mail_in_pfc", false);  
  363.  
  364. // for spam
  365. pref("mail.server.default.spamLevel",0);  // 0 off, 100 on.  not doing bool since we might have real levels one day.
  366. pref("mail.server.default.moveOnSpam",false);
  367. pref("mail.server.default.moveTargetMode",0); // 0 == "Junk" on server, 1 == specific folder
  368. pref("mail.server.default.spamActionTargetAccount","");
  369. pref("mail.server.default.spamActionTargetFolder","");
  370. pref("mail.server.default.useWhiteList",true);
  371. pref("mail.server.default.whiteListAbURI","moz-abmdbdirectory://abook.mab");  // the Personal addressbook.
  372. pref("mail.server.default.purgeSpam",false);
  373. pref("mail.server.default.purgeSpamInterval",14); // 14 days
  374. pref("mail.server.default.spamLoggingEnabled",false);
  375. pref("mail.server.default.manualMark",false);
  376. pref("mail.server.default.manualMarkMode",0); // 0 == "move to junk folder", 1 = "delete"
  377.  
  378.  
  379. pref("mail.smtpserver.default.auth_method", 1); // auth any
  380. pref("mail.smtpserver.default.trySecAuth", true);
  381. pref("mail.smtpserver.default.try_ssl", 0);
  382.  
  383. // For the next 3 prefs, see <http://www.bucksch.org/1/projects/mozilla/16507>
  384. pref("mail.display_glyph", true);   // TXT->HTML :-) etc. in viewer
  385. pref("mail.display_struct", true);  // TXT->HTML *bold* etc. in viewer; ditto
  386. pref("mail.send_struct", false);   // HTML->HTML *bold* etc. during Send; ditto
  387. pref("mailnews.display.original_date", false);   // display date string from mail headers without interpreting
  388.  
  389. pref("mailnews.display.sanitizeJunkMail", true);
  390.  
  391. pref("mailnews.display.prefer_plaintext", false);  // Ignore HTML parts in multipart/alternative
  392. pref("mailnews.display.html_as", 0);  // How to display HTML parts. 0 = Render the sender's HTML; 1 = HTML->TXT->HTML; 2 = Show HTML source; 3 = Sanitize HTML
  393. pref("mailnews.display.html_sanitizer.allowed_tags", "html head title body p br div(lang,title) h1 h2 h3 h4 h5 h6 ul ol li(value,start,compact) dl dt dd blockquote(type,cite) pre noscript noframes strong em sub sup span(lang,title) acronym(title) abbr(title) del(title,cite,datetime) ins(title,cite,datetime) q(cite) a(href,name,title) img(alt,title,longdesc) base(href) area(alt) applet(alt) object(alt) var samp dfn address kbd code cite s strike tt b i table(align) caption tr(align,valign) td(rowspan,colspan,align,valign) th(rowspan,colspan,align,valign)");
  394. pref("mailnews.display.disallow_mime_handlers", 0);  /* Let only a few classes process incoming data. This protects from bugs (e.g. buffer overflows) and from security loopholes (e.g. allowing unchecked HTML in some obscure classes, although the user has html_as > 0).
  395. This option is mainly for the UI of html_as.
  396. 0 = allow all available classes
  397. 1 = Use hardcoded blacklist to avoid rendering (incoming) HTML
  398. 2 = ... and inline images
  399. 3 = ... and some other uncommon content types
  400. 100 = Use hardcoded whitelist to avoid even more bugs(buffer overflows).
  401.       This mode will limit the features available (e.g. uncommon
  402.       attachment types and inline images) and is for paranoid users.
  403. */
  404.  
  405. 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)
  406.  
  407. pref("mail.startup.enabledMailCheckOnce", false);
  408.  
  409. pref("mailnews.max_header_display_length",3); // number of addresses to show
  410.  
  411. pref("messenger.throbber.url","chrome://messenger-region/locale/region.properties");
  412. pref("mailnews.release_notes.url","chrome://messenger-region/locale/region.properties");
  413. pref("mailnews.hints_and_tips.url","chrome://messenger-region/locale/region.properties");
  414. pref("compose.throbber.url","chrome://messenger-region/locale/region.properties");
  415. pref("addressbook.throbber.url","chrome://messenger-region/locale/region.properties");
  416.  
  417. pref("mailnews.send_plaintext_flowed", true); // RFC 2646=======
  418. pref("mailnews.display.disable_format_flowed_support", false);
  419. pref("mailnews.nav_crosses_folders", 1); // prompt user when crossing folders
  420.  
  421. // these two news.cancel.* prefs are for use by QA for automated testing.  see bug #31057
  422. pref("news.cancel.confirm",true);
  423. pref("news.cancel.alert_on_success",true);
  424. pref("mail.SpellCheckBeforeSend",false);
  425. pref("mail.warn_on_send_accel_key", true);
  426. pref("mail.enable_autocomplete",true);
  427. pref("mailnews.html_domains","");
  428. pref("mailnews.plaintext_domains","");
  429. pref("mailnews.global_html_domains.version",1);
  430.  
  431. // Pref controlling the updates on the pre-configured accounts.
  432. // In order to add new pre-configured accounts (after a version),
  433. // increase the following version number besides updating the
  434. // pref mail.accountmanager.appendaccounts 
  435. pref("mailnews.append_preconfig_accounts.version",1);
  436.  
  437. // Pref controlling the updates on the pre-configured smtp servers.
  438. // In order to add new pre-configured smtp servers (after a version),
  439. // increase the following version number besides updating the
  440. // pref mail.smtpservers.appendsmtpservers
  441. pref("mail.append_preconfig_smtpservers.version",1);
  442.  
  443. pref("mail.biff.play_sound",true);
  444. // 0 == default system sound, 1 == user specified wav
  445. pref("mail.biff.play_sound.type",0);
  446. // _moz_mailbeep is a magic key, for the default sound.
  447. // otherwise, this needs to be a file url
  448. pref("mail.biff.play_sound.url","");
  449. pref("mail.biff.show_alert", true);
  450.  
  451. pref("mail.content_disposition_type", 0);
  452.  
  453. pref("mailnews.show_send_progress", true); //Will show a progress dialog when saving or sending a message
  454. pref("mail.server.default.retainBy", 1);
  455. pref("mailnews.ui.junk.firstuse", true);
  456.  
  457. //If set to a number greater than 0, msg compose windows will be recycled in order to open them quickly
  458. pref("mail.compose.max_recycled_windows", 1); 
  459.  
  460. // true makes it so we persist the open state of news server when starting up the 3 pane
  461. // this is costly, as it might result in network activity.
  462. // false makes it so we act like 4.x
  463. // see bug #103010 for details
  464. pref("news.persist_server_open_state_in_folderpane",false);
  465.  
  466. // New color prefs for Labels
  467. pref("mailnews.labels.description.0", "chrome://messenger/locale/messenger.properties");
  468. pref("mailnews.labels.description.1", "chrome://messenger/locale/messenger.properties");
  469. pref("mailnews.labels.description.2", "chrome://messenger/locale/messenger.properties");
  470. pref("mailnews.labels.description.3", "chrome://messenger/locale/messenger.properties");
  471. pref("mailnews.labels.description.4", "chrome://messenger/locale/messenger.properties");
  472. pref("mailnews.labels.description.5", "chrome://messenger/locale/messenger.properties");
  473.  
  474. // mailews.labels.color.0 is not defined because there is no color associated with
  475. // this particular label.  It is defined above (mailnews.lables.description.0) because
  476. // its description string is required in order to prepend the accesskey '0':
  477. //   ie: '0 None'.
  478. pref("mailnews.labels.color.1", "#FF0000"); // default: red
  479. pref("mailnews.labels.color.2", "#FF9900"); // default: orange
  480. pref("mailnews.labels.color.3", "#009900"); // default: green
  481. pref("mailnews.labels.color.4", "#3333FF"); // default: blue
  482. pref("mailnews.labels.color.5", "#993399"); // default: purple
  483.  
  484. //default null headers
  485. //example "X-Warn: XReply", list of hdrs separated by ": "
  486. pref("mailnews.customHeaders", ""); 
  487.  
  488. pref("mailnews.fakeaccount.show", false);
  489. pref("mailnews.fakeaccount.server", "");
  490.  
  491. // message display properties
  492. pref("mailnews.message_display.disable_remote_image", false);
  493. pref("mailnews.message_display.allow.plugins", false);
  494.  
  495. // When there is no disclosed recipients (only bcc), we should address the message to empty group
  496. // to prevent some mail server to disclose the bcc recipients
  497. pref("mail.compose.add_undisclosed_recipients", true);
  498.  
  499. // "mail.purge.min_delay", never purge a junk folder more than once every 480 minutes (60 mins/hour * 8 hours)
  500. pref("mail.purge.min_delay",480);
  501. // "mail.purge.timer_interval", fire the purge timer every 5 minutes, starting 5 minutes after we load accounts
  502. pref("mail.purge.timer_interval",5);
  503. pref("mailnews.view.last",0); // 0 == "all" view
  504.  
  505. // require a password before showing imap or local headers in thread pane
  506. pref("mail.password_protect_local_cache", false);
  507.