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