home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Defaults / Pref / mailnews.js < prev    next >
Text File  |  2003-06-08  |  26KB  |  515 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. //mailnews.timeline_is_enabled should be set to true ONLY for perf measurement-timeline builds.
  57. pref("mailnews.timeline_is_enabled", false);
  58.  
  59. pref("mailnews.logComposePerformance", false);
  60.  
  61. pref("mail.wrap_long_lines",                true);
  62. pref("news.wrap_long_lines",                true);
  63. pref("mail.inline_attachments",             true);
  64. pref("mailnews.auto_unzip_saved_attachments", false);
  65.  
  66. // hidden pref for controlling if the user agent string
  67. // is displayed in the message pane or not...
  68. pref("mailnews.headers.showUserAgent",       false);
  69.  
  70. // hidden pref for controlling if the organization string
  71. // is displayed in the message pane or not...
  72. pref("mailnews.headers.showOrganization",    false);
  73.  
  74. // Mail server preferences, pop by default
  75. pref("mail.server_type",    0);     // 0 pop, 1 imap,
  76.                     // (Unix only:)
  77.                     // 2 movemail, 3 inbox          
  78. pref("mail.auth_login", true);
  79.  
  80. pref("mail.default_drafts", "");    // empty string use default Drafts name;
  81. pref("mail.default_templates", ""); // empty string use default Templates name
  82.  
  83. pref("mail.imap.server_sub_directory",      "");
  84. pref("mail.imap.max_cached_connections",    10);
  85. pref("mail.imap.fetch_by_chunks",           true);
  86. pref("mail.imap.chunk_size",                10240);
  87. pref("mail.imap.min_chunk_size_threshold",  15360);
  88. pref("mail.imap.max_chunk_size",            40960);
  89. pref("mail.imap.chunk_fast",                2);
  90. pref("mail.imap.chunk_ideal",               4);
  91. pref("mail.imap.chunk_add",                 2048);
  92. pref("mail.imap.hide_other_users",          false);
  93. pref("mail.imap.hide_unused_namespaces",    true);
  94. pref("mail.imap.new_mail_get_headers",      true);
  95. pref("mail.imap.auto_unsubscribe_from_noselect_folders",    true);
  96. pref("mail.imap.cleanup_inbox_on_exit",     false);
  97. pref("mail.imap.mime_parts_on_demand",      true);
  98. pref("mail.imap.mime_parts_on_demand_max_depth", 15);
  99. pref("mail.imap.mime_parts_on_demand_threshold", 30000);
  100. pref("mail.thread_without_re",                true);
  101. pref("mail.leave_on_server",                false);
  102. pref("mail.default_cc",                     "");
  103. pref("mail.default_fcc",                    ""); // maibox:URL or Imap://Host/OnLineFolderName
  104. pref("mail.check_new_mail",                 false);
  105. pref("mail.pop3_gets_new_mail",             false);
  106. pref("mail.check_time",                     10);
  107. pref("mail.pop_name",                       "");
  108. pref("mail.remember_password",              false);
  109. pref("mail.pop_password",                   "");
  110. pref("mail.auto_quote",                     true);
  111. pref("mail.fixed_width_messages",           true);
  112. pref("mail.citation_color",                 ""); // quoted color
  113. pref("mail.quoted_style",                   0); // 0=plain, 1=bold, 2=italic, 3=bolditalic
  114. pref("mail.quoted_size",                    0); // 0=normal, 1=big, 2=small
  115. pref("mail.quoted_graphical",               true); // use HTML-style quoting for displaying plain text
  116. pref("mail.quoteasblock",                   true); // use HTML-style quoting for quoting plain text
  117. pref("mail.identity.organization",          "");
  118. pref("mail.identity.reply_to",              "");
  119. pref("mail.identity.username",              "");
  120. pref("mail.identity.useremail",             "");
  121. pref("mail.use_fcc",                        true);
  122. pref("mail.cc_self",                        false);
  123. pref("mail.strictly_mime",                  false);
  124. pref("mail.strictly_mime_headers",          true);
  125. pref("mail.file_attach_binary",             false);
  126. pref("mail.show_headers",                   1); // some
  127. pref("mail.pane_config",                    0);
  128. pref("mail.addr_book.mapit_url.format", "chrome://messenger-region/locale/region.properties");
  129.  
  130. // the format for "mail.addr_book.quicksearchquery.format" is:
  131. // @V == the escaped value typed in the quick search bar in the addressbook
  132. //
  133. // note, changing this might require a change to SearchNameOrEmail.label
  134. // in messenger.dtd
  135. pref("mail.addr_book.quicksearchquery.format", "chrome://messenger/locale/messenger.properties");
  136.  
  137. // values for "mail.addr_book.lastnamefirst" are:
  138. //0=displayname, 1=lastname first, 2=firstname first
  139. pref("mail.addr_book.lastnamefirst", 0); 
  140. pref("mail.addr_book.displayName.autoGeneration", true);
  141. pref("mail.addr_book.displayName.lastnamefirst", "chrome://messenger/locale/messenger.properties");
  142. pref("mail.addr_book.show_phonetic_fields", "chrome://messenger/locale/messenger.properties");
  143. pref("mail.attach_vcard",                   false);
  144. pref("mail.html_compose",                   true);
  145. // you can specify one, option header
  146. // this will show up in the address picker in the compose window
  147. // examples: "X-Face" or "Approved"
  148. pref("mail.compose.other.header",        "");
  149. pref("mail.fcc_folder",                     "");
  150. pref("mail.encrypt_outgoing_mail",          false);
  151. pref("mail.crypto_sign_outgoing_mail",      false);
  152. pref("mail.default_html_action", 0);          // 0=ask, 1=plain, 2=html, 3=both
  153. pref("mail.smtp.ssl",0);                      // 0 = no, 1 = try, 2 = must use SSL
  154.  
  155. pref("mail.mdn.report.not_in_to_cc", 2);               // 0: Never 1: Always 2: Ask me
  156. pref("mail.mdn.report.outside_domain", 2);             // 0: Never 1: Always 2: Ask me
  157. pref("mail.mdn.report.other", 2);                      // 0: Never 1: Always 2: Ask me 3: Denial
  158.  
  159. pref("mail.incorporate.return_receipt", 0);            // 0: Inbox/filter 1: Sent folder
  160. pref("mail.request.return_receipt", 2);                // 1: DSN 2: MDN 3: Both
  161. pref("mail.receipt.request_header_type", 0);           // 0: MDN-DNT header  1: RRT header 2: Both (MC)
  162. pref("mail.receipt.request_return_receipt_on", false);
  163. pref("mail.mdn.report.enabled", true);                 // false: Never send true: Send sometimes
  164.  
  165. pref("news.default_cc",                     "");
  166. pref("news.default_fcc",                    ""); // mailbox:URL or Imap://Host/OnlineFolderName
  167. pref("news.use_fcc",                        true);
  168. pref("news.cc_self",                        false);
  169. pref("news.fcc_folder",                     "");
  170. pref("news.notify.on",                      true);
  171. pref("news.max_articles",                   500);
  172. pref("news.mark_old_read",                  false);
  173.  
  174. pref("mailnews.wraplength",                 72);
  175. pref("mail.compose.wrap_to_window_width",   false);
  176.  
  177. pref("mailnews.reply_on_top",               0); // 0=bottom 1=top 2=select+bottom 3=select+top
  178.  
  179. // 0=no header, 1="<author> wrote:", 2="On <date> <author> wrote:", 3="<author> wrote On <date>:", 4=user specified
  180. pref("mailnews.reply_header_type",          1);
  181. // locale which affects date format, set empty string to use application default locale
  182. pref("mailnews.reply_header_locale",        "");
  183. pref("mailnews.reply_header_authorwrote",   "chrome://messenger/locale/messengercompose/composeMsgs.properties");
  184. pref("mailnews.reply_header_ondate",        "On %s");
  185. // separator to separate between date and author
  186. pref("mailnews.reply_header_separator",     ", ");
  187. pref("mailnews.reply_header_colon",         ":");
  188. pref("mailnews.reply_header_originalmessage",   "chrome://messenger/locale/messengercompose/composeMsgs.properties");
  189.  
  190. pref("mail.purge_threshhold",                100);
  191. pref("mail.prompt_purge_threshhold",             false);   
  192.  
  193. pref("mailnews.offline_sync_mail",         false);
  194. pref("mailnews.offline_sync_news",         false);
  195. pref("mailnews.offline_sync_send_unsent",  true);
  196. pref("mailnews.offline_sync_work_offline", false);   
  197. pref("mailnews.force_ascii_search",         false);
  198. pref("mailnews.autolookup_unknown_mime_types",  true);
  199.  
  200. pref("mailnews.send_default_charset",       "chrome://messenger/locale/messenger.properties");
  201. pref("mailnews.view_default_charset",       "chrome://messenger/locale/messenger.properties");
  202. pref("mailnews.force_charset_override",     false);
  203.  
  204. pref("mailnews.search_date_format",        "chrome://messenger/locale/messenger.properties");
  205. pref("mailnews.search_date_separator",     "chrome://messenger/locale/messenger.properties");
  206.  
  207. pref("mailnews.language_sensitive_font",    true);
  208.  
  209. pref("offline.news.download.unread_only",   true);
  210. pref("offline.news.download.by_date",       true);
  211. pref("offline.news.download.use_days",      false);
  212. pref("offline.news.download.days",          30);    // days
  213. pref("offline.news.download.increments",    3); // 0-yesterday, 1-1 wk ago, 2-2 wk ago,
  214.                                                 // 3-1 month ago, 4-6 month ago, 5-1 year ago
  215.  
  216. pref("ldap_1.number_of_directories", 6);
  217.  
  218. pref("ldap_1.directory1.description", "Personal Address Book");
  219. pref("ldap_1.directory1.dirType", 2);
  220. pref("ldap_1.directory1.isOffline", false);
  221.  
  222. pref("ldap_1.directory2.description", "Four11 Directory");
  223. pref("ldap_1.directory2.serverName", "ldap.four11.com");
  224.  
  225. pref("ldap_1.directory3.description", "InfoSpace Directory");
  226. pref("ldap_1.directory3.serverName", "ldap.infospace.com");
  227.  
  228. pref("ldap_1.directory4.description", "WhoWhere Directory");
  229. pref("ldap_1.directory4.serverName", "ldap.whowhere.com");
  230.  
  231. pref("ldap_1.directory5.description", "Bigfoot Directory");
  232. pref("ldap_1.directory5.serverName", "ldap.bigfoot.com");
  233.  
  234. pref("ldap_1.directory6.description", "Switchboard Directory");
  235. pref("ldap_1.directory6.serverName", "ldap.switchboard.com");
  236. pref("ldap_1.directory6.searchBase", "c=US");
  237. pref("ldap_1.directory6.attributes.telephoneNumber", "Phone Number:homephone");
  238. pref("ldap_1.directory6.attributes.street", "State:st");
  239. pref("ldap_1.directory6.filter1.repeatFilterForWords", false);
  240.  
  241. pref("ldap_2.autoComplete.interval", 650);
  242. pref("ldap_2.autoComplete.enabled", true);
  243. pref("ldap_2.autoComplete.useDirectory", false);
  244. pref("ldap_2.autoComplete.useAddressBooks", true);
  245. pref("ldap_2.autoComplete.skipDirectoryIfLocalMatchFound", true);
  246. pref("ldap_2.autoComplete.directoryServer", "");
  247.  
  248. pref("ldap_2.servers.pab.position",                                1);
  249. pref("ldap_2.servers.pab.description",                            "chrome://messenger/locale/addressbook/addressBook.properties");
  250. pref("ldap_2.servers.pab.dirType",                                2);
  251. pref("ldap_2.servers.pab.isOffline",                            false);
  252.  
  253. pref("ldap_2.servers.history.position",                            2);
  254. pref("ldap_2.servers.history.description",                        "chrome://messenger/locale/addressbook/addressBook.properties");
  255. pref("ldap_2.servers.history.dirType",                            2);
  256. pref("ldap_2.servers.history.isOffline",                        false);
  257.  
  258.  
  259. // A position of zero is a special value that indicates the directory is deleted.
  260. // These entries are provided to keep the (obsolete) Four11 directory and the
  261. // WhoWhere, Bigfoot and Switchboard directories from being migrated.
  262. pref("ldap_2.servers.four11.position",                        0);
  263. pref("ldap_2.servers.four11.description",                        "Four11 Directory");
  264. pref("ldap_2.servers.four11.serverName",                        "ldap.four11.com");
  265.  
  266. pref("ldap_2.servers.whowhere.position",                        0);             
  267. pref("ldap_2.servers.whowhere.description",                        "WhoWhere Directory");
  268. pref("ldap_2.servers.whowhere.serverName",                        "ldap.whowhere.com");
  269.  
  270. pref("ldap_2.servers.bigfoot.position",                            0);             
  271. pref("ldap_2.servers.bigfoot.description",                        "Bigfoot Directory");
  272. pref("ldap_2.servers.bigfoot.serverName",                       "ldap.bigfoot.com");
  273.                                                                                  
  274. pref("ldap_2.servers.switchboard.position",                        0);             
  275. pref("ldap_2.servers.switchboard.description",                    "Switchboard Directory");
  276. pref("ldap_2.servers.switchboard.serverName",                    "ldap.switchboard.com");
  277.  
  278. pref("ldap_2.user_id",                                            0);
  279. pref("ldap_2.version",                                            3); /* Update kCurrentListVersion in include/dirprefs.h if you change this */
  280. pref("ldap_2.prefs_migrated",      false);
  281.  
  282. pref("mailnews.confirm.moveFoldersToTrash", true);
  283.  
  284. pref("mailnews.reuse_message_window", true);
  285.  
  286. pref("mailnews.start_page.url", "chrome://messenger-region/locale/region.properties");
  287. pref("mailnews.start_page.enabled", true);
  288.  
  289. pref("mailnews.remember_selected_message", true);
  290.  
  291. pref("mail.toolbars.showbutton.file", true);
  292. pref("mail.toolbars.showbutton.next", true);
  293. pref("mail.toolbars.showbutton.junk", true);
  294. pref("mail.toolbars.showbutton.print", true);
  295. pref("mail.toolbars.showbutton.stop", 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.  
  312. // by default, only collect addresses the user sends to (outgoing)
  313. // incoming is all spam anyways
  314. pref("mail.collect_email_address_incoming", false);
  315. pref("mail.collect_email_address_outgoing", true);
  316. pref("mail.collect_email_address_newsgroup", false);
  317.  
  318. // by default, use the Personal Addressbook for collection
  319. pref("mail.collect_addressbook","moz-abmdbdirectory://abook.mab"); // the Personal addressbook.
  320.  
  321. pref("mail.default_sendlater_uri","mailbox://nobody@Local%20Folders/Unsent%20Messages");
  322.  
  323. pref("mail.server.default.port", -1);
  324. pref("mail.server.default.offline_support_level", -1);
  325. pref("mail.server.default.leave_on_server", false);
  326. pref("mail.server.default.download_on_biff", false);
  327. pref("mail.server.default.check_time", 10);
  328. // "mail.server.default.check_new_mail" now lives in the protocol info
  329. pref("mail.server.default.dot_fix", true);
  330. pref("mail.server.default.limit_offline_message_size", false);
  331. pref("mail.server.default.max_size", 50);
  332. pref("mail.server.default.auth_login", true);
  333. pref("mail.server.default.delete_mail_left_on_server", false);
  334. pref("mail.server.default.valid", true);
  335. pref("mail.server.default.abbreviate",true);
  336. pref("mail.server.default.isSecure", false);
  337. pref("mail.server.default.override_namespaces", true);
  338.  
  339. pref("mail.server.default.delete_model", 1);
  340. pref("mail.server.default.fetch_by_chunks", true);
  341. pref("mail.server.default.mime_parts_on_demand", true);
  342.  
  343. pref("mail.server.default.always_authenticate",false);
  344. pref("mail.server.default.max_articles", 500);
  345. pref("mail.server.default.notify.on", true);
  346. pref("mail.server.default.mark_old_read", false);
  347. pref("mail.server.default.empty_trash_on_exit", false);
  348.  
  349. pref("mail.server.default.using_subscription", true);
  350. pref("mail.server.default.dual_use_folders", true);
  351. pref("mail.server.default.canDelete", false);
  352. pref("mail.server.default.login_at_startup", false);
  353. pref("mail.server.default.allows_specialfolders_usage", true);
  354. pref("mail.server.default.canCreateFolders", true);
  355. pref("mail.server.default.canFileMessages", true);
  356.  
  357. // special enhancements for IMAP servers
  358. pref("mail.server.default.store_read_mail_in_pfc", false);  
  359. pref("mail.server.default.store_sent_mail_in_pfc", false);  
  360.  
  361. // for spam
  362. pref("mail.server.default.spamLevel",100);  // 0 off, 100 on.  not doing bool since we might have real levels one day.
  363. pref("mail.server.default.moveOnSpam",false);
  364. pref("mail.server.default.moveTargetMode",0); // 0 == "Junk" on server, 1 == specific folder
  365. pref("mail.server.default.spamActionTargetAccount","");
  366. pref("mail.server.default.spamActionTargetFolder","");
  367. pref("mail.server.default.useWhiteList",true);
  368. pref("mail.server.default.whiteListAbURI","moz-abmdbdirectory://abook.mab");  // the Personal addressbook.
  369. pref("mail.server.default.purgeSpam",false);
  370. pref("mail.server.default.purgeSpamInterval",14); // 14 days
  371. pref("mail.server.default.spamLoggingEnabled",false);
  372.  
  373. pref("mail.smtpserver.default.auth_method", 1); // auth any
  374. pref("mail.smtpserver.default.try_ssl", 0);
  375.  
  376. // For the next 3 prefs, see <http://www.bucksch.org/1/projects/mozilla/16507>
  377. pref("mail.display_glyph", true);   // TXT->HTML :-) etc. in viewer
  378. pref("mail.display_struct", true);  // TXT->HTML *bold* etc. in viewer; ditto
  379. pref("mail.send_struct", false);   // HTML->HTML *bold* etc. during Send; ditto
  380. // For the next 4 prefs, see <http://www.bucksch.org/1/projects/mozilla/108153>
  381. pref("mailnews.display.prefer_plaintext", false);  // Ignore HTML parts in multipart/alternative
  382. 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
  383. 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)");
  384. 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).
  385. This option is mainly for the UI of html_as.
  386. 0 = allow all available classes
  387. 1 = Use hardcoded blacklist to avoid rendering (incoming) HTML
  388. 2 = ... and inline images
  389. 3 = ... and some other uncommon content types
  390. 100 = Use hardcoded whitelist to avoid even more bugs(buffer overflows).
  391.       This mode will limit the features available (e.g. uncommon
  392.       attachment types and inline images) and is for paranoid users.
  393. */
  394.  
  395. 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)
  396.  
  397. pref("mail.startup.enabledMailCheckOnce", false);
  398.  
  399. pref("mailnews.max_header_display_length",3); // number of addresses to show
  400.  
  401. pref("messenger.throbber.url","chrome://messenger-region/locale/region.properties");
  402. pref("compose.throbber.url","chrome://messenger-region/locale/region.properties");
  403. pref("addressbook.throbber.url","chrome://messenger-region/locale/region.properties");
  404.  
  405. pref("mailnews.send_plaintext_flowed", true); // RFC 2646=======
  406. pref("mailnews.display.disable_format_flowed_support", false);
  407. pref("mailnews.nav_crosses_folders", 1); // prompt user when crossing folders
  408.  
  409. // these two news.cancel.* prefs are for use by QA for automated testing.  see bug #31057
  410. pref("news.cancel.confirm",true);
  411. pref("news.cancel.alert_on_success",true);
  412. pref("mail.SpellCheckBeforeSend",false);
  413. pref("mail.warn_on_send_accel_key", true);
  414. pref("mail.enable_autocomplete",true);
  415. pref("mailnews.html_domains","");
  416. pref("mailnews.plaintext_domains","");
  417. pref("mailnews.global_html_domains.version",1);
  418.  
  419. // Pref controlling the updates on the pre-configured accounts.
  420. // In order to add new pre-configured accounts (after a version),
  421. // increase the following version number besides updating the
  422. // pref mail.accountmanager.appendaccounts 
  423. pref("mailnews.append_preconfig_accounts.version",1);
  424.  
  425. // Pref controlling the updates on the pre-configured smtp servers.
  426. // In order to add new pre-configured smtp servers (after a version),
  427. // increase the following version number besides updating the
  428. // pref mail.smtpservers.appendsmtpservers
  429. pref("mail.append_preconfig_smtpservers.version",1);
  430.  
  431. pref("mail.biff.play_sound",true);
  432. // 0 == default system sound, 1 == user specified wav
  433. pref("mail.biff.play_sound.type",0);
  434. // _moz_mailbeep is a magic key, for the default sound.
  435. // otherwise, this needs to be a file url
  436. pref("mail.biff.play_sound.url","");
  437. pref("mail.biff.show_alert", true);
  438.  
  439. pref("mail.content_disposition_type", 0);
  440.  
  441. pref("mailnews.show_send_progress", true); //Will show a progress dialog when saving or sending a message
  442. pref("mail.server.default.retainBy", 1);
  443.  
  444. // for manual upgrades of certain UI features.
  445. // 1 -> 2 is for the folder pane tree landing, to hide the
  446. // unread and total columns, see msgMail3PaneWindow.js
  447. pref("mail.ui.folderpane.version", 1);                                          
  448.  
  449. // for manual upgrades of certain UI features.
  450. // 1 -> 2 is for the thread pane tree landing, to hide the
  451. // labels column, see msgMail3PaneWindow.js
  452. pref("mailnews.ui.threadpane.version", 1);                                          
  453. // for manual upgrades of certain UI features.
  454. // 1 -> 2 is for the ab results pane tree landing
  455. // to hide the non default columns in the addressbook dialog
  456. // see abCommon.js and addressbook.js
  457. pref("mailnews.ui.addressbook_results.version", 1);                                          
  458. // for manual upgrades of certain UI features.
  459. // 1 -> 2 is for the ab results pane tree landing
  460. // to hide the non default columns in the addressbook sidebar panel
  461. // see abCommon.js and addressbook-panel.js
  462. pref("mailnews.ui.addressbook_panel_results.version", 1);                                          
  463. // for manual upgrades of certain UI features.
  464. // 1 -> 2 is for the ab results pane tree landing
  465. // to hide the non default columns in the select addresses dialog
  466. // see abCommon.js and abSelectAddressesDialog.js
  467. pref("mailnews.ui.select_addresses_results.version", 1); 
  468. // for manual upgrades of certain UI features.
  469. // 1 -> 2 is for the ab results pane
  470. // to hide the non default columns in the advanced directory search dialog
  471. // see abCommon.js and ABSearchDialog.js
  472. pref("mailnews.ui.advanced_directory_search_results.version", 1);                                         
  473. //If set to a number greater than 0, msg compose windows will be recycled in order to open them quickly
  474. pref("mail.compose.max_recycled_windows", 1); 
  475.  
  476. // true makes it so we persist the open state of news server when starting up the 3 pane
  477. // this is costly, as it might result in network activity.
  478. // false makes it so we act like 4.x
  479. // see bug #103010 for details
  480. pref("news.persist_server_open_state_in_folderpane",false);
  481.  
  482. // New color prefs for Labels
  483. pref("mailnews.labels.description.0", "chrome://messenger/locale/messenger.properties");
  484. pref("mailnews.labels.description.1", "chrome://messenger/locale/messenger.properties");
  485. pref("mailnews.labels.description.2", "chrome://messenger/locale/messenger.properties");
  486. pref("mailnews.labels.description.3", "chrome://messenger/locale/messenger.properties");
  487. pref("mailnews.labels.description.4", "chrome://messenger/locale/messenger.properties");
  488. pref("mailnews.labels.description.5", "chrome://messenger/locale/messenger.properties");
  489.  
  490. // mailews.labels.color.0 is not defined because there is no color associated with
  491. // this particular label.  It is defined above (mailnews.lables.description.0) because
  492. // its description string is required in order to prepend the accesskey '0':
  493. //   ie: '0 None'.
  494. pref("mailnews.labels.color.1", "#FF0000"); // default: red
  495. pref("mailnews.labels.color.2", "#FF9900"); // default: orange
  496. pref("mailnews.labels.color.3", "#009900"); // default: green
  497. pref("mailnews.labels.color.4", "#3333FF"); // default: blue
  498. pref("mailnews.labels.color.5", "#993399"); // default: purple
  499.  
  500. //default null headers
  501. //example "X-Warn: XReply", list of hdrs separated by ": "
  502. pref("mailnews.customHeaders", ""); 
  503.  
  504. pref("mailnews.fakeaccount.show", false);
  505. pref("mailnews.fakeaccount.server", "");
  506.  
  507. // message display properties
  508. pref("mailnews.message_display.disable_remote_image", false);
  509. pref("mailnews.message_display.allow.plugins", true);
  510.  
  511. // When there is no disclosed recipients (only bcc), we should address the message to empty group
  512. // to prevent some mail server to disclose the bcc recipients
  513. pref("mail.compose.add_undisclosed_recipients", true);
  514.  
  515.