home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / linux / mozilla-installer_linux / xpi / browser.xpi / bin / defaults / pref / mailnews.js < prev    next >
Text File  |  2001-11-20  |  17KB  |  343 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. pref("mailnews.logComposePerformance", false);
  39.  
  40. pref("mail.wrap_long_lines",                true);
  41. pref("news.wrap_long_lines",                true);
  42. pref("mail.inline_attachments",             true);
  43. // hidden pref for controlling if the user agent string
  44. // is displayed in the message pane or not...
  45. pref("mailnews.headers.showUserAgent",       false);
  46.  
  47. // Mail server preferences, pop by default
  48. pref("mail.server_type",    0);     // 0 pop, 1 imap,
  49.                     // (Unix only:)
  50.                     // 2 movemail, 3 inbox          
  51. pref("mail.auth_login", true);
  52.  
  53. pref("mail.default_drafts", "");    // empty string use default Drafts name;
  54. pref("mail.default_templates", ""); // empty string use default Templates name
  55.  
  56. pref("mail.imap.server_sub_directory",      "");
  57. pref("mail.imap.max_cached_connections",    10);
  58. pref("mail.imap.fetch_by_chunks",           true);
  59. pref("mail.imap.chunk_size",                10240);
  60. pref("mail.imap.min_chunk_size_threshold",  15360);
  61. pref("mail.imap.max_chunk_size",            40960);
  62. pref("mail.imap.chunk_fast",                2);
  63. pref("mail.imap.chunk_ideal",               4);
  64. pref("mail.imap.chunk_add",                 2048);
  65. pref("mail.imap.hide_other_users",          false);
  66. pref("mail.imap.hide_unused_namespaces",    true);
  67. pref("mail.imap.new_mail_get_headers",      true);
  68. pref("mail.imap.auto_unsubscribe_from_noselect_folders",    true);
  69. pref("mail.imap.cleanup_inbox_on_exit",     false);
  70. pref("mail.imap.mime_parts_on_demand",      true);
  71. pref("mail.imap.mime_parts_on_demand_max_depth", 15);
  72. pref("mail.imap.mime_parts_on_demand_threshold", 30000);
  73. pref("mail.thread_without_re",                true);
  74. pref("mail.leave_on_server",                false);
  75. pref("mail.default_cc",                     "");
  76. pref("mail.default_fcc",                    ""); // maibox:URL or Imap://Host/OnLineFolderName
  77. pref("mail.check_new_mail",                 false);
  78. pref("mail.pop3_gets_new_mail",             false);
  79. pref("mail.check_time",                     10);
  80. pref("mail.pop_name",                       "");
  81. pref("mail.remember_password",              false);
  82. pref("mail.pop_password",                   "");
  83. pref("mail.auto_quote",                     true);
  84. pref("mail.fixed_width_messages",           true);
  85. pref("mail.citation_color",                 ""); // quoted color
  86. pref("mail.quoted_style",                   0); // 0=plain, 1=bold, 2=italic, 3=bolditalic
  87. pref("mail.quoted_size",                    0); // 0=normal, 1=big, 2=small
  88. pref("mail.quoted_graphical",               true); // use HTML-style quoting for displaying plain text
  89. pref("mail.quoteasblock",                   true); // use HTML-style quoting for quoting plain text
  90. pref("mail.identity.organization",          "");
  91. pref("mail.identity.reply_to",              "");
  92. pref("mail.identity.username",              "");
  93. pref("mail.identity.useremail",             "");
  94. pref("mail.use_fcc",                        true);
  95. pref("mail.cc_self",                        false);
  96. pref("mail.strictly_mime",                  false);
  97. pref("mail.strictly_mime_headers",          true);
  98. pref("mail.file_attach_binary",             false);
  99. pref("mail.show_headers",                   1); // some
  100. pref("mail.pane_config",                    0);
  101. pref("mail.addr_book.lastnamefirst", 0); //0=displayname, 1=lastname first, 2=firstname first
  102. pref("mail.addr_book.displayName.autoGeneration", true);
  103. pref("mail.addr_book.displayName.lastnamefirst", false); // generate display names in last first order
  104. pref("mail.attach_vcard",                   false);
  105. pref("mail.html_compose",                   true);
  106. pref("mail.compose.other.header",        "");
  107. localDefPref("mail.fcc_folder",                     "");
  108. pref("mail.encrypt_outgoing_mail",          false);
  109. pref("mail.crypto_sign_outgoing_mail",      false);
  110. pref("mail.default_html_action", 0);    // 0=ask, 1=plain, 2=html, 3=both
  111. pref("mail.smtp.ssl",                       0); // 0 = no, 1 = try, 2 = must use SSL
  112. pref("mail.mdn.report.not_in_to_cc", 0);      // 0: Never 1: Always 2: Ask me
  113. pref("mail.mdn.report.outside_domain", 2);    // 0: Never 1: Always 2: Ask me
  114. pref("mail.mdn.report.other", 2);   // 0: Never 1: Always 2: Ask me 3: Denial
  115. pref("mail.incorporate.return_receipt", 1); // 0: inbox/filter 1: Sent folder
  116. pref("mail.request.return_receipt", 2);     // 1: DSN 2: MDN 3: Both
  117. pref("mail.receipt.request_header_type", 0); // 0: MDN-DNT header  1: RRT header 2: Both (MC)
  118.  
  119. pref("news.default_cc",                     "");
  120. pref("news.default_fcc",                    ""); // mailbox:URL or Imap://Host/OnlineFolderName
  121. pref("news.use_fcc",                        true);
  122. pref("news.cc_self",                        false);
  123. pref("news.fcc_folder",                     "");
  124. pref("news.notify.on",                      true);
  125. pref("news.max_articles",                   500);
  126. pref("news.mark_old_read",                  false);
  127.  
  128. pref("mailnews.wraplength",                 72);
  129.  
  130. pref("mailnews.reply_on_top",               0); // 0=bottom 1=top 2=select+bottom 3=select+top
  131.  
  132. // 0=no header, 1="<author> wrote:", 2="On <date> <author> wrote:", 3="<author> wrote On <date>:", 4=user specified
  133. pref("mailnews.reply_header_type",          1);
  134. // locale which affects date format, set empty string to use application default locale
  135. pref("mailnews.reply_header_locale",        "en-US");
  136. pref("mailnews.reply_header_authorwrote",   "%s wrote");
  137. pref("mailnews.reply_header_ondate",        "On %s");
  138. // separator to separate between date and author
  139. pref("mailnews.reply_header_separator",     ", ");
  140. pref("mailnews.reply_header_colon",         ":");
  141. pref("mailnews.reply_header_originalmessage",   "--- Original Message ---");
  142.  
  143. pref("mail.purge_threshhold",                100);
  144. pref("mail.prompt_purge_threshhold",             false);   
  145.  
  146. pref("mailnews.offline_sync_mail",         false);
  147. pref("mailnews.offline_sync_news",         false);
  148. pref("mailnews.offline_sync_send_unsent",  true);
  149. pref("mailnews.offline_sync_work_offline", false);   
  150. pref("mailnews.force_ascii_search",         false);
  151. pref("mailnews.autolookup_unknown_mime_types",  true);
  152.  
  153. pref("mailnews.send_default_charset",       "chrome://messenger/locale/messenger.properties");
  154. pref("mailnews.view_default_charset",       "chrome://messenger/locale/messenger.properties");
  155. pref("mailnews.force_charset_override",     false);
  156.  
  157. pref("mailnews.language_sensitive_font",    true);
  158.  
  159. pref("offline.news.download.unread_only",   true);
  160. pref("offline.news.download.by_date",       true);
  161. pref("offline.news.download.use_days",      false);
  162. pref("offline.news.download.days",          30);    // days
  163. pref("offline.news.download.increments",    3); // 0-yesterday, 1-1 wk ago, 2-2 wk ago,
  164.                                                 // 3-1 month ago, 4-6 month ago, 5-1 year ago
  165.  
  166. pref("ldap_1.number_of_directories", 6);
  167.  
  168. pref("ldap_1.directory1.description", "Personal Address Book");
  169. pref("ldap_1.directory1.dirType", 2);
  170. pref("ldap_1.directory1.isOffline", false);
  171.  
  172. pref("ldap_1.directory2.description", "Four11 Directory");
  173. pref("ldap_1.directory2.serverName", "ldap.four11.com");
  174.  
  175. pref("ldap_1.directory3.description", "InfoSpace Directory");
  176. pref("ldap_1.directory3.serverName", "ldap.infospace.com");
  177.  
  178. pref("ldap_1.directory4.description", "WhoWhere Directory");
  179. pref("ldap_1.directory4.serverName", "ldap.whowhere.com");
  180.  
  181. pref("ldap_1.directory5.description", "Bigfoot Directory");
  182. pref("ldap_1.directory5.serverName", "ldap.bigfoot.com");
  183.  
  184. pref("ldap_1.directory6.description", "Switchboard Directory");
  185. pref("ldap_1.directory6.serverName", "ldap.switchboard.com");
  186. pref("ldap_1.directory6.searchBase", "c=US");
  187. pref("ldap_1.directory6.attributes.telephoneNumber", "Phone Number:homephone");
  188. pref("ldap_1.directory6.attributes.street", "State:st");
  189. pref("ldap_1.directory6.filter1.repeatFilterForWords", false);
  190.  
  191. pref("ldap_2.autoComplete.interval",                            650);
  192. pref("ldap_2.autoComplete.enabled",                                true);
  193. pref("ldap_2.autoComplete.useDirectory", false);
  194. pref("ldap_2.autoComplete.skipDirectoryIfLocalMatchFound", true);
  195. pref("ldap_2.autoComplete.directoryServer", "");
  196.  
  197. pref("ldap_2.servers.pab.position",                                1);
  198. pref("ldap_2.servers.pab.description",                            "chrome://messenger/locale/addressbook/addressBook.properties");
  199. pref("ldap_2.servers.pab.dirType",                                2);
  200. pref("ldap_2.servers.pab.isOffline",                            false);
  201.  
  202. pref("ldap_2.servers.history.position",                            2);
  203. pref("ldap_2.servers.history.description",                        "chrome://messenger/locale/addressbook/addressBook.properties");
  204. pref("ldap_2.servers.history.dirType",                            2);
  205. pref("ldap_2.servers.history.isOffline",                        false);
  206.  
  207.  
  208. // A position of zero is a special value that indicates the directory is deleted.
  209. // These entries are provided to keep the (obsolete) Four11 directory and the
  210. // WhoWhere, Bigfoot and Switchboard directories from being migrated.
  211. pref("ldap_2.servers.four11.position",                        0);
  212. pref("ldap_2.servers.four11.description",                        "Four11 Directory");
  213. pref("ldap_2.servers.four11.serverName",                        "ldap.four11.com");
  214.  
  215. pref("ldap_2.servers.whowhere.position",                        0);             
  216. pref("ldap_2.servers.whowhere.description",                        "WhoWhere Directory");
  217. pref("ldap_2.servers.whowhere.serverName",                        "ldap.whowhere.com");
  218.  
  219. pref("ldap_2.servers.bigfoot.position",                            0);             
  220. pref("ldap_2.servers.bigfoot.description",                        "Bigfoot Directory");
  221. pref("ldap_2.servers.bigfoot.serverName",                       "ldap.bigfoot.com");
  222.                                                                                  
  223. pref("ldap_2.servers.switchboard.position",                        0);             
  224. pref("ldap_2.servers.switchboard.description",                    "Switchboard Directory");
  225. pref("ldap_2.servers.switchboard.serverName",                    "ldap.switchboard.com");
  226.  
  227. pref("ldap_2.user_id",                                            0);
  228. pref("ldap_2.version",                                            3); /* Update kCurrentListVersion in include/dirprefs.h if you change this */
  229. pref("ldap_2.prefs_migrated",      false);
  230.  
  231. pref("mailnews.confirm.moveFoldersToTrash", true);
  232.  
  233. pref("mailnews.start_page.url", "chrome://messenger-region/locale/region.properties");
  234. pref("mailnews.start_page.enabled", true);
  235.  
  236. pref("mailnews.account_central_page.url", "chrome://messenger/locale/messenger.properties");
  237.  
  238. /* default prefs for Mozilla 5.0 */
  239. pref("mail.identity.default.compose_html", true);
  240. pref("mail.identity.default.valid", true);
  241. pref("mail.identity.default.fcc",true);
  242. pref("mail.identity.default.fcc_folder","mailbox://nobody@Local%20Folders/Sent");
  243. pref("mail.identity.default.bcc_self",false);
  244. pref("mail.identity.default.bcc_others",false);
  245. pref("mail.identity.default.bcc_list","");
  246. pref("mail.identity.default.draft_folder","mailbox://nobody@Local%20Folders/Drafts");
  247. pref("mail.identity.default.stationery_folder","mailbox://nobody@Local%20Folders/Templates");
  248. pref("mail.identity.default.directoryServer","");
  249. pref("mail.identity.default.overrideGlobal_Pref", false);
  250.  
  251.  
  252. pref("mail.collect_email_address_incoming", true);
  253. pref("mail.collect_email_address_outgoing", true);
  254. pref("mail.collect_email_address_newsgroup", false);
  255. pref("mail.collect_email_address_enable_size_limit", true);
  256. pref("mail.collect_email_address_size_limit", 700);
  257. pref("mail.default_sendlater_uri","mailbox://nobody@Local%20Folders/Unsent%20Messages");
  258.  
  259. pref("mail.server.default.port", -1);
  260. pref("mail.server.default.offline_support_level", -1);
  261. pref("mail.server.default.leave_on_server", false);
  262. pref("mail.server.default.download_on_biff", false);
  263. pref("mail.server.default.check_time", 10);
  264. // "mail.server.default.check_new_mail" now lives in the protocol info
  265. pref("mail.server.default.dot_fix", true);
  266. pref("mail.server.default.limit_offline_message_size", false);
  267. pref("mail.server.default.max_size", 50);
  268. pref("mail.server.default.auth_login", true);
  269. pref("mail.server.default.delete_mail_left_on_server", false);
  270. pref("mail.server.default.valid", true);
  271. pref("mail.server.default.abbreviate",true);
  272. pref("mail.server.default.isSecure", false);
  273. pref("mail.server.default.override_namespaces", true);
  274.  
  275. pref("mail.server.default.delete_model", 1);
  276. pref("mail.server.default.fetch_by_chunks", true);
  277. pref("mail.server.default.mime_parts_on_demand", true);
  278.  
  279. pref("mail.server.default.always_authenticate",false);
  280. pref("mail.server.default.max_articles", 500);
  281. pref("mail.server.default.notify.on", true);
  282. pref("mail.server.default.mark_old_read", false);
  283. pref("mail.server.default.empty_trash_on_exit", false);
  284.  
  285. pref("mail.server.default.using_subscription", true);
  286. pref("mail.server.default.dual_use_folders", true);
  287. pref("mail.server.default.canDelete", false);
  288. pref("mail.server.default.login_at_startup", false);
  289. pref("mail.server.default.allows_specialfolders_usage", true);
  290. pref("mail.server.default.canCreateFolders", true);
  291. pref("mail.server.default.canFileMessages", true);
  292.  
  293. pref("mail.smtpserver.default.auth_method", 1); // auth any
  294. pref("mail.smtpserver.default.try_ssl", 0);
  295.  
  296. pref("mail.display_glyph", true);   // see <http://www.bucksch.org/1/projects/mozilla/16507>
  297. pref("mail.display_struct", true);  // ditto
  298. pref("mail.send_struct", false);   // ditto
  299.  
  300. 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)
  301.  
  302. pref("mail.startup.enabledMailCheckOnce", false);
  303.  
  304. pref("mailnews.max_header_display_length",3); // number of addresses to show
  305.  
  306. pref("messenger.throbber.url","chrome://messenger-region/locale/region.properties");
  307. pref("compose.throbber.url","chrome://messenger-region/locale/region.properties");
  308. pref("addressbook.throbber.url","chrome://messenger-region/locale/region.properties");
  309.  
  310. pref("mailnews.send_plaintext_flowed", true); // RFC 2646=======
  311. pref("mailnews.display.disable_format_flowed_support", false);
  312. pref("mailnews.nav_crosses_folders", 1); // prompt user when crossing folders
  313.  
  314. // these two news.cancel.* prefs are for use by QA for automated testing.  see bug #31057
  315. pref("news.cancel.confirm",true);
  316. pref("news.cancel.alert_on_success",true);
  317. pref("mail.SpellCheckBeforeSend",false);
  318. pref("mail.warn_on_send_accel_key", true);
  319. pref("mail.enable_autocomplete",true);
  320. pref("mailnews.html_domains","");
  321. pref("mailnews.plaintext_domains","");
  322.  
  323. pref("mail.biff.play_sound",true);
  324.  
  325. pref("mail.content_disposition_type", 0);
  326.  
  327. pref("mailnews.show_send_progress", true); //Will show a progress dialog when saving or sending a message
  328. pref("mail.server.default.retainBy", 1);
  329.  
  330. // for manual upgrades of certain UI features.
  331. // 1 -> 2 is for the folder pane outliner landing, to hide the
  332. // unread and total columns, see msgMail3PaneWindow.js
  333. pref("mail.ui.folderpane.version", 1);                                          
  334.  
  335. //If set to a number greater than 0, msg compose windows will be recycled in order to open them quickly
  336. pref("mail.compose.max_recycled_windows", 0); 
  337.  
  338. // true makes it so we persist the open state of news server when starting up the 3 pane
  339. // this is costly, as it might result in network activity.
  340. // false makes it so we act like 4.x
  341. // see bug #103010 for details
  342. pref("news.persist_server_open_state_in_folderpane",false);
  343.