source: trunk/puppet/modules/thunderbird_default_config/files/mailnews.js @ 411

Last change on this file since 411 was 411, checked in by alberto, 15 years ago

nuevo modulo puppet para configurar thunderbird ticket 42 y 43

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