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.  
  3. /* ***** BEGIN LICENSE BLOCK *****
  4.  
  5.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  6.  
  7.  *
  8.  
  9.  * The contents of this file are subject to the Netscape Public License
  10.  
  11.  * Version 1.1 (the "License"); you may not use this file except in
  12.  
  13.  * compliance with the License. You may obtain a copy of the License at
  14.  
  15.  * http://www.mozilla.org/NPL/
  16.  
  17.  *
  18.  
  19.  * Software distributed under the License is distributed on an "AS IS" basis,
  20.  
  21.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  22.  
  23.  * for the specific language governing rights and limitations under the
  24.  
  25.  * License.
  26.  
  27.  *
  28.  
  29.  * The Original Code is mozilla.org code.
  30.  
  31.  *
  32.  
  33.  * The Initial Developer of the Original Code is 
  34.  
  35.  * Netscape Communications Corporation.
  36.  
  37.  * Portions created by the Initial Developer are Copyright (C) 1998
  38.  
  39.  * the Initial Developer. All Rights Reserved.
  40.  
  41.  *
  42.  
  43.  * Contributor(s):
  44.  
  45.  *
  46.  
  47.  * Alternatively, the contents of this file may be used under the terms of
  48.  
  49.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  50.  
  51.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  52.  
  53.  * in which case the provisions of the GPL or the LGPL are applicable instead
  54.  
  55.  * of those above. If you wish to allow use of your version of this file only
  56.  
  57.  * under the terms of either the GPL or the LGPL, and not to allow others to
  58.  
  59.  * use your version of this file under the terms of the NPL, indicate your
  60.  
  61.  * decision by deleting the provisions above and replace them with the notice
  62.  
  63.  * and other provisions required by the GPL or the LGPL. If you do not delete
  64.  
  65.  * the provisions above, a recipient may use your version of this file under
  66.  
  67.  * the terms of any one of the NPL, the GPL or the LGPL.
  68.  
  69.  *
  70.  
  71.  * ***** END LICENSE BLOCK ***** */
  72.  
  73.  
  74.  
  75. // this is a hidden preference setting, see bugzilla bug 80035
  76.  
  77. // (http://bugzilla.mozilla.org/show_bug.cgi?id=80035)
  78.  
  79. //
  80.  
  81. // the default value for this setting is true which means when migrating from
  82.  
  83. // Netscape 4.x, mozilla will copy all the contents of Local Folders and Imap
  84.  
  85. // Folder to the newly created subfolders of migrated mozilla profile
  86.  
  87. // when this value is set to false, mozilla will not copy these contents and
  88.  
  89. // still share them with Netscape 4.x
  90.  
  91. //
  92.  
  93. // Advantages of forbidding copy operation:
  94.  
  95. //     reduce the disk usage
  96.  
  97. //     quick migration
  98.  
  99. // Disadvantage of forbidding copy operation:
  100.  
  101. //     without perfect lock mechamism, there is possibility of data corruption
  102.  
  103. //     when Netscape 4.x and mozilla run at the same time and access the same
  104.  
  105. //     mail file at the same time
  106.  
  107. pref("mail.migration.copyMailFiles", true);
  108.  
  109.  
  110.  
  111. // pref defined by stand alone mail apps
  112.  
  113. pref("mail.standalone", true);
  114.  
  115.  
  116.  
  117. //mailnews.timeline_is_enabled should be set to true ONLY for perf measurement-timeline builds.
  118.  
  119. pref("mailnews.timeline_is_enabled", false);
  120.  
  121.  
  122.  
  123. pref("mailnews.logComposePerformance", false);
  124.  
  125.  
  126.  
  127. pref("mail.wrap_long_lines",                true);
  128.  
  129. pref("news.wrap_long_lines",                true);
  130.  
  131. pref("mail.inline_attachments",             true);
  132.  
  133. pref("mailnews.auto_unzip_saved_attachments", false);
  134.  
  135.  
  136.  
  137. // hidden pref for controlling if the user agent string
  138.  
  139. // is displayed in the message pane or not...
  140.  
  141. pref("mailnews.headers.showUserAgent",       false);
  142.  
  143.  
  144.  
  145. // hidden pref for changing how we present attachments in the message pane
  146.  
  147. pref("mailnews.attachments.display.largeView", false);
  148.  
  149.  
  150.  
  151. // hidden pref for controlling if the organization string
  152.  
  153. // is displayed in the message pane or not...
  154.  
  155. pref("mailnews.headers.showOrganization",    false);
  156.  
  157.  
  158.  
  159. // Mail server preferences, pop by default
  160.  
  161. pref("mail.server_type",    0);     // 0 pop, 1 imap,
  162.  
  163.                     // (Unix only:)
  164.  
  165.                     // 2 movemail, 3 inbox          
  166.  
  167. pref("mail.auth_login", true);
  168.  
  169.  
  170.  
  171. pref("mail.default_drafts", "");    // empty string use default Drafts name;
  172.  
  173. pref("mail.default_templates", ""); // empty string use default Templates name
  174.  
  175.  
  176.  
  177. pref("mail.imap.server_sub_directory",      "");
  178.  
  179. pref("mail.imap.max_cached_connections",    10);
  180.  
  181. pref("mail.imap.fetch_by_chunks",           true);
  182.  
  183. pref("mail.imap.chunk_size",                10240);
  184.  
  185. pref("mail.imap.min_chunk_size_threshold",  15360);
  186.  
  187. pref("mail.imap.max_chunk_size",            40960);
  188.  
  189. pref("mail.imap.chunk_fast",                2);
  190.  
  191. pref("mail.imap.chunk_ideal",               4);
  192.  
  193. pref("mail.imap.chunk_add",                 2048);
  194.  
  195. pref("mail.imap.hide_other_users",          false);
  196.  
  197. pref("mail.imap.hide_unused_namespaces",    true);
  198.  
  199. pref("mail.imap.new_mail_get_headers",      true);
  200.  
  201. pref("mail.imap.auto_unsubscribe_from_noselect_folders",    true);
  202.  
  203. pref("mail.imap.cleanup_inbox_on_exit",     false);
  204.  
  205. pref("mail.imap.mime_parts_on_demand",      true);
  206.  
  207. pref("mail.imap.mime_parts_on_demand_max_depth", 15);
  208.  
  209. pref("mail.imap.mime_parts_on_demand_threshold", 30000);
  210.  
  211. pref("mail.thread_without_re",                true);
  212.  
  213. pref("mail.leave_on_server",                false);
  214.  
  215. pref("mail.default_cc",                     "");
  216.  
  217. pref("mail.default_fcc",                    ""); // maibox:URL or Imap://Host/OnLineFolderName
  218.  
  219. pref("mail.check_new_mail",                 false);
  220.  
  221. pref("mail.pop3_gets_new_mail",             false);
  222.  
  223. pref("mail.check_time",                     10);
  224.  
  225. pref("mail.pop_name",                       "");
  226.  
  227. pref("mail.remember_password",              false);
  228.  
  229. pref("mail.pop_password",                   "");
  230.  
  231. pref("mail.fixed_width_messages",           true);
  232.  
  233. pref("mail.citation_color",                 ""); // quoted color
  234.  
  235. pref("mail.quoted_style",                   0); // 0=plain, 1=bold, 2=italic, 3=bolditalic
  236.  
  237. pref("mail.quoted_size",                    0); // 0=normal, 1=big, 2=small
  238.  
  239. pref("mail.quoted_graphical",               true); // use HTML-style quoting for displaying plain text
  240.  
  241. pref("mail.quoteasblock",                   true); // use HTML-style quoting for quoting plain text
  242.  
  243. pref("mail.identity.organization",          "");
  244.  
  245. pref("mail.identity.reply_to",              "");
  246.  
  247. pref("mail.identity.username",              "");
  248.  
  249. pref("mail.identity.useremail",             "");
  250.  
  251. pref("mail.use_fcc",                        true);
  252.  
  253. pref("mail.cc_self",                        false);
  254.  
  255. pref("mail.strictly_mime",                  false);
  256.  
  257. pref("mail.strictly_mime_headers",          true);
  258.  
  259. pref("mail.file_attach_binary",             false);
  260.  
  261. pref("mail.show_headers",                   1); // some
  262.  
  263. pref("mail.pane_config",                    0);
  264.  
  265. pref("mail.pane_config.dynamic",            0); // new pref used for dynamic pane configuration
  266.  
  267. pref("mail.addr_book.mapit_url.format", "chrome://messenger-region/locale/region.properties");
  268.  
  269.  
  270.  
  271. // the format for "mail.addr_book.quicksearchquery.format" is:
  272.  
  273. // @V == the escaped value typed in the quick search bar in the addressbook
  274.  
  275. //
  276.  
  277. // note, changing this might require a change to SearchNameOrEmail.label
  278.  
  279. // in messenger.dtd
  280.  
  281. pref("mail.addr_book.quicksearchquery.format", "chrome://messenger/locale/messenger.properties");
  282.  
  283.  
  284.  
  285. // values for "mail.addr_book.lastnamefirst" are:
  286.  
  287. //0=displayname, 1=lastname first, 2=firstname first
  288.  
  289. pref("mail.addr_book.lastnamefirst", 0); 
  290.  
  291. pref("mail.addr_book.displayName.autoGeneration", true);
  292.  
  293. pref("mail.addr_book.displayName.lastnamefirst", "chrome://messenger/locale/messenger.properties");
  294.  
  295. pref("mail.addr_book.show_phonetic_fields", "chrome://messenger/locale/messenger.properties");
  296.  
  297. pref("mail.attach_vcard",                   false);
  298.  
  299. pref("mail.html_compose",                   true);
  300.  
  301. // you can specify multiple, option headers
  302.  
  303. // this will show up in the address picker in the compose window
  304.  
  305. // examples: "X-Face" or "Approved,X-No-Archive"
  306.  
  307. pref("mail.compose.other.header",        "");
  308.  
  309. pref("mail.fcc_folder",                     "");
  310.  
  311. pref("mail.encrypt_outgoing_mail",          false);
  312.  
  313. pref("mail.crypto_sign_outgoing_mail",      false);
  314.  
  315. pref("mail.default_html_action", 0);          // 0=ask, 1=plain, 2=html, 3=both
  316.  
  317. pref("mail.smtp.ssl",0);                      // 0 = no, 1 = try, 2 = must use SSL
  318.  
  319.  
  320.  
  321. pref("mail.mdn.report.not_in_to_cc", 2);               // 0: Never 1: Always 2: Ask me
  322.  
  323. pref("mail.mdn.report.outside_domain", 2);             // 0: Never 1: Always 2: Ask me
  324.  
  325. pref("mail.mdn.report.other", 2);                      // 0: Never 1: Always 2: Ask me 3: Denial
  326.  
  327.  
  328.  
  329. pref("mail.incorporate.return_receipt", 0);            // 0: Inbox/filter 1: Sent folder
  330.  
  331. pref("mail.request.return_receipt", 2);                // 1: DSN 2: MDN 3: Both
  332.  
  333. pref("mail.receipt.request_header_type", 0);           // 0: MDN-DNT header  1: RRT header 2: Both (MC)
  334.  
  335. pref("mail.receipt.request_return_receipt_on", false);
  336.  
  337. pref("mail.mdn.report.enabled", true);                 // false: Never send true: Send sometimes
  338.  
  339.  
  340.  
  341. pref("news.default_cc",                     "");
  342.  
  343. pref("news.default_fcc",                    ""); // mailbox:URL or Imap://Host/OnlineFolderName
  344.  
  345. pref("news.use_fcc",                        true);
  346.  
  347. pref("news.cc_self",                        false);
  348.  
  349. pref("news.fcc_folder",                     "");
  350.  
  351. pref("news.notify.on",                      true);
  352.  
  353. pref("news.max_articles",                   500);
  354.  
  355. pref("news.mark_old_read",                  false);
  356.  
  357.  
  358.  
  359. pref("mailnews.wraplength",                 72);
  360.  
  361. pref("mail.compose.wrap_to_window_width",   false);
  362.  
  363.  
  364.  
  365. // 0=no header, 1="<author> wrote:", 2="On <date> <author> wrote:", 3="<author> wrote On <date>:", 4=user specified
  366.  
  367. pref("mailnews.reply_header_type",          1);
  368.  
  369. // locale which affects date format, set empty string to use application default locale
  370.  
  371. pref("mailnews.reply_header_locale",        "");
  372.  
  373. pref("mailnews.reply_header_authorwrote",   "chrome://messenger/locale/messengercompose/composeMsgs.properties");
  374.  
  375. pref("mailnews.reply_header_ondate",        "On %s");
  376.  
  377. // separator to separate between date and author
  378.  
  379. pref("mailnews.reply_header_separator",     ", ");
  380.  
  381. pref("mailnews.reply_header_colon",         ":");
  382.  
  383. pref("mailnews.reply_header_originalmessage",   "chrome://messenger/locale/messengercompose/composeMsgs.properties");
  384.  
  385.  
  386.  
  387. pref("mail.purge_threshhold",                100);
  388.  
  389. pref("mail.prompt_purge_threshhold",             false);   
  390.  
  391.  
  392.  
  393. pref("mailnews.offline_sync_mail",         false);
  394.  
  395. pref("mailnews.offline_sync_news",         false);
  396.  
  397. pref("mailnews.offline_sync_send_unsent",  true);
  398.  
  399. pref("mailnews.offline_sync_work_offline", false);   
  400.  
  401. pref("mailnews.force_ascii_search",         false);
  402.  
  403. pref("mailnews.autolookup_unknown_mime_types",  true);
  404.  
  405.  
  406.  
  407. pref("mailnews.send_default_charset",       "chrome://messenger/locale/messenger.properties");
  408.  
  409. pref("mailnews.view_default_charset",       "chrome://messenger/locale/messenger.properties");
  410.  
  411. pref("mailnews.force_charset_override",     false);
  412.  
  413.  
  414.  
  415. pref("mailnews.search_date_format",        "chrome://messenger/locale/messenger.properties");
  416.  
  417. pref("mailnews.search_date_separator",     "chrome://messenger/locale/messenger.properties");
  418.  
  419.  
  420.  
  421. pref("mailnews.language_sensitive_font",    true);
  422.  
  423.  
  424.  
  425. pref("mailnews.quotingPrefs.version",       0);  // used to decide whether to migrate global quoting prefs
  426.  
  427.  
  428.  
  429. pref("offline.news.download.unread_only",   true);
  430.  
  431. pref("offline.news.download.by_date",       true);
  432.  
  433. pref("offline.news.download.days",          30);    // days
  434.  
  435. pref("offline.news.download.increments",    3); // 0-yesterday, 1-1 wk ago, 2-2 wk ago,
  436.  
  437.                                                 // 3-1 month ago, 4-6 month ago, 5-1 year ago
  438.  
  439.  
  440.  
  441. pref("ldap_1.number_of_directories", 6);
  442.  
  443.  
  444.  
  445. pref("ldap_1.directory1.description", "Personal Address Book");
  446.  
  447. pref("ldap_1.directory1.dirType", 2);
  448.  
  449. pref("ldap_1.directory1.isOffline", false);
  450.  
  451.  
  452.  
  453. pref("ldap_1.directory2.description", "Four11 Directory");
  454.  
  455. pref("ldap_1.directory2.serverName", "ldap.four11.com");
  456.  
  457.  
  458.  
  459. pref("ldap_1.directory3.description", "InfoSpace Directory");
  460.  
  461. pref("ldap_1.directory3.serverName", "ldap.infospace.com");
  462.  
  463.  
  464.  
  465. pref("ldap_1.directory4.description", "WhoWhere Directory");
  466.  
  467. pref("ldap_1.directory4.serverName", "ldap.whowhere.com");
  468.  
  469.  
  470.  
  471. pref("ldap_1.directory5.description", "Bigfoot Directory");
  472.  
  473. pref("ldap_1.directory5.serverName", "ldap.bigfoot.com");
  474.  
  475.  
  476.  
  477. pref("ldap_1.directory6.description", "Switchboard Directory");
  478.  
  479. pref("ldap_1.directory6.serverName", "ldap.switchboard.com");
  480.  
  481. pref("ldap_1.directory6.searchBase", "c=US");
  482.  
  483. pref("ldap_1.directory6.attributes.telephoneNumber", "Phone Number:homephone");
  484.  
  485. pref("ldap_1.directory6.attributes.street", "State:st");
  486.  
  487. pref("ldap_1.directory6.filter1.repeatFilterForWords", false);
  488.  
  489.  
  490.  
  491. pref("ldap_2.autoComplete.interval", 650);
  492.  
  493. pref("ldap_2.autoComplete.enabled", true);
  494.  
  495. pref("ldap_2.autoComplete.useDirectory", false);
  496.  
  497. pref("ldap_2.autoComplete.useAddressBooks", true);
  498.  
  499. pref("ldap_2.autoComplete.skipDirectoryIfLocalMatchFound", true);
  500.  
  501. pref("ldap_2.autoComplete.directoryServer", "");
  502.  
  503.  
  504.  
  505. pref("ldap_2.servers.pab.position",                                1);
  506.  
  507. pref("ldap_2.servers.pab.description",                            "chrome://messenger/locale/addressbook/addressBook.properties");
  508.  
  509. pref("ldap_2.servers.pab.dirType",                                2);
  510.  
  511. pref("ldap_2.servers.pab.isOffline",                            false);
  512.  
  513.  
  514.  
  515. pref("ldap_2.servers.history.position",                            2);
  516.  
  517. pref("ldap_2.servers.history.description",                        "chrome://messenger/locale/addressbook/addressBook.properties");
  518.  
  519. pref("ldap_2.servers.history.dirType",                            2);
  520.  
  521. pref("ldap_2.servers.history.isOffline",                        false);
  522.  
  523.  
  524.  
  525.  
  526.  
  527. // A position of zero is a special value that indicates the directory is deleted.
  528.  
  529. // These entries are provided to keep the (obsolete) Four11 directory and the
  530.  
  531. // WhoWhere, Bigfoot and Switchboard directories from being migrated.
  532.  
  533. pref("ldap_2.servers.four11.position",                        0);
  534.  
  535. pref("ldap_2.servers.four11.description",                        "Four11 Directory");
  536.  
  537. pref("ldap_2.servers.four11.serverName",                        "ldap.four11.com");
  538.  
  539.  
  540.  
  541. pref("ldap_2.servers.whowhere.position",                        0);             
  542.  
  543. pref("ldap_2.servers.whowhere.description",                        "WhoWhere Directory");
  544.  
  545. pref("ldap_2.servers.whowhere.serverName",                        "ldap.whowhere.com");
  546.  
  547.  
  548.  
  549. pref("ldap_2.servers.bigfoot.position",                            0);             
  550.  
  551. pref("ldap_2.servers.bigfoot.description",                        "Bigfoot Directory");
  552.  
  553. pref("ldap_2.servers.bigfoot.serverName",                       "ldap.bigfoot.com");
  554.  
  555.                                                                                  
  556.  
  557. pref("ldap_2.servers.switchboard.position",                        0);             
  558.  
  559. pref("ldap_2.servers.switchboard.description",                    "Switchboard Directory");
  560.  
  561. pref("ldap_2.servers.switchboard.serverName",                    "ldap.switchboard.com");
  562.  
  563.  
  564.  
  565. pref("ldap_2.user_id",                                            0);
  566.  
  567. pref("ldap_2.version",                                            3); /* Update kCurrentListVersion in include/dirprefs.h if you change this */
  568.  
  569. pref("ldap_2.prefs_migrated",      false);
  570.  
  571.  
  572.  
  573. pref("mailnews.confirm.moveFoldersToTrash", true);
  574.  
  575.  
  576.  
  577. pref("mailnews.reuse_message_window", true);
  578.  
  579.  
  580.  
  581. pref("mailnews.start_page.url", "chrome://messenger-region/locale/region.properties");
  582.  
  583. pref("mailnews.start_page.enabled", true);
  584.  
  585.  
  586.  
  587. pref("mailnews.remember_selected_message", true);
  588.  
  589. pref("mailnews.thread_pane_column_unthreads", true);
  590.  
  591.  
  592.  
  593. pref("mailnews.account_central_page.url", "chrome://messenger/locale/messenger.properties");
  594.  
  595.  
  596.  
  597. /* default prefs for Mozilla 5.0 */
  598.  
  599. pref("mail.identity.default.compose_html", true);
  600.  
  601. pref("mail.identity.default.valid", true);
  602.  
  603. pref("mail.identity.default.fcc",true);
  604.  
  605. pref("mail.identity.default.fcc_folder","mailbox://nobody@Local%20Folders/Sent");
  606.  
  607. pref("mail.identity.default.bcc_self",false);
  608.  
  609. pref("mail.identity.default.bcc_others",false);
  610.  
  611. pref("mail.identity.default.bcc_list","");
  612.  
  613. pref("mail.identity.default.draft_folder","mailbox://nobody@Local%20Folders/Drafts");
  614.  
  615. pref("mail.identity.default.stationery_folder","mailbox://nobody@Local%20Folders/Templates");
  616.  
  617. pref("mail.identity.default.directoryServer","");
  618.  
  619. pref("mail.identity.default.overrideGlobal_Pref", false);
  620.  
  621. pref("mail.identity.default.auto_quote", true);
  622.  
  623. pref("mail.identity.default.reply_on_top", 0); // 0=bottom 1=top 2=select
  624.  
  625. pref("mail.identity.default.sig_bottom", true); // true=below quoted false=above quoted
  626.  
  627.  
  628.  
  629. // Headers to always add to outgoing mail
  630.  
  631. // examples: "header1,header2"
  632.  
  633. // pref("mail.identity.id1.headers", "header1");
  634.  
  635. // user_pref("mail.identity.id1.header.header1", "X-Mozilla-Rocks: True")
  636.  
  637. pref("mail.identity.default.headers", "");
  638.  
  639.  
  640.  
  641. // by default, only collect addresses the user sends to (outgoing)
  642.  
  643. // incoming is all spam anyways
  644.  
  645. pref("mail.collect_email_address_incoming", false);
  646.  
  647. pref("mail.collect_email_address_outgoing", true);
  648.  
  649. pref("mail.collect_email_address_newsgroup", false);
  650.  
  651.  
  652.  
  653. // by default, use the Personal Addressbook for collection
  654.  
  655. pref("mail.collect_addressbook","moz-abmdbdirectory://abook.mab"); // the Personal addressbook.
  656.  
  657.  
  658.  
  659. pref("mail.default_sendlater_uri","mailbox://nobody@Local%20Folders/Unsent%20Messages");
  660.  
  661.  
  662.  
  663. pref("mail.server.default.port", -1);
  664.  
  665. pref("mail.server.default.offline_support_level", -1);
  666.  
  667. pref("mail.server.default.leave_on_server", false);
  668.  
  669. pref("mail.server.default.download_on_biff", false);
  670.  
  671. pref("mail.server.default.check_time", 10);
  672.  
  673. pref("mail.server.default.delete_by_age_from_server", false);
  674.  
  675. pref("mail.server.default.num_days_to_leave_on_server", 7);
  676.  
  677. // "mail.server.default.check_new_mail" now lives in the protocol info
  678.  
  679. pref("mail.server.default.dot_fix", true);
  680.  
  681. pref("mail.server.default.limit_offline_message_size", false);
  682.  
  683. pref("mail.server.default.max_size", 50);
  684.  
  685. pref("mail.server.default.auth_login", true);
  686.  
  687. pref("mail.server.default.delete_mail_left_on_server", false);
  688.  
  689. pref("mail.server.default.valid", true);
  690.  
  691. pref("mail.server.default.abbreviate",true);
  692.  
  693. pref("mail.server.default.isSecure", false);
  694.  
  695. pref("mail.server.default.useSecAuth", false);
  696.  
  697. pref("mail.server.default.override_namespaces", true);
  698.  
  699.  
  700.  
  701. pref("mail.server.default.delete_model", 1);
  702.  
  703. pref("mail.server.default.fetch_by_chunks", true);
  704.  
  705. pref("mail.server.default.mime_parts_on_demand", true);
  706.  
  707.  
  708.  
  709. pref("mail.server.default.always_authenticate",false);
  710.  
  711. pref("mail.server.default.singleSignon", true);
  712.  
  713. pref("mail.server.default.max_articles", 500);
  714.  
  715. pref("mail.server.default.notify.on", true);
  716.  
  717. pref("mail.server.default.mark_old_read", false);
  718.  
  719. pref("mail.server.default.empty_trash_on_exit", false);
  720.  
  721.  
  722.  
  723. pref("mail.server.default.using_subscription", true);
  724.  
  725. pref("mail.server.default.dual_use_folders", true);
  726.  
  727. pref("mail.server.default.canDelete", false);
  728.  
  729. pref("mail.server.default.login_at_startup", false);
  730.  
  731. pref("mail.server.default.allows_specialfolders_usage", true);
  732.  
  733. pref("mail.server.default.canCreateFolders", true);
  734.  
  735. pref("mail.server.default.canFileMessages", true);
  736.  
  737.  
  738.  
  739. // special enhancements for IMAP servers
  740.  
  741. pref("mail.server.default.store_read_mail_in_pfc", false);  
  742.  
  743. pref("mail.server.default.store_sent_mail_in_pfc", false);  
  744.  
  745.  
  746.  
  747. // for spam
  748.  
  749. pref("mail.server.default.spamLevel",0);  // 0 off, 100 on.  not doing bool since we might have real levels one day.
  750.  
  751. pref("mail.server.default.moveOnSpam",false);
  752.  
  753. pref("mail.server.default.moveTargetMode",0); // 0 == "Junk" on server, 1 == specific folder
  754.  
  755. pref("mail.server.default.spamActionTargetAccount","");
  756.  
  757. pref("mail.server.default.spamActionTargetFolder","");
  758.  
  759. pref("mail.server.default.useWhiteList",true);
  760.  
  761. pref("mail.server.default.whiteListAbURI","moz-abmdbdirectory://abook.mab");  // the Personal addressbook.
  762.  
  763. pref("mail.server.default.purgeSpam",false);
  764.  
  765. pref("mail.server.default.purgeSpamInterval",14); // 14 days
  766.  
  767. pref("mail.server.default.spamLoggingEnabled",false);
  768.  
  769. pref("mail.server.default.manualMark",false);
  770.  
  771. pref("mail.server.default.manualMarkMode",0); // 0 == "move to junk folder", 1 = "delete"
  772.  
  773.  
  774.  
  775.  
  776.  
  777. pref("mail.smtpserver.default.auth_method", 1); // auth any
  778.  
  779. pref("mail.smtpserver.default.trySecAuth", true);
  780.  
  781. pref("mail.smtpserver.default.try_ssl", 0);
  782.  
  783.  
  784.  
  785. // For the next 3 prefs, see <http://www.bucksch.org/1/projects/mozilla/16507>
  786.  
  787. pref("mail.display_glyph", true);   // TXT->HTML :-) etc. in viewer
  788.  
  789. pref("mail.display_struct", true);  // TXT->HTML *bold* etc. in viewer; ditto
  790.  
  791. pref("mail.send_struct", false);   // HTML->HTML *bold* etc. during Send; ditto
  792.  
  793. pref("mailnews.display.original_date", false);   // display date string from mail headers without interpreting
  794.  
  795.  
  796.  
  797. pref("mailnews.display.sanitizeJunkMail", true);
  798.  
  799.  
  800.  
  801. pref("mailnews.display.prefer_plaintext", false);  // Ignore HTML parts in multipart/alternative
  802.  
  803. 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
  804.  
  805. 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)");
  806.  
  807. 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).
  808.  
  809. This option is mainly for the UI of html_as.
  810.  
  811. 0 = allow all available classes
  812.  
  813. 1 = Use hardcoded blacklist to avoid rendering (incoming) HTML
  814.  
  815. 2 = ... and inline images
  816.  
  817. 3 = ... and some other uncommon content types
  818.  
  819. 100 = Use hardcoded whitelist to avoid even more bugs(buffer overflows).
  820.  
  821.       This mode will limit the features available (e.g. uncommon
  822.  
  823.       attachment types and inline images) and is for paranoid users.
  824.  
  825. */
  826.  
  827.  
  828.  
  829. 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)
  830.  
  831.  
  832.  
  833. pref("mail.startup.enabledMailCheckOnce", false);
  834.  
  835.  
  836.  
  837. pref("mailnews.max_header_display_length",3); // number of addresses to show
  838.  
  839.  
  840.  
  841. pref("messenger.throbber.url","chrome://messenger-region/locale/region.properties");
  842.  
  843. pref("mailnews.release_notes.url","chrome://messenger-region/locale/region.properties");
  844.  
  845. pref("mailnews.hints_and_tips.url","chrome://messenger-region/locale/region.properties");
  846.  
  847. pref("compose.throbber.url","chrome://messenger-region/locale/region.properties");
  848.  
  849. pref("addressbook.throbber.url","chrome://messenger-region/locale/region.properties");
  850.  
  851.  
  852.  
  853. pref("mailnews.send_plaintext_flowed", true); // RFC 2646=======
  854.  
  855. pref("mailnews.display.disable_format_flowed_support", false);
  856.  
  857. pref("mailnews.nav_crosses_folders", 1); // prompt user when crossing folders
  858.  
  859.  
  860.  
  861. // these two news.cancel.* prefs are for use by QA for automated testing.  see bug #31057
  862.  
  863. pref("news.cancel.confirm",true);
  864.  
  865. pref("news.cancel.alert_on_success",true);
  866.  
  867. pref("mail.SpellCheckBeforeSend",false);
  868.  
  869. pref("mail.warn_on_send_accel_key", true);
  870.  
  871. pref("mail.enable_autocomplete",true);
  872.  
  873. pref("mailnews.html_domains","");
  874.  
  875. pref("mailnews.plaintext_domains","");
  876.  
  877. pref("mailnews.global_html_domains.version",1);
  878.  
  879.  
  880.  
  881. pref("mail.imap.use_status_for_biff", true);
  882.  
  883.  
  884.  
  885. // Pref controlling the updates on the pre-configured accounts.
  886.  
  887. // In order to add new pre-configured accounts (after a version),
  888.  
  889. // increase the following version number besides updating the
  890.  
  891. // pref mail.accountmanager.appendaccounts 
  892.  
  893. pref("mailnews.append_preconfig_accounts.version",1);
  894.  
  895.  
  896.  
  897. // Pref controlling the updates on the pre-configured smtp servers.
  898.  
  899. // In order to add new pre-configured smtp servers (after a version),
  900.  
  901. // increase the following version number besides updating the
  902.  
  903. // pref mail.smtpservers.appendsmtpservers
  904.  
  905. pref("mail.append_preconfig_smtpservers.version",1);
  906.  
  907.  
  908.  
  909. pref("mail.biff.play_sound",true);
  910.  
  911. // 0 == default system sound, 1 == user specified wav
  912.  
  913. pref("mail.biff.play_sound.type",0);
  914.  
  915. // _moz_mailbeep is a magic key, for the default sound.
  916.  
  917. // otherwise, this needs to be a file url
  918.  
  919. pref("mail.biff.play_sound.url","");
  920.  
  921. pref("mail.biff.show_alert", true);
  922.  
  923.  
  924.  
  925. pref("mail.content_disposition_type", 0);
  926.  
  927.  
  928.  
  929. pref("mailnews.show_send_progress", true); //Will show a progress dialog when saving or sending a message
  930.  
  931. pref("mail.server.default.retainBy", 1);
  932.  
  933. pref("mailnews.ui.junk.firstuse", true);
  934.  
  935.  
  936.  
  937. // for manual upgrades of certain UI features.
  938.  
  939. // 1 -> 2 is for the thread pane tree landing, to hide the
  940.  
  941. // labels column, see msgMail3PaneWindow.js
  942.  
  943. // 2 -> 3 is for the junk status column
  944.  
  945. // 3 -> 4 is for the sender column
  946.  
  947. // 4 -> 5 is for the attachment column
  948.  
  949. pref("mailnews.ui.threadpane.version", 1);
  950.  
  951.  
  952.  
  953. pref("mail.showFolderPaneColumns", false); // setting to true will allow total/unread/size columns
  954.  
  955.  
  956.  
  957. //If set to a number greater than 0, msg compose windows will be recycled in order to open them quickly
  958.  
  959. pref("mail.compose.max_recycled_windows", 1); 
  960.  
  961.  
  962.  
  963. // true makes it so we persist the open state of news server when starting up the 3 pane
  964.  
  965. // this is costly, as it might result in network activity.
  966.  
  967. // false makes it so we act like 4.x
  968.  
  969. // see bug #103010 for details
  970.  
  971. pref("news.persist_server_open_state_in_folderpane",false);
  972.  
  973.  
  974.  
  975. // New color prefs for Labels
  976.  
  977. pref("mailnews.labels.description.0", "chrome://messenger/locale/messenger.properties");
  978.  
  979. pref("mailnews.labels.description.1", "chrome://messenger/locale/messenger.properties");
  980.  
  981. pref("mailnews.labels.description.2", "chrome://messenger/locale/messenger.properties");
  982.  
  983. pref("mailnews.labels.description.3", "chrome://messenger/locale/messenger.properties");
  984.  
  985. pref("mailnews.labels.description.4", "chrome://messenger/locale/messenger.properties");
  986.  
  987. pref("mailnews.labels.description.5", "chrome://messenger/locale/messenger.properties");
  988.  
  989.  
  990.  
  991. // mailews.labels.color.0 is not defined because there is no color associated with
  992.  
  993. // this particular label.  It is defined above (mailnews.lables.description.0) because
  994.  
  995. // its description string is required in order to prepend the accesskey '0':
  996.  
  997. //   ie: '0 None'.
  998.  
  999. pref("mailnews.labels.color.1", "#FF0000"); // default: red
  1000.  
  1001. pref("mailnews.labels.color.2", "#FF9900"); // default: orange
  1002.  
  1003. pref("mailnews.labels.color.3", "#009900"); // default: green
  1004.  
  1005. pref("mailnews.labels.color.4", "#3333FF"); // default: blue
  1006.  
  1007. pref("mailnews.labels.color.5", "#993399"); // default: purple
  1008.  
  1009.  
  1010.  
  1011. //default null headers
  1012.  
  1013. //example "X-Warn: XReply", list of hdrs separated by ": "
  1014.  
  1015. pref("mailnews.customHeaders", ""); 
  1016.  
  1017.  
  1018.  
  1019. pref("mailnews.fakeaccount.show", false);
  1020.  
  1021. pref("mailnews.fakeaccount.server", "");
  1022.  
  1023.  
  1024.  
  1025. // message display properties
  1026.  
  1027. pref("mailnews.message_display.disable_remote_image", false);
  1028.  
  1029. pref("mailnews.message_display.allow.plugins", false);
  1030.  
  1031.  
  1032.  
  1033. // When there is no disclosed recipients (only bcc), we should address the message to empty group
  1034.  
  1035. // to prevent some mail server to disclose the bcc recipients
  1036.  
  1037. pref("mail.compose.add_undisclosed_recipients", true);
  1038.  
  1039.  
  1040.  
  1041. // "mail.purge.min_delay", never purge a junk folder more than once every 480 minutes (60 mins/hour * 8 hours)
  1042.  
  1043. pref("mail.purge.min_delay",480);
  1044.  
  1045. // "mail.purge.timer_interval", fire the purge timer every 5 minutes, starting 5 minutes after we load accounts
  1046.  
  1047. pref("mail.purge.timer_interval",5);
  1048.  
  1049. pref("mailnews.view.last",0); // 0 == "all" view
  1050.  
  1051.  
  1052.  
  1053. // 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
  1054.  
  1055. pref("mailnews.mark_message_read.delay", false); 
  1056.  
  1057. pref("mailnews.mark_message_read.delay.interval", 5); // measured in seconds
  1058.  
  1059.  
  1060.  
  1061. // require a password before showing imap or local headers in thread pane
  1062.  
  1063. pref("mail.password_protect_local_cache", false);
  1064.  
  1065.