home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 June / maximum-cd-2011-06.iso / DiscContents / LibO_3.3.1_Win_x86_install_multi.exe / libreoffice1.cab / mailnews.js < prev    next >
Encoding:
Text File  |  2009-11-17  |  38.6 KB  |  736 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Mozilla Public License Version
  6.  * 1.1 (the "License"); you may not use this file except in compliance with
  7.  * the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/MPL/
  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.  *   Dan Mosedale <dan.mosedale@oracle.com>
  24.  *
  25.  * Alternatively, the contents of this file may be used under the terms of
  26.  * either of the GNU General Public License Version 2 or later (the "GPL"),
  27.  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  * in which case the provisions of the GPL or the LGPL are applicable instead
  29.  * of those above. If you wish to allow use of your version of this file only
  30.  * under the terms of either the GPL or the LGPL, and not to allow others to
  31.  * use your version of this file under the terms of the MPL, indicate your
  32.  * decision by deleting the provisions above and replace them with the notice
  33.  * and other provisions required by the GPL or the LGPL. If you do not delete
  34.  * the provisions above, a recipient may use your version of this file under
  35.  * the terms of any one of the MPL, the GPL or the LGPL.
  36.  *
  37.  * ***** END LICENSE BLOCK ***** */
  38.  
  39. // this is a hidden preference setting, see bugzilla bug 80035
  40. // (http://bugzilla.mozilla.org/show_bug.cgi?id=80035)
  41. //
  42. // the default value for this setting is true which means when migrating from
  43. // Netscape 4.x, mozilla will copy all the contents of Local Folders and Imap
  44. // Folder to the newly created subfolders of migrated mozilla profile
  45. // when this value is set to false, mozilla will not copy these contents and
  46. // still share them with Netscape 4.x
  47. //
  48. // Advantages of forbidding copy operation:
  49. //     reduce the disk usage
  50. //     quick migration
  51. // Disadvantage of forbidding copy operation:
  52. //     without perfect lock mechamism, there is possibility of data corruption
  53. //     when Netscape 4.x and mozilla run at the same time and access the same
  54. //     mail file at the same time
  55. pref("mail.migration.copyMailFiles", true);
  56.  
  57. //mailnews.timeline_is_enabled should be set to true ONLY for perf measurement-timeline builds.
  58. pref("mailnews.timeline_is_enabled", false);
  59.  
  60. pref("mailnews.logComposePerformance", false);
  61.  
  62. pref("mail.wrap_long_lines",                true);
  63. pref("news.wrap_long_lines",                true);
  64. pref("mail.inline_attachments",             true);
  65. pref("mailnews.auto_unzip_saved_attachments", false);
  66.  
  67. // hidden pref for controlling if the user agent string
  68. // is displayed in the message pane or not...
  69. pref("mailnews.headers.showUserAgent",       false);
  70.  
  71. // hidden pref for controlling if the organization string
  72. // is displayed in the message pane or not...
  73. pref("mailnews.headers.showOrganization",    false);
  74.  
  75. // space-delimited list of extra headers to show in msg header display area.
  76. pref("mailnews.headers.extraExpandedHeaders", "");
  77.  
  78. // If true, delete will use the direction of the sort order
  79. // in determining the next message to select. 
  80. pref("mail.delete_matches_sort_order", false);
  81.  
  82. // default sort order settings (when creating new folder views)
  83. // sort_order is an int value reflecting nsMsgViewSortOrder values
  84. //   as defined in nsIMsgDBView.idl (ascending = 1, descending = 2)
  85. // sort_type is an int value reflecting nsMsgViewSortType values
  86. //   as defined in nsIMsgDBView.idl (byDate = 18, byThread = 22 etc.)
  87. pref("mailnews.default_sort_order", 1); // for Mail/RSS/... (nsMsgDatabase)
  88. pref("mailnews.default_sort_type", 18); //
  89. pref("mailnews.default_news_sort_order", 1); // for News (nsNewsDatabase)
  90. pref("mailnews.default_news_sort_type", 22); //
  91.  
  92. // mailnews tcp read+write timeout in seconds.
  93. pref("mailnews.tcptimeout", 60);
  94.  
  95. pref("mailnews.headers.showSender", false);
  96.  
  97. // Mail server preferences, pop by default
  98. pref("mail.server_type",    0);     // 0 pop, 1 imap,
  99.                     // (Unix only:)
  100.                     // 2 movemail, 3 inbox          
  101. pref("mail.auth_login", true);
  102.  
  103. pref("mail.default_drafts", "");    // empty string use default Drafts name;
  104. pref("mail.default_templates", ""); // empty string use default Templates name
  105.  
  106. // set to 0 if you don't want to ignore timestamp differences between
  107. // local mail folders and the value stored in the corresponding .msf file.
  108. // 0 was the default up to and including 1.5. I've made the default
  109. // be greater than one hour so daylight savings time changes don't affect us.
  110. // We will still always regenerate .msf files if the file size changes.
  111. pref("mail.db_timestamp_leeway", 4000);
  112.  
  113. // check all folders for new mail
  114. pref("mail.check_all_imap_folders_for_new", false);
  115.  
  116. pref("mail.imap.server_sub_directory",      "");
  117. pref("mail.imap.max_cached_connections",    10);
  118. pref("mail.imap.fetch_by_chunks",           true);
  119. pref("mail.imap.chunk_size",                10240);
  120. pref("mail.imap.min_chunk_size_threshold",  15360);
  121. pref("mail.imap.max_chunk_size",            40960);
  122. pref("mail.imap.chunk_fast",                2);
  123. pref("mail.imap.chunk_ideal",               4);
  124. pref("mail.imap.chunk_add",                 2048);
  125. pref("mail.imap.hide_other_users",          false);
  126. pref("mail.imap.hide_unused_namespaces",    true);
  127. pref("mail.imap.new_mail_get_headers",      true);
  128. pref("mail.imap.auto_unsubscribe_from_noselect_folders",    true);
  129. pref("mail.imap.cleanup_inbox_on_exit",     false);
  130. pref("mail.imap.mime_parts_on_demand",      true);
  131. pref("mail.imap.mime_parts_on_demand_max_depth", 15);
  132. pref("mail.imap.mime_parts_on_demand_threshold", 30000);
  133. pref("mail.imap.use_literal_plus",          true);
  134. pref("mail.imap.expunge_after_delete",      false);
  135. pref("mail.imap.check_deleted_before_expunge", false);
  136. // if true, we assume that a user access a folder in the other users namespace
  137. // is acting as a delegate for that folder, and wishes to use the other users
  138. // identity when acting on messages in other users folders.
  139. pref("mail.imap.delegateOtherUsersFolders", false);
  140. pref("mail.thread_without_re",                true);  // if false, only thread by subject if Re:
  141. pref("mail.strict_threading",               false); // if true, don't thread by suject at all
  142. pref("mail.leave_on_server",                false);
  143. pref("mail.default_cc",                     "");
  144. pref("mail.default_fcc",                    ""); // maibox:URL or Imap://Host/OnLineFolderName
  145. pref("mail.check_new_mail",                 false);
  146. pref("mail.pop3_gets_new_mail",             false);
  147. pref("mail.check_time",                     10);
  148. pref("mail.pop_name",                       "");
  149. pref("mail.pop3.deleteFromServerOnMove",    false);
  150. pref("mail.remember_password",              false);
  151. pref("mail.pop_password",                   "");
  152. pref("mail.fixed_width_messages",           true);
  153. pref("mail.citation_color",                 ""); // quoted color
  154. pref("mail.quoted_style",                   0); // 0=plain, 1=bold, 2=italic, 3=bolditalic
  155. pref("mail.quoted_size",                    0); // 0=normal, 1=big, 2=small
  156. pref("mail.quoted_graphical",               true); // use HTML-style quoting for displaying plain text
  157. pref("mail.quoteasblock",                   true); // use HTML-style quoting for quoting plain text
  158. pref("mail.identity.organization",          "");
  159. pref("mail.identity.reply_to",              "");
  160. pref("mail.identity.username",              "");
  161. pref("mail.identity.useremail",             "");
  162. pref("mail.use_fcc",                        true);
  163. pref("mail.cc_self",                        false);
  164. pref("mail.strictly_mime",                  false);
  165. pref("mail.strictly_mime_headers",          true);
  166. // 0/1 (RFC 2047), 2(RFC 2231), 3/4(RFC 2231, but name param is encoded by RFC 2047)
  167. // 0/3 the name param is never separated to multiple lines.
  168. pref("mail.strictly_mime.parm_folding",     3);  
  169. pref("mail.label_ascii_only_mail_as_us_ascii", false); 
  170. pref("mail.file_attach_binary",             false);
  171. pref("mail.show_headers",                   1); // some
  172. pref("mail.pane_config",                    0);
  173. pref("mail.addr_book.mapit_url.format", "chrome://messenger-region/locale/region.properties");
  174. //@line 175 "/cygdrive/g/src/moz/wntmsci11.pro/misc/build/mozilla/I_objdir/mailnews/../../mailnews/mailnews.js"
  175. pref("mailnews.start_page.url", "chrome://messenger-region/locale/region.properties");
  176. pref("mail.addr_book.im.onlineCheckAllowed", false);
  177. pref("messenger.throbber.url","chrome://messenger-region/locale/region.properties");
  178. pref("compose.throbber.url","chrome://messenger-region/locale/region.properties");
  179. pref("addressbook.throbber.url","chrome://messenger-region/locale/region.properties");
  180. pref("mail.accountwizard.deferstorage", false);
  181. //@line 182 "/cygdrive/g/src/moz/wntmsci11.pro/misc/build/mozilla/I_objdir/mailnews/../../mailnews/mailnews.js"
  182.  
  183. // the format for "mail.addr_book.quicksearchquery.format" is:
  184. // @V == the escaped value typed in the quick search bar in the addressbook
  185. //
  186. // note, changing this might require a change to SearchNameOrEmail.label
  187. // in messenger.dtd
  188. pref("mail.addr_book.quicksearchquery.format", "chrome://messenger/locale/messenger.properties");
  189.  
  190. // values for "mail.addr_book.lastnamefirst" are:
  191. //0=displayname, 1=lastname first, 2=firstname first
  192. pref("mail.addr_book.lastnamefirst", 0); 
  193. pref("mail.addr_book.displayName.autoGeneration", true);
  194. pref("mail.addr_book.displayName.lastnamefirst", "chrome://messenger/locale/messenger.properties");
  195. pref("mail.addr_book.show_phonetic_fields", "chrome://messenger/locale/messenger.properties");
  196. pref("mail.attach_vcard",                   false);
  197. pref("mail.html_compose",                   true);
  198. // you can specify multiple, option headers
  199. // this will show up in the address picker in the compose window
  200. // examples: "X-Face" or "Approved,X-No-Archive"
  201. pref("mail.compose.other.header",        "");
  202. pref("mail.compose.autosave", true);
  203. pref("mail.compose.autosaveinterval", 5); // in minutes
  204. pref("mail.fcc_folder",                     "");
  205. pref("mail.encrypt_outgoing_mail",          false);
  206. pref("mail.crypto_sign_outgoing_mail",      false);
  207. pref("mail.default_html_action", 0);          // 0=ask, 1=plain, 2=html, 3=both
  208. pref("mail.smtp.ssl",0);                      // 0 = no, 1 = try, 2 = must use SSL
  209.  
  210. pref("mail.mdn.report.not_in_to_cc", 2);               // 0: Never 1: Always 2: Ask me
  211. pref("mail.mdn.report.outside_domain", 2);             // 0: Never 1: Always 2: Ask me
  212. pref("mail.mdn.report.other", 2);                      // 0: Never 1: Always 2: Ask me 3: Denial
  213.  
  214. pref("mail.incorporate.return_receipt", 0);            // 0: Inbox/filter 1: Sent folder
  215. pref("mail.request.return_receipt", 2);                // 1: DSN 2: MDN 3: Both
  216. pref("mail.receipt.request_header_type", 0);           // 0: MDN-DNT header  1: RRT header 2: Both (MC)
  217. pref("mail.receipt.request_return_receipt_on", false);
  218. pref("mail.mdn.report.enabled", true);                 // false: Never send true: Send sometimes
  219.  
  220. pref("mail.showPreviewText", false);
  221.  
  222. pref("news.default_cc",                     "");
  223. pref("news.default_fcc",                    ""); // mailbox:URL or Imap://Host/OnlineFolderName
  224. pref("news.use_fcc",                        true);
  225. pref("news.cc_self",                        false);
  226. pref("news.fcc_folder",                     "");
  227. pref("news.notify.on",                      true);
  228. pref("news.max_articles",                   500);
  229. pref("news.mark_old_read",                  false);
  230. pref("news.show_size_in_lines",             true);
  231. pref("news.update_unread_on_expand",        true);
  232. pref("news.get_messages_on_select",         true);
  233.  
  234. pref("mailnews.wraplength",                 72);
  235. pref("mail.compose.wrap_to_window_width",   false);
  236.  
  237. // 0=no header, 1="<author> wrote:", 2="On <date> <author> wrote:", 3="<author> wrote On <date>:", 4=user specified
  238. pref("mailnews.reply_header_type",          1);
  239. // locale which affects date format, set empty string to use application default locale
  240. pref("mailnews.reply_header_locale",        "");
  241. pref("mailnews.reply_header_authorwrote",   "chrome://messenger/locale/messengercompose/composeMsgs.properties");
  242. pref("mailnews.reply_header_ondate",        "chrome://messenger/locale/messengercompose/composeMsgs.properties");
  243.  
  244. // separator to separate between date and author
  245. pref("mailnews.reply_header_separator",     ", ");
  246. pref("mailnews.reply_header_colon",         ":");
  247. pref("mailnews.reply_header_originalmessage",   "chrome://messenger/locale/messengercompose/composeMsgs.properties");
  248.  
  249. pref("mailnews.reply_to_self_check_all_ident", false);
  250.  
  251. pref("mail.purge_threshhold",                100);
  252. pref("mail.prompt_purge_threshhold",             false);   
  253.  
  254. pref("mailnews.offline_sync_mail",         false);
  255. pref("mailnews.offline_sync_news",         false);
  256. pref("mailnews.offline_sync_send_unsent",  true);
  257. pref("mailnews.offline_sync_work_offline", false);   
  258. pref("mailnews.force_ascii_search",        false);
  259.  
  260. pref("mailnews.send_default_charset",       "chrome://messenger/locale/messenger.properties");
  261. pref("mailnews.view_default_charset",       "chrome://messenger/locale/messenger.properties");
  262. pref("mailnews.force_charset_override",     false);
  263. pref("mailnews.reply_in_default_charset",   false);
  264.  
  265. pref("mailnews.search_date_format",        "chrome://messenger/locale/messenger.properties");
  266. pref("mailnews.search_date_separator",     "chrome://messenger/locale/messenger.properties");
  267.  
  268. pref("mailnews.language_sensitive_font",    true);
  269.  
  270. pref("mailnews.quotingPrefs.version",       0);  // used to decide whether to migrate global quoting prefs
  271.  
  272. // the first time, we'll warn the user about the blind send, and they can disable the warning if they want.
  273. pref("mapi.blind-send.enabled",             true);  
  274.  
  275. pref("offline.autoDetect",                  false); // automatically move the user offline or online based on the network connection
  276. pref("offline.news.download.unread_only",   true);
  277. pref("offline.news.download.by_date",       true);
  278. pref("offline.news.download.days",          30);    // days
  279. pref("offline.news.download.increments",    3); // 0-yesterday, 1-1 wk ago, 2-2 wk ago,
  280.                                                 // 3-1 month ago, 4-6 month ago, 5-1 year ago
  281.  
  282. pref("ldap_1.number_of_directories", 6);
  283.  
  284. pref("ldap_1.directory1.description", "Personal Address Book");
  285. pref("ldap_1.directory1.dirType", 2);
  286. pref("ldap_1.directory1.isOffline", false);
  287.  
  288. pref("ldap_1.directory2.description", "Four11 Directory");
  289. pref("ldap_1.directory2.serverName", "ldap.four11.com");
  290.  
  291. pref("ldap_1.directory3.description", "InfoSpace Directory");
  292. pref("ldap_1.directory3.serverName", "ldap.infospace.com");
  293.  
  294. pref("ldap_1.directory4.description", "WhoWhere Directory");
  295. pref("ldap_1.directory4.serverName", "ldap.whowhere.com");
  296.  
  297. pref("ldap_1.directory5.description", "Bigfoot Directory");
  298. pref("ldap_1.directory5.serverName", "ldap.bigfoot.com");
  299.  
  300. pref("ldap_1.directory6.description", "Switchboard Directory");
  301. pref("ldap_1.directory6.serverName", "ldap.switchboard.com");
  302. pref("ldap_1.directory6.searchBase", "c=US");
  303. pref("ldap_1.directory6.attributes.telephoneNumber", "Phone Number:homephone");
  304. pref("ldap_1.directory6.attributes.street", "State:st");
  305. pref("ldap_1.directory6.filter1.repeatFilterForWords", false);
  306.  
  307. pref("ldap_2.autoComplete.interval", 650);
  308. pref("ldap_2.autoComplete.enabled", true);
  309. pref("ldap_2.autoComplete.useDirectory", false);
  310. pref("ldap_2.autoComplete.useAddressBooks", true);
  311. pref("ldap_2.autoComplete.skipDirectoryIfLocalMatchFound", true);
  312. pref("ldap_2.autoComplete.directoryServer", "");
  313.  
  314. pref("ldap_2.servers.pab.position",                                1);
  315. pref("ldap_2.servers.pab.description",                            "chrome://messenger/locale/addressbook/addressBook.properties");
  316. pref("ldap_2.servers.pab.dirType",                                2);
  317. pref("ldap_2.servers.pab.filename",                             "abook.mab");
  318. pref("ldap_2.servers.pab.isOffline",                            false);
  319.  
  320. pref("ldap_2.servers.history.position",                            2);
  321. pref("ldap_2.servers.history.description",                        "chrome://messenger/locale/addressbook/addressBook.properties");
  322. pref("ldap_2.servers.history.dirType",                            2);
  323. pref("ldap_2.servers.history.filename",                         "history.mab");
  324. pref("ldap_2.servers.history.isOffline",                        false);
  325.  
  326. // default mapping of addressbook properties to ldap attributes
  327. pref("ldap_2.servers.default.attrmap.FirstName", "givenName");
  328. pref("ldap_2.servers.default.attrmap.LastName", "sn,surname");
  329. pref("ldap_2.servers.default.attrmap.DisplayName", "cn,commonname");
  330. pref("ldap_2.servers.default.attrmap.NickName", "mozillaNickname,xmozillanickname");
  331. pref("ldap_2.servers.default.attrmap.PrimaryEmail", "mail");
  332. pref("ldap_2.servers.default.attrmap.SecondEmail", "mozillaSecondEmail,xmozillasecondemail");
  333. pref("ldap_2.servers.default.attrmap.WorkPhone", "telephoneNumber");
  334. pref("ldap_2.servers.default.attrmap.HomePhone", "homePhone");
  335. pref("ldap_2.servers.default.attrmap.FaxNumber", "fax,facsimiletelephonenumber");
  336. pref("ldap_2.servers.default.attrmap.PagerNumber", "pager,pagerphone");
  337. pref("ldap_2.servers.default.attrmap.CellularNumber", "mobile,cellphone,carphone");
  338. pref("ldap_2.servers.default.attrmap.WorkAddress", "street,streetaddress,postOfficeBox");
  339. pref("ldap_2.servers.default.attrmap.HomeAddress", "mozillaHomeStreet");
  340. pref("ldap_2.servers.default.attrmap.WorkAddress2", "mozillaWorkStreet2");
  341. pref("ldap_2.servers.default.attrmap.HomeAddress2", "mozillaHomeStreet2");
  342. pref("ldap_2.servers.default.attrmap.WorkCity", "l,locality");
  343. pref("ldap_2.servers.default.attrmap.HomeCity", "mozillaHomeLocalityName");
  344. pref("ldap_2.servers.default.attrmap.WorkState", "st,region");
  345. pref("ldap_2.servers.default.attrmap.HomeState", "mozillaHomeState");
  346. pref("ldap_2.servers.default.attrmap.WorkZipCode", "postalCode,zip");
  347. pref("ldap_2.servers.default.attrmap.HomeZipCode", "mozillaHomePostalCode");
  348. pref("ldap_2.servers.default.attrmap.WorkCountry", "c,countryname");
  349. pref("ldap_2.servers.default.attrmap.HomeCountry", "mozillaHomeCountryName");
  350. pref("ldap_2.servers.default.attrmap.JobTitle", "title");
  351. pref("ldap_2.servers.default.attrmap.Department", "ou,department,departmentnumber,orgunit");
  352. pref("ldap_2.servers.default.attrmap.Company", "o,company");
  353. pref("ldap_2.servers.default.attrmap._AimScreenName", "nsAIMid,nscpaimscreenname");
  354. pref("ldap_2.servers.default.attrmap.WebPage1", "mozillaWorkUrl,workurl");
  355. pref("ldap_2.servers.default.attrmap.WebPage2", "mozillaHomeUrl,homeurl");
  356. pref("ldap_2.servers.default.attrmap.BirthYear", "birthyear");
  357. pref("ldap_2.servers.default.attrmap.Custom1", "mozillaCustom1,custom1");
  358. pref("ldap_2.servers.default.attrmap.Custom2", "mozillaCustom2,custom2");
  359. pref("ldap_2.servers.default.attrmap.Custom3", "mozillaCustom3,custom3");
  360. pref("ldap_2.servers.default.attrmap.Custom4", "mozillaCustom4,custom4");
  361. pref("ldap_2.servers.default.attrmap.Notes", "description,notes");
  362. pref("ldap_2.servers.default.attrmap.PreferMailFormat", "mozillaUseHtmlMail,xmozillausehtmlmail");
  363. pref("ldap_2.servers.default.attrmap.LastModifiedDate", "modifytimestamp");
  364.  
  365.  
  366. // A position of zero is a special value that indicates the directory is deleted.
  367. // These entries are provided to keep the (obsolete) Four11 directory and the
  368. // WhoWhere, Bigfoot and Switchboard directories from being migrated.
  369. pref("ldap_2.servers.four11.position",                        0);
  370. pref("ldap_2.servers.four11.description",                        "Four11 Directory");
  371. pref("ldap_2.servers.four11.serverName",                        "ldap.four11.com");
  372.  
  373. pref("ldap_2.servers.whowhere.position",                        0);             
  374. pref("ldap_2.servers.whowhere.description",                        "WhoWhere Directory");
  375. pref("ldap_2.servers.whowhere.serverName",                        "ldap.whowhere.com");
  376.  
  377. pref("ldap_2.servers.bigfoot.position",                            0);             
  378. pref("ldap_2.servers.bigfoot.description",                        "Bigfoot Directory");
  379. pref("ldap_2.servers.bigfoot.serverName",                       "ldap.bigfoot.com");
  380.                                                                                  
  381. pref("ldap_2.servers.switchboard.position",                        0);             
  382. pref("ldap_2.servers.switchboard.description",                    "Switchboard Directory");
  383. pref("ldap_2.servers.switchboard.serverName",                    "ldap.switchboard.com");
  384.  
  385. pref("ldap_2.user_id",                                            0);
  386. pref("ldap_2.version",                                            3); /* Update kCurrentListVersion in include/dirprefs.h if you change this */
  387. pref("ldap_2.prefs_migrated",      false);
  388.  
  389. pref("mailnews.confirm.moveFoldersToTrash", true);
  390.  
  391. // space-delimited list of extra headers to add to .msf file
  392. pref("mailnews.customDBHeaders", "");
  393.  
  394. pref("mailnews.reuse_message_window", true);
  395. pref("mailnews.reuse_thread_window2", false);
  396. pref("mailnews.open_window_warning", 10); // warn user if they attempt to open more than this many messages at once
  397.  
  398. pref("mailnews.start_page.enabled", true);
  399.  
  400. pref("mailnews.remember_selected_message", true);
  401. pref("mailnews.scroll_to_new_message", true);
  402.  
  403. /* file, print, and stop hidden by default.  
  404.    see http://bugzilla.mozilla.org/show_bug.cgi?id=197729#c3 */
  405. pref("mail.toolbars.showbutton.file", false);
  406. pref("mail.toolbars.showbutton.next", true);
  407. pref("mail.toolbars.showbutton.junk", true);
  408. pref("mail.toolbars.showbutton.print",false);
  409. pref("mail.toolbars.showbutton.stop", false);
  410.  
  411. pref("mailnews.thread_pane_column_unthreads", true);
  412.  
  413. pref("mailnews.account_central_page.url", "chrome://messenger/locale/messenger.properties");
  414.  
  415. /* default prefs for Mozilla 5.0 */
  416. pref("mail.identity.default.compose_html", true);
  417. pref("mail.identity.default.valid", true);
  418. pref("mail.identity.default.fcc",true);
  419. pref("mail.identity.default.fcc_folder","mailbox://nobody@Local%20Folders/Sent");
  420. pref("mail.identity.default.fcc_reply_follows_parent", false);
  421. pref("mail.identity.default.autocompleteToMyDomain", false);
  422.  
  423. // keep these defaults for backwards compatibility and migration
  424.  
  425. // but .doBcc and .doBccList are the right ones from now on.
  426. pref("mail.identity.default.bcc_self",false);
  427. pref("mail.identity.default.bcc_others",false);
  428. pref("mail.identity.default.bcc_list","");
  429.  
  430. pref("mail.identity.default.draft_folder","mailbox://nobody@Local%20Folders/Drafts");
  431. pref("mail.identity.default.stationery_folder","mailbox://nobody@Local%20Folders/Templates");
  432. pref("mail.identity.default.directoryServer","");
  433. pref("mail.identity.default.overrideGlobal_Pref", false);
  434. pref("mail.identity.default.auto_quote", true);
  435. pref("mail.identity.default.reply_on_top", 0); // 0=bottom 1=top 2=select
  436. pref("mail.identity.default.sig_bottom", true); // true=below quoted false=above quoted
  437. // Headers to always add to outgoing mail
  438. // examples: "header1,header2"
  439. // pref("mail.identity.id1.headers", "header1");
  440. // user_pref("mail.identity.id1.header.header1", "X-Mozilla-Rocks: True")
  441. pref("mail.identity.default.headers", "");
  442.  
  443. // by default, only collect addresses the user sends to (outgoing)
  444. // incoming is all spam anyways
  445. pref("mail.collect_email_address_incoming", false);
  446. pref("mail.collect_email_address_outgoing", true);
  447. pref("mail.collect_email_address_newsgroup", false);
  448.  
  449. // by default, use the Personal Addressbook for collection
  450. pref("mail.collect_addressbook","moz-abmdbdirectory://abook.mab"); // the Personal addressbook.
  451.  
  452. pref("mail.default_sendlater_uri","mailbox://nobody@Local%20Folders/Unsent%20Messages");
  453.  
  454. pref("mail.server.default.port", -1);
  455. pref("mail.server.default.offline_support_level", -1);
  456. pref("mail.server.default.leave_on_server", false);
  457. pref("mail.server.default.download_on_biff", false);
  458. pref("mail.server.default.check_time", 10);
  459. pref("mail.server.default.delete_by_age_from_server", false);
  460. pref("mail.server.default.num_days_to_leave_on_server", 7);
  461. // "mail.server.default.check_new_mail" now lives in the protocol info
  462. pref("mail.server.default.dot_fix", true);
  463. pref("mail.server.default.limit_offline_message_size", false);
  464. pref("mail.server.default.max_size", 50);
  465. pref("mail.server.default.auth_login", true);
  466. pref("mail.server.default.delete_mail_left_on_server", false);
  467. pref("mail.server.default.valid", true);
  468. pref("mail.server.default.abbreviate",true);
  469. pref("mail.server.default.isSecure", false);
  470. pref("mail.server.default.useSecAuth", false);
  471. pref("mail.server.default.socketType", 0);
  472. pref("mail.server.default.override_namespaces", true);
  473. pref("mail.server.default.deferred_to_account", "");
  474.  
  475. pref("mail.server.default.delete_model", 1);
  476. pref("mail.server.default.fetch_by_chunks", true);
  477. pref("mail.server.default.mime_parts_on_demand", true);
  478.  
  479. pref("mail.server.default.always_authenticate",false);
  480. pref("mail.server.default.singleSignon", true);
  481. pref("mail.server.default.max_articles", 500);
  482. pref("mail.server.default.notify.on", true);
  483. pref("mail.server.default.mark_old_read", false);
  484. pref("mail.server.default.empty_trash_on_exit", false);
  485. // 0 = Keep Dupes, leave them alone
  486. // 1 = delete dupes
  487. // 2 = Move Dupes to trash
  488. // 3 = Mark Dupes as Read
  489. pref("mail.server.default.dup_action", 0);
  490.  
  491. pref("mail.server.default.using_subscription", true);
  492. pref("mail.server.default.dual_use_folders", true);
  493. pref("mail.server.default.canDelete", false);
  494. pref("mail.server.default.login_at_startup", false);
  495. pref("mail.server.default.allows_specialfolders_usage", true);
  496. pref("mail.server.default.canCreateFolders", true);
  497. pref("mail.server.default.canFileMessages", true);
  498. pref("mail.server.default.logon_fallback", true);
  499.  
  500. // special enhancements for IMAP servers
  501. pref("mail.server.default.store_read_mail_in_pfc", false);  
  502. pref("mail.server.default.store_sent_mail_in_pfc", false);  
  503. pref("mail.server.default.use_idle", true); 
  504. // for spam
  505. pref("mail.server.default.spamLevel",100);  // 0 off, 100 on.  not doing bool since we might have real levels one day.
  506. pref("mail.server.default.moveOnSpam",false);
  507. pref("mail.server.default.moveTargetMode",0); // 0 == "Junk" on server, 1 == specific folder
  508. pref("mail.server.default.spamActionTargetAccount","");
  509. pref("mail.server.default.spamActionTargetFolder","");
  510. pref("mail.server.default.useWhiteList",true);
  511. pref("mail.server.default.whiteListAbURI","moz-abmdbdirectory://abook.mab");  // the Personal addressbook.
  512. pref("mail.server.default.useServerFilter", false);
  513. pref("mail.server.default.serverFilterName", "SpamAssassin");
  514. pref("mail.server.default.serverFilterTrustFlags", 1); // 1 == trust positives, 2 == trust negatives, 3 == trust both
  515. pref("mail.server.default.purgeSpam",false);
  516. pref("mail.server.default.purgeSpamInterval",14); // 14 days
  517.  
  518. // the probablilty threshold over which messages are classified as junk
  519. // this number is divided by 100 before it is used. The classifier can be fine tuned
  520. // by changing this pref. Typical values are .99, .95, .90, .5, etc. 
  521. pref("mail.adaptivefilters.junk_threshold", 90); 
  522. pref("mail.spam.version", 0); // used to determine when to migrate global spam settings
  523. pref("mail.spam.logging.enabled", false);
  524. pref("mail.spam.manualMark", false);
  525. pref("mail.spam.markAsReadOnSpam", false);
  526. pref("mail.spam.manualMarkMode", 0); // 0 == "move to junk folder", 1 == "delete"
  527.  
  528. pref("mail.autoComplete.highlightNonMatches", true);
  529.  
  530. // if true, we'll use the password from an incoming server with
  531. // matching username and domain
  532. pref("mail.smtp.useMatchingDomainServer", false);
  533.  
  534. // if true, we'll use the password from an incoming server with
  535. // matching username and host name
  536. pref("mail.smtp.useMatchingHostNameServer", false);
  537.  
  538. pref("mail.smtpserver.default.auth_method", 1); // auth any
  539. pref("mail.smtpserver.default.trySecAuth", true);
  540. pref("mail.smtpserver.default.try_ssl", 0);
  541.  
  542. // For the next 3 prefs, see <http://www.bucksch.org/1/projects/mozilla/16507>
  543. pref("mail.display_glyph", true);   // TXT->HTML :-) etc. in viewer
  544. pref("mail.display_struct", true);  // TXT->HTML *bold* etc. in viewer; ditto
  545. pref("mail.send_struct", false);   // HTML->HTML *bold* etc. during Send; ditto
  546. pref("mailnews.display.original_date", false);   // display date string from mail headers without interpreting
  547. // For the next 4 prefs, see <http://www.bucksch.org/1/projects/mozilla/108153>
  548. pref("mailnews.display.prefer_plaintext", false);  // Ignore HTML parts in multipart/alternative
  549. 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
  550. 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)");
  551. 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).
  552. This option is mainly for the UI of html_as.
  553. 0 = allow all available classes
  554. 1 = Use hardcoded blacklist to avoid rendering (incoming) HTML
  555. 2 = ... and inline images
  556. 3 = ... and some other uncommon content types
  557. 100 = Use hardcoded whitelist to avoid even more bugs(buffer overflows).
  558.       This mode will limit the features available (e.g. uncommon
  559.       attachment types and inline images) and is for paranoid users.
  560. */
  561.  
  562. 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)
  563.  
  564. pref("mail.startup.enabledMailCheckOnce", false);
  565.  
  566. pref("mailnews.send_plaintext_flowed", true); // RFC 2646=======
  567. pref("mailnews.display.disable_format_flowed_support", false);
  568. pref("mailnews.nav_crosses_folders", 1); // prompt user when crossing folders
  569.  
  570. // these two news.cancel.* prefs are for use by QA for automated testing.  see bug #31057
  571. pref("news.cancel.confirm",true);
  572. pref("news.cancel.alert_on_success",true);
  573. pref("mail.SpellCheckBeforeSend",false);
  574. pref("mail.spellcheck.inline",true);
  575. pref("mail.phishing.detection.enabled", true); // enable / disable phishing detection for link clicks
  576. pref("mail.warn_on_send_accel_key", true);
  577. pref("mail.enable_autocomplete",true);
  578. pref("mailnews.html_domains","");
  579. pref("mailnews.plaintext_domains","");
  580. pref("mailnews.global_html_domains.version",1);
  581.  
  582. /////////////////////////////////////////////////////////////////
  583. // Privacy Controls for Handling Remote Content
  584. ///////////////////////////////////////////////////////////////// 
  585. pref("mailnews.message_display.allow.plugins", false); // disable plugins by default
  586. pref("mailnews.message_display.disable_remote_image", true);
  587.  
  588. /////////////////////////////////////////////////////////////////
  589. // Trusted Mail Domains
  590. //
  591. // Specific domains can be white listed to bypass various privacy controls in Thunderbird
  592. // such as blocking remote images, the phishing detector, etc. This is particularly
  593. // useful for business deployments where images or links reference servers inside a 
  594. // corporate intranet. For multiple domains, separate them with a comma. i.e.
  595. // pref("mail.trusteddomains", "mozilla.org,mozillafoundation.org");
  596. ///////////////////////////////////////////////////////////////// 
  597. pref("mail.trusteddomains", "");
  598.  
  599. pref("mail.imap.use_status_for_biff", true);
  600.  
  601. pref("mail.quota.mainwindow_threshold.show", 75); // in percent. when the quota meter starts showing up at all. decrease this for it to be more than a warning.
  602. pref("mail.quota.mainwindow_threshold.warning", 80); // when it gets yellow
  603. pref("mail.quota.mainwindow_threshold.critical", 95); // when it gets red
  604.  
  605. // Pref controlling confirmation of folder deletion on empty trash
  606. pref("mail.imap.confirm_emptyTrashFolderDeletion", false);
  607. // Pref controlling the updates on the pre-configured accounts.
  608. // In order to add new pre-configured accounts (after a version),
  609. // increase the following version number besides updating the
  610. // pref mail.accountmanager.appendaccounts 
  611. pref("mailnews.append_preconfig_accounts.version",1);
  612.  
  613. // Pref controlling the updates on the pre-configured smtp servers.
  614. // In order to add new pre-configured smtp servers (after a version),
  615. // increase the following version number besides updating the
  616. // pref mail.smtpservers.appendsmtpservers
  617. pref("mail.append_preconfig_smtpservers.version",1);
  618.  
  619. pref("mail.biff.play_sound",true);
  620. // 0 == default system sound, 1 == user specified wav
  621. pref("mail.biff.play_sound.type",0);
  622. // _moz_mailbeep is a magic key, for the default sound.
  623. // otherwise, this needs to be a file url
  624. pref("mail.biff.play_sound.url","");
  625. pref("mail.biff.show_alert", true);
  626. pref("mail.biff.show_tray_icon", true); // currently Windows-only
  627. pref("mail.biff.animate_dock_icon", false);
  628.  
  629. pref("mail.content_disposition_type", 0);
  630.  
  631. pref("mailnews.show_send_progress", true); //Will show a progress dialog when saving or sending a message
  632. pref("mail.server.default.retainBy", 1);
  633.  
  634. pref("mailnews.ui.junk.firstuse", true);
  635. pref("mailnews.ui.junk.manualMarkAsJunkMarksRead", true);
  636.  
  637. pref("mailnews.use_received_date", false);
  638.  
  639. // for manual upgrades of certain UI features.
  640. // 1 -> 2 is for the folder pane tree landing, to hide the
  641. // unread and total columns, see msgMail3PaneWindow.js
  642. pref("mail.ui.folderpane.version", 1);                                          
  643.  
  644. // for manual upgrades of certain UI features.
  645. // 1 -> 2 is for the thread pane tree landing, to hide the
  646. // labels column, see msgMail3PaneWindow.js
  647. // 2 -> 3 is for the junk status column
  648. pref("mailnews.ui.threadpane.version", 1);
  649. // for manual upgrades of certain UI features.
  650. // 1 -> 2 is for the ab results pane tree landing
  651. // to hide the non default columns in the addressbook dialog
  652. // see abCommon.js and addressbook.js
  653. pref("mailnews.ui.addressbook_results.version", 1);                                          
  654. // for manual upgrades of certain UI features.
  655. // 1 -> 2 is for the ab results pane tree landing
  656. // to hide the non default columns in the addressbook sidebar panel
  657. // see abCommon.js and addressbook-panel.js
  658. pref("mailnews.ui.addressbook_panel_results.version", 1);                                          
  659. // for manual upgrades of certain UI features.
  660. // 1 -> 2 is for the ab results pane tree landing
  661. // to hide the non default columns in the select addresses dialog
  662. // see abCommon.js and abSelectAddressesDialog.js
  663. pref("mailnews.ui.select_addresses_results.version", 1); 
  664. // for manual upgrades of certain UI features.
  665. // 1 -> 2 is for the ab results pane
  666. // to hide the non default columns in the advanced directory search dialog
  667. // see abCommon.js and ABSearchDialog.js
  668. pref("mailnews.ui.advanced_directory_search_results.version", 1);                                         
  669. //If set to a number greater than 0, msg compose windows will be recycled in order to open them quickly
  670. pref("mail.compose.max_recycled_windows", 1); 
  671.  
  672. // true makes it so we persist the open state of news server when starting up the 3 pane
  673. // this is costly, as it might result in network activity.
  674. // false makes it so we act like 4.x
  675. // see bug #103010 for details
  676. pref("news.persist_server_open_state_in_folderpane",false);
  677.  
  678. // default description and color prefs for tags
  679. // (we keep the .labels. names for backwards compatibility)
  680. pref("mailnews.labels.description.1", "chrome://messenger/locale/messenger.properties");
  681. pref("mailnews.labels.description.2", "chrome://messenger/locale/messenger.properties");
  682. pref("mailnews.labels.description.3", "chrome://messenger/locale/messenger.properties");
  683. pref("mailnews.labels.description.4", "chrome://messenger/locale/messenger.properties");
  684. pref("mailnews.labels.description.5", "chrome://messenger/locale/messenger.properties");
  685. pref("mailnews.labels.color.1", "#FF0000"); // default: red
  686. pref("mailnews.labels.color.2", "#FF9900"); // default: orange
  687. pref("mailnews.labels.color.3", "#009900"); // default: green
  688. pref("mailnews.labels.color.4", "#3333FF"); // default: blue
  689. pref("mailnews.labels.color.5", "#993399"); // default: purple
  690.  
  691. //default null headers
  692. //example "X-Warn: XReply", list of hdrs separated by ": "
  693. pref("mailnews.customHeaders", ""); 
  694.  
  695. pref("mailnews.fakeaccount.show", false);
  696. pref("mailnews.fakeaccount.server", "");
  697.  
  698. // default msg compose font prefs
  699. pref("msgcompose.font_face",                "");
  700. pref("msgcompose.font_size",                "medium");
  701. pref("msgcompose.text_color",               "#000000");
  702. pref("msgcompose.background_color",         "#FFFFFF");
  703.  
  704. // When there is no disclosed recipients (only bcc), we should address the message to empty group
  705. // to prevent some mail server to disclose the bcc recipients
  706. pref("mail.compose.add_undisclosed_recipients", true);
  707.  
  708. // Set this preference to true to tell mail not to attach the source of a link to a local
  709. // network file (file://///<network name>/<path>/<file name>). Windows only
  710. pref("mail.compose.dont_attach_source_of_local_network_links", false);
  711.  
  712. // these prefs (in minutes) are here to help QA test this feature
  713. // "mail.purge.min_delay", never purge a junk folder more than once every 480 minutes (60 mins/hour * 8 hours)
  714. // "mail.purge.timer_interval", fire the purge timer every 5 minutes, starting 5 minutes after we load accounts
  715. pref("mail.purge.min_delay",480);
  716. pref("mail.purge.timer_interval",5); 
  717.  
  718. // 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
  719. pref("mailnews.mark_message_read.delay", false); 
  720. pref("mailnews.mark_message_read.delay.interval", 5); // measured in seconds
  721.  
  722. // require a password before showing imap or local headers in thread pane
  723. pref("mail.password_protect_local_cache", false);
  724. // to reduce forking in the js / C++
  725. // overridden by stand alone mail
  726. pref("mail.standalone", false);
  727.  
  728. // import option to skip the first record, recorded so that we can save
  729. // the users last used preference.
  730. pref("mailnews.import.text.skipfirstrecord", true);
  731.  
  732. //@line 739 "/cygdrive/g/src/moz/wntmsci11.pro/misc/build/mozilla/I_objdir/mailnews/../../mailnews/mailnews.js"
  733.  
  734. //@line 761 "/cygdrive/g/src/moz/wntmsci11.pro/misc/build/mozilla/I_objdir/mailnews/../../mailnews/mailnews.js"
  735.  
  736.