home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / defaults / pref / mailnews.js < prev    next >
Encoding:
Text File  |  2004-02-07  |  27.6 KB  |  533 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",                false);
  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 multiple, option headers
  152. // this will show up in the address picker in the compose window
  153. // examples: "X-Face" or "Approved,X-No-Archive"
  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. pref("mail.identity.default.sig_bottom", true); // true=below quoted false=above quoted
  314.  
  315. // Headers to always add to outgoing mail
  316. // examples: "header1,header2"
  317. // pref("mail.identity.id1.headers", "header1");
  318. // user_pref("mail.identity.id1.header.header1", "X-Mozilla-Rocks: True")
  319. pref("mail.identity.default.headers", "");
  320.  
  321. // by default, only collect addresses the user sends to (outgoing)
  322. // incoming is all spam anyways
  323. pref("mail.collect_email_address_incoming", false);
  324. pref("mail.collect_email_address_outgoing", true);
  325. pref("mail.collect_email_address_newsgroup", false);
  326.  
  327. // by default, use the Personal Addressbook for collection
  328. pref("mail.collect_addressbook","moz-abmdbdirectory://abook.mab"); // the Personal addressbook.
  329.  
  330. pref("mail.default_sendlater_uri","mailbox://nobody@Local%20Folders/Unsent%20Messages");
  331.  
  332. pref("mail.server.default.port", -1);
  333. pref("mail.server.default.offline_support_level", -1);
  334. pref("mail.server.default.leave_on_server", false);
  335. pref("mail.server.default.download_on_biff", false);
  336. pref("mail.server.default.check_time", 10);
  337. pref("mail.server.default.delete_by_age_from_server", false);
  338. pref("mail.server.default.num_days_to_leave_on_server", 7);
  339. // "mail.server.default.check_new_mail" now lives in the protocol info
  340. pref("mail.server.default.dot_fix", true);
  341. pref("mail.server.default.limit_offline_message_size", false);
  342. pref("mail.server.default.max_size", 50);
  343. pref("mail.server.default.auth_login", true);
  344. pref("mail.server.default.delete_mail_left_on_server", false);
  345. pref("mail.server.default.valid", true);
  346. pref("mail.server.default.abbreviate",true);
  347. pref("mail.server.default.isSecure", false);
  348. pref("mail.server.default.useSecAuth", false);
  349. pref("mail.server.default.override_namespaces", true);
  350.  
  351. pref("mail.server.default.delete_model", 1);
  352. pref("mail.server.default.fetch_by_chunks", true);
  353. pref("mail.server.default.mime_parts_on_demand", true);
  354.  
  355. pref("mail.server.default.always_authenticate",false);
  356. pref("mail.server.default.singleSignon", true);
  357. pref("mail.server.default.max_articles", 500);
  358. pref("mail.server.default.notify.on", true);
  359. pref("mail.server.default.mark_old_read", false);
  360. pref("mail.server.default.empty_trash_on_exit", false);
  361.  
  362. pref("mail.server.default.using_subscription", true);
  363. pref("mail.server.default.dual_use_folders", true);
  364. pref("mail.server.default.canDelete", false);
  365. pref("mail.server.default.login_at_startup", false);
  366. pref("mail.server.default.allows_specialfolders_usage", true);
  367. pref("mail.server.default.canCreateFolders", true);
  368. pref("mail.server.default.canFileMessages", true);
  369.  
  370. // special enhancements for IMAP servers
  371. pref("mail.server.default.store_read_mail_in_pfc", false);  
  372. pref("mail.server.default.store_sent_mail_in_pfc", false);  
  373.  
  374. // for spam
  375. pref("mail.server.default.spamLevel",0);  // 0 off, 100 on.  not doing bool since we might have real levels one day.
  376. pref("mail.server.default.moveOnSpam",false);
  377. pref("mail.server.default.moveTargetMode",0); // 0 == "Junk" on server, 1 == specific folder
  378. pref("mail.server.default.spamActionTargetAccount","");
  379. pref("mail.server.default.spamActionTargetFolder","");
  380. pref("mail.server.default.useWhiteList",true);
  381. pref("mail.server.default.whiteListAbURI","moz-abmdbdirectory://abook.mab");  // the Personal addressbook.
  382. pref("mail.server.default.purgeSpam",false);
  383. pref("mail.server.default.purgeSpamInterval",14); // 14 days
  384. pref("mail.server.default.spamLoggingEnabled",false);
  385. pref("mail.server.default.manualMark",false);
  386. pref("mail.server.default.manualMarkMode",0); // 0 == "move to junk folder", 1 = "delete"
  387.  
  388.  
  389. pref("mail.smtpserver.default.auth_method", 1); // auth any
  390. pref("mail.smtpserver.default.trySecAuth", true);
  391. pref("mail.smtpserver.default.try_ssl", 0);
  392.  
  393. // For the next 3 prefs, see <http://www.bucksch.org/1/projects/mozilla/16507>
  394. pref("mail.display_glyph", true);   // TXT->HTML :-) etc. in viewer
  395. pref("mail.display_struct", true);  // TXT->HTML *bold* etc. in viewer; ditto
  396. pref("mail.send_struct", false);   // HTML->HTML *bold* etc. during Send; ditto
  397. pref("mailnews.display.original_date", false);   // display date string from mail headers without interpreting
  398.  
  399. pref("mailnews.display.sanitizeJunkMail", true);
  400.  
  401. pref("mailnews.display.prefer_plaintext", false);  // Ignore HTML parts in multipart/alternative
  402. 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
  403. pref("mailnews.display.html_sanitizer.allowed_tags", "html head title body p br div(lang,title) h1 h2 h3 h4 h5 h6 ul(type,compact) ol(type,compact,start) li(type,value) 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,src) 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)");
  404. 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).
  405. This option is mainly for the UI of html_as.
  406. 0 = allow all available classes
  407. 1 = Use hardcoded blacklist to avoid rendering (incoming) HTML
  408. 2 = ... and inline images
  409. 3 = ... and some other uncommon content types
  410. 100 = Use hardcoded whitelist to avoid even more bugs(buffer overflows).
  411.       This mode will limit the features available (e.g. uncommon
  412.       attachment types and inline images) and is for paranoid users.
  413. */
  414.  
  415. 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)
  416.  
  417. pref("mail.startup.enabledMailCheckOnce", false);
  418.  
  419. pref("mailnews.max_header_display_length",3); // number of addresses to show
  420.  
  421. pref("messenger.throbber.url","chrome://messenger-region/locale/region.properties");
  422. pref("mailnews.release_notes.url","chrome://messenger-region/locale/region.properties");
  423. pref("mailnews.hints_and_tips.url","chrome://messenger-region/locale/region.properties");
  424. pref("compose.throbber.url","chrome://messenger-region/locale/region.properties");
  425. pref("addressbook.throbber.url","chrome://messenger-region/locale/region.properties");
  426.  
  427. pref("mailnews.send_plaintext_flowed", true); // RFC 2646=======
  428. pref("mailnews.display.disable_format_flowed_support", false);
  429. pref("mailnews.nav_crosses_folders", 1); // prompt user when crossing folders
  430.  
  431. // these two news.cancel.* prefs are for use by QA for automated testing.  see bug #31057
  432. pref("news.cancel.confirm",true);
  433. pref("news.cancel.alert_on_success",true);
  434. pref("mail.SpellCheckBeforeSend",false);
  435. pref("mail.warn_on_send_accel_key", true);
  436. pref("mail.enable_autocomplete",true);
  437. pref("mailnews.html_domains","");
  438. pref("mailnews.plaintext_domains","");
  439. pref("mailnews.global_html_domains.version",1);
  440.  
  441. pref("mail.imap.use_status_for_biff", true);
  442.  
  443. // Pref controlling the updates on the pre-configured accounts.
  444. // In order to add new pre-configured accounts (after a version),
  445. // increase the following version number besides updating the
  446. // pref mail.accountmanager.appendaccounts 
  447. pref("mailnews.append_preconfig_accounts.version",1);
  448.  
  449. // Pref controlling the updates on the pre-configured smtp servers.
  450. // In order to add new pre-configured smtp servers (after a version),
  451. // increase the following version number besides updating the
  452. // pref mail.smtpservers.appendsmtpservers
  453. pref("mail.append_preconfig_smtpservers.version",1);
  454.  
  455. pref("mail.biff.play_sound",true);
  456. // 0 == default system sound, 1 == user specified wav
  457. pref("mail.biff.play_sound.type",0);
  458. // _moz_mailbeep is a magic key, for the default sound.
  459. // otherwise, this needs to be a file url
  460. pref("mail.biff.play_sound.url","");
  461. pref("mail.biff.show_alert", true);
  462.  
  463. pref("mail.content_disposition_type", 0);
  464.  
  465. pref("mailnews.show_send_progress", true); //Will show a progress dialog when saving or sending a message
  466. pref("mail.server.default.retainBy", 1);
  467. pref("mailnews.ui.junk.firstuse", true);
  468.  
  469. // for manual upgrades of certain UI features.
  470. // 1 -> 2 is for the thread pane tree landing, to hide the
  471. // labels column, see msgMail3PaneWindow.js
  472. // 2 -> 3 is for the junk status column
  473. // 3 -> 4 is for the sender column
  474. // 4 -> 5 is for the attachment column
  475. pref("mailnews.ui.threadpane.version", 1);
  476.  
  477. pref("mail.showFolderPaneColumns", false); // setting to true will allow total/unread/size columns
  478.  
  479. //If set to a number greater than 0, msg compose windows will be recycled in order to open them quickly
  480. pref("mail.compose.max_recycled_windows", 1); 
  481.  
  482. // true makes it so we persist the open state of news server when starting up the 3 pane
  483. // this is costly, as it might result in network activity.
  484. // false makes it so we act like 4.x
  485. // see bug #103010 for details
  486. pref("news.persist_server_open_state_in_folderpane",false);
  487.  
  488. // New color prefs for Labels
  489. pref("mailnews.labels.description.0", "chrome://messenger/locale/messenger.properties");
  490. pref("mailnews.labels.description.1", "chrome://messenger/locale/messenger.properties");
  491. pref("mailnews.labels.description.2", "chrome://messenger/locale/messenger.properties");
  492. pref("mailnews.labels.description.3", "chrome://messenger/locale/messenger.properties");
  493. pref("mailnews.labels.description.4", "chrome://messenger/locale/messenger.properties");
  494. pref("mailnews.labels.description.5", "chrome://messenger/locale/messenger.properties");
  495.  
  496. // mailews.labels.color.0 is not defined because there is no color associated with
  497. // this particular label.  It is defined above (mailnews.lables.description.0) because
  498. // its description string is required in order to prepend the accesskey '0':
  499. //   ie: '0 None'.
  500. pref("mailnews.labels.color.1", "#FF0000"); // default: red
  501. pref("mailnews.labels.color.2", "#FF9900"); // default: orange
  502. pref("mailnews.labels.color.3", "#009900"); // default: green
  503. pref("mailnews.labels.color.4", "#3333FF"); // default: blue
  504. pref("mailnews.labels.color.5", "#993399"); // default: purple
  505.  
  506. //default null headers
  507. //example "X-Warn: XReply", list of hdrs separated by ": "
  508. pref("mailnews.customHeaders", ""); 
  509.  
  510. pref("mailnews.fakeaccount.show", false);
  511. pref("mailnews.fakeaccount.server", "");
  512.  
  513. // message display properties
  514. pref("mailnews.message_display.disable_remote_image", false);
  515. pref("mailnews.message_display.allow.plugins", false);
  516.  
  517. // When there is no disclosed recipients (only bcc), we should address the message to empty group
  518. // to prevent some mail server to disclose the bcc recipients
  519. pref("mail.compose.add_undisclosed_recipients", true);
  520.  
  521. // "mail.purge.min_delay", never purge a junk folder more than once every 480 minutes (60 mins/hour * 8 hours)
  522. pref("mail.purge.min_delay",480);
  523. // "mail.purge.timer_interval", fire the purge timer every 5 minutes, starting 5 minutes after we load accounts
  524. pref("mail.purge.timer_interval",5);
  525. pref("mailnews.view.last",0); // 0 == "all" view
  526.  
  527. // set to true if viewing a message should mark it as read only if the msg is viewed for a specified time interval in seconds
  528. pref("mailnews.mark_message_read.delay", false); 
  529. pref("mailnews.mark_message_read.delay.interval", 5); // measured in seconds
  530.  
  531. // require a password before showing imap or local headers in thread pane
  532. pref("mail.password_protect_local_cache", false);
  533.