2001-09-28 20:14:13 +00:00
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/ * * * * * * B E G I N L I C E N S E B L O C K * * * * *
* Version : NPL 1.1 / GPL 2.0 / LGPL 2.1
1998-03-28 02:44:41 +00:00
*
2001-09-28 20:14:13 +00:00
* The contents of this file are subject to the Netscape Public License
* Version 1.1 ( the "License" ) ; you may not use this file except in
* compliance with the License . You may obtain a copy of the License at
* http : //www.mozilla.org/NPL/
1998-03-28 02:44:41 +00:00
*
2001-09-28 20:14:13 +00:00
* Software distributed under the License is distributed on an "AS IS" basis ,
* WITHOUT WARRANTY OF ANY KIND , either express or implied . See the License
* for the specific language governing rights and limitations under the
* License .
1998-03-28 02:44:41 +00:00
*
1999-11-06 03:43:54 +00:00
* The Original Code is mozilla . org code .
*
2001-09-28 20:14:13 +00:00
* The Initial Developer of the Original Code is
* Netscape Communications Corporation .
* Portions created by the Initial Developer are Copyright ( C ) 1998
* the Initial Developer . All Rights Reserved .
1999-11-06 03:43:54 +00:00
*
2001-09-28 20:14:13 +00:00
* Contributor ( s ) :
*
* Alternatively , the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later ( the "GPL" ) , or
* the GNU Lesser General Public License Version 2.1 or later ( the "LGPL" ) ,
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above . If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL , and not to allow others to
* use your version of this file under the terms of the NPL , indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL . If you do not delete
* the provisions above , a recipient may use your version of this file under
* the terms of any one of the NPL , the GPL or the LGPL .
*
* * * * * * END LICENSE BLOCK * * * * * * /
1998-03-28 02:44:41 +00:00
2002-07-04 00:56:33 +00:00
// this is a hidden preference setting, see bugzilla bug 80035
// (http://bugzilla.mozilla.org/show_bug.cgi?id=80035)
//
// the default value for this setting is true which means when migrating from
// Netscape 4.x, mozilla will copy all the contents of Local Folders and Imap
// Folder to the newly created subfolders of migrated mozilla profile
// when this value is set to false, mozilla will not copy these contents and
// still share them with Netscape 4.x
//
// Advantages of forbidding copy operation:
// reduce the disk usage
// quick migration
// Disadvantage of forbidding copy operation:
// without perfect lock mechamism, there is possibility of data corruption
// when Netscape 4.x and mozilla run at the same time and access the same
// mail file at the same time
pref ( "mail.migration.copyMailFiles" , true ) ;
2001-12-21 23:21:50 +00:00
//mailnews.timeline_is_enabled should be set to true ONLY for perf measurement-timeline builds.
pref ( "mailnews.timeline_is_enabled" , false ) ;
2001-09-12 20:47:28 +00:00
pref ( "mailnews.logComposePerformance" , false ) ;
1999-06-21 23:25:33 +00:00
1999-12-21 16:17:31 +00:00
pref ( "mail.wrap_long_lines" , true ) ;
pref ( "news.wrap_long_lines" , true ) ;
1998-03-28 02:44:41 +00:00
pref ( "mail.inline_attachments" , true ) ;
2002-11-20 15:35:32 +00:00
pref ( "mailnews.auto_unzip_saved_attachments" , false ) ;
2000-04-01 00:20:17 +00:00
// hidden pref for controlling if the user agent string
// is displayed in the message pane or not...
pref ( "mailnews.headers.showUserAgent" , false ) ;
1998-03-28 02:44:41 +00:00
2003-01-17 05:58:11 +00:00
// hidden pref for controlling if the organization string
// is displayed in the message pane or not...
pref ( "mailnews.headers.showOrganization" , false ) ;
1998-03-28 02:44:41 +00:00
// Mail server preferences, pop by default
1999-09-11 19:14:15 +00:00
pref ( "mail.server_type" , 0 ) ; // 0 pop, 1 imap,
// (Unix only:)
// 2 movemail, 3 inbox
1998-03-28 02:44:41 +00:00
pref ( "mail.auth_login" , true ) ;
pref ( "mail.default_drafts" , "" ) ; // empty string use default Drafts name;
pref ( "mail.default_templates" , "" ) ; // empty string use default Templates name
pref ( "mail.imap.server_sub_directory" , "" ) ;
pref ( "mail.imap.max_cached_connections" , 10 ) ;
pref ( "mail.imap.fetch_by_chunks" , true ) ;
pref ( "mail.imap.chunk_size" , 10240 ) ;
pref ( "mail.imap.min_chunk_size_threshold" , 15360 ) ;
pref ( "mail.imap.max_chunk_size" , 40960 ) ;
pref ( "mail.imap.chunk_fast" , 2 ) ;
pref ( "mail.imap.chunk_ideal" , 4 ) ;
pref ( "mail.imap.chunk_add" , 2048 ) ;
2001-01-22 20:30:26 +00:00
pref ( "mail.imap.hide_other_users" , false ) ;
pref ( "mail.imap.hide_unused_namespaces" , true ) ;
1998-03-28 02:44:41 +00:00
pref ( "mail.imap.new_mail_get_headers" , true ) ;
pref ( "mail.imap.auto_unsubscribe_from_noselect_folders" , true ) ;
pref ( "mail.imap.cleanup_inbox_on_exit" , false ) ;
2000-06-06 03:15:17 +00:00
pref ( "mail.imap.mime_parts_on_demand" , true ) ;
2000-03-22 21:53:26 +00:00
pref ( "mail.imap.mime_parts_on_demand_max_depth" , 15 ) ;
2000-06-06 03:15:17 +00:00
pref ( "mail.imap.mime_parts_on_demand_threshold" , 30000 ) ;
2004-02-07 18:55:11 +00:00
pref ( "mail.imap.use_literal_plus" , true ) ;
2001-01-22 20:30:26 +00:00
pref ( "mail.thread_without_re" , true ) ;
1998-03-28 02:44:41 +00:00
pref ( "mail.leave_on_server" , false ) ;
pref ( "mail.default_cc" , "" ) ;
pref ( "mail.default_fcc" , "" ) ; // maibox:URL or Imap://Host/OnLineFolderName
pref ( "mail.check_new_mail" , false ) ;
pref ( "mail.pop3_gets_new_mail" , false ) ;
pref ( "mail.check_time" , 10 ) ;
pref ( "mail.pop_name" , "" ) ;
pref ( "mail.remember_password" , false ) ;
pref ( "mail.pop_password" , "" ) ;
pref ( "mail.fixed_width_messages" , true ) ;
2000-06-06 23:37:04 +00:00
pref ( "mail.citation_color" , "" ) ; // quoted color
pref ( "mail.quoted_style" , 0 ) ; // 0=plain, 1=bold, 2=italic, 3=bolditalic
pref ( "mail.quoted_size" , 0 ) ; // 0=normal, 1=big, 2=small
pref ( "mail.quoted_graphical" , true ) ; // use HTML-style quoting for displaying plain text
2000-09-15 22:07:28 +00:00
pref ( "mail.quoteasblock" , true ) ; // use HTML-style quoting for quoting plain text
1998-03-28 02:44:41 +00:00
pref ( "mail.identity.organization" , "" ) ;
pref ( "mail.identity.reply_to" , "" ) ;
pref ( "mail.identity.username" , "" ) ;
pref ( "mail.identity.useremail" , "" ) ;
pref ( "mail.use_fcc" , true ) ;
pref ( "mail.cc_self" , false ) ;
2000-03-28 07:21:13 +00:00
pref ( "mail.strictly_mime" , false ) ;
pref ( "mail.strictly_mime_headers" , true ) ;
1998-03-28 02:44:41 +00:00
pref ( "mail.file_attach_binary" , false ) ;
pref ( "mail.show_headers" , 1 ) ; // some
pref ( "mail.pane_config" , 0 ) ;
2002-04-09 00:37:59 +00:00
pref ( "mail.addr_book.mapit_url.format" , "chrome://messenger-region/locale/region.properties" ) ;
2001-12-27 23:05:57 +00:00
// the format for "mail.addr_book.quicksearchquery.format" is:
// @V == the escaped value typed in the quick search bar in the addressbook
//
// note, changing this might require a change to SearchNameOrEmail.label
// in messenger.dtd
2002-12-02 22:27:38 +00:00
pref ( "mail.addr_book.quicksearchquery.format" , "chrome://messenger/locale/messenger.properties" ) ;
2001-12-27 23:05:57 +00:00
// values for "mail.addr_book.lastnamefirst" are:
//0=displayname, 1=lastname first, 2=firstname first
pref ( "mail.addr_book.lastnamefirst" , 0 ) ;
1999-07-23 01:08:09 +00:00
pref ( "mail.addr_book.displayName.autoGeneration" , true ) ;
2002-11-26 00:40:50 +00:00
pref ( "mail.addr_book.displayName.lastnamefirst" , "chrome://messenger/locale/messenger.properties" ) ;
2002-11-12 19:03:14 +00:00
pref ( "mail.addr_book.show_phonetic_fields" , "chrome://messenger/locale/messenger.properties" ) ;
1998-03-28 02:44:41 +00:00
pref ( "mail.attach_vcard" , false ) ;
pref ( "mail.html_compose" , true ) ;
2003-08-10 18:24:08 +00:00
// you can specify multiple, option headers
2002-12-16 18:39:52 +00:00
// this will show up in the address picker in the compose window
2003-08-10 18:24:08 +00:00
// examples: "X-Face" or "Approved,X-No-Archive"
1999-07-27 01:11:10 +00:00
pref ( "mail.compose.other.header" , "" ) ;
2002-04-16 18:48:19 +00:00
pref ( "mail.fcc_folder" , "" ) ;
1998-03-28 02:44:41 +00:00
pref ( "mail.encrypt_outgoing_mail" , false ) ;
pref ( "mail.crypto_sign_outgoing_mail" , false ) ;
2002-03-08 22:17:03 +00:00
pref ( "mail.default_html_action" , 0 ) ; // 0=ask, 1=plain, 2=html, 3=both
pref ( "mail.smtp.ssl" , 0 ) ; // 0 = no, 1 = try, 2 = must use SSL
pref ( "mail.mdn.report.not_in_to_cc" , 2 ) ; // 0: Never 1: Always 2: Ask me
pref ( "mail.mdn.report.outside_domain" , 2 ) ; // 0: Never 1: Always 2: Ask me
pref ( "mail.mdn.report.other" , 2 ) ; // 0: Never 1: Always 2: Ask me 3: Denial
pref ( "mail.incorporate.return_receipt" , 0 ) ; // 0: Inbox/filter 1: Sent folder
pref ( "mail.request.return_receipt" , 2 ) ; // 1: DSN 2: MDN 3: Both
pref ( "mail.receipt.request_header_type" , 0 ) ; // 0: MDN-DNT header 1: RRT header 2: Both (MC)
pref ( "mail.receipt.request_return_receipt_on" , false ) ;
2002-05-14 00:22:48 +00:00
pref ( "mail.mdn.report.enabled" , true ) ; // false: Never send true: Send sometimes
1998-03-28 02:44:41 +00:00
pref ( "news.default_cc" , "" ) ;
pref ( "news.default_fcc" , "" ) ; // mailbox:URL or Imap://Host/OnlineFolderName
pref ( "news.use_fcc" , true ) ;
pref ( "news.cc_self" , false ) ;
pref ( "news.fcc_folder" , "" ) ;
pref ( "news.notify.on" , true ) ;
1999-10-29 04:49:41 +00:00
pref ( "news.max_articles" , 500 ) ;
1998-03-28 02:44:41 +00:00
pref ( "news.mark_old_read" , false ) ;
pref ( "mailnews.wraplength" , 72 ) ;
2002-04-17 00:41:14 +00:00
pref ( "mail.compose.wrap_to_window_width" , false ) ;
1998-03-28 02:44:41 +00:00
2001-10-31 23:13:35 +00:00
// 0=no header, 1="<author> wrote:", 2="On <date> <author> wrote:", 3="<author> wrote On <date>:", 4=user specified
Implement date&time support in reply-headers, like:
"On <date & time>, <author> wrote:"
For now, this is optional (set mailnews.reply_header_type to '2' in prefs.js), we will default to only show "<author> wrote:", as usual. This is due to some l10n issues which are part of bug 75377. The date&time format is hard-coded to be en-US if set, again, bug 75377.
bug 23615. r=disttsc@bart.nl, sr=sspitzer@netscape.com
Fix a bunch of leaks (15 of them) in addressbook, addressbook-sync and import-mail code. None of the callers to GetUserProfileDirectory() deallocated their nsFileSpec.
bug 75332. r=chuang@netscape.com, sr=bienvenu@netscape.com
2001-04-16 20:40:07 +00:00
pref ( "mailnews.reply_header_type" , 1 ) ;
2001-10-31 23:13:35 +00:00
// locale which affects date format, set empty string to use application default locale
2002-08-15 22:30:31 +00:00
pref ( "mailnews.reply_header_locale" , "" ) ;
2002-03-07 20:18:31 +00:00
pref ( "mailnews.reply_header_authorwrote" , "chrome://messenger/locale/messengercompose/composeMsgs.properties" ) ;
2001-10-31 23:13:35 +00:00
pref ( "mailnews.reply_header_ondate" , "On %s" ) ;
// separator to separate between date and author
pref ( "mailnews.reply_header_separator" , ", " ) ;
pref ( "mailnews.reply_header_colon" , ":" ) ;
2002-03-07 20:18:31 +00:00
pref ( "mailnews.reply_header_originalmessage" , "chrome://messenger/locale/messengercompose/composeMsgs.properties" ) ;
Implement date&time support in reply-headers, like:
"On <date & time>, <author> wrote:"
For now, this is optional (set mailnews.reply_header_type to '2' in prefs.js), we will default to only show "<author> wrote:", as usual. This is due to some l10n issues which are part of bug 75377. The date&time format is hard-coded to be en-US if set, again, bug 75377.
bug 23615. r=disttsc@bart.nl, sr=sspitzer@netscape.com
Fix a bunch of leaks (15 of them) in addressbook, addressbook-sync and import-mail code. None of the callers to GetUserProfileDirectory() deallocated their nsFileSpec.
bug 75332. r=chuang@netscape.com, sr=bienvenu@netscape.com
2001-04-16 20:40:07 +00:00
2001-04-12 14:35:05 +00:00
pref ( "mail.purge_threshhold" , 100 ) ;
pref ( "mail.prompt_purge_threshhold" , false ) ;
2001-06-08 21:17:43 +00:00
pref ( "mailnews.offline_sync_mail" , false ) ;
pref ( "mailnews.offline_sync_news" , false ) ;
pref ( "mailnews.offline_sync_send_unsent" , true ) ;
pref ( "mailnews.offline_sync_work_offline" , false ) ;
2000-06-22 22:07:32 +00:00
pref ( "mailnews.force_ascii_search" , false ) ;
1998-03-28 02:44:41 +00:00
pref ( "mailnews.autolookup_unknown_mime_types" , true ) ;
2000-07-19 22:39:37 +00:00
pref ( "mailnews.send_default_charset" , "chrome://messenger/locale/messenger.properties" ) ;
2001-03-22 02:20:48 +00:00
pref ( "mailnews.view_default_charset" , "chrome://messenger/locale/messenger.properties" ) ;
2000-07-06 23:25:40 +00:00
pref ( "mailnews.force_charset_override" , false ) ;
2004-02-21 20:54:18 +00:00
pref ( "mailnews.reply_in_default_charset" , false ) ;
2000-02-16 07:39:29 +00:00
2002-11-12 19:03:14 +00:00
pref ( "mailnews.search_date_format" , "chrome://messenger/locale/messenger.properties" ) ;
pref ( "mailnews.search_date_separator" , "chrome://messenger/locale/messenger.properties" ) ;
2000-04-26 21:08:15 +00:00
pref ( "mailnews.language_sensitive_font" , true ) ;
2003-08-12 12:33:04 +00:00
pref ( "mailnews.quotingPrefs.version" , 0 ) ; // used to decide whether to migrate global quoting prefs
1998-03-28 02:44:41 +00:00
pref ( "offline.news.download.unread_only" , true ) ;
pref ( "offline.news.download.by_date" , true ) ;
pref ( "offline.news.download.days" , 30 ) ; // days
pref ( "offline.news.download.increments" , 3 ) ; // 0-yesterday, 1-1 wk ago, 2-2 wk ago,
// 3-1 month ago, 4-6 month ago, 5-1 year ago
pref ( "ldap_1.number_of_directories" , 6 ) ;
pref ( "ldap_1.directory1.description" , "Personal Address Book" ) ;
pref ( "ldap_1.directory1.dirType" , 2 ) ;
pref ( "ldap_1.directory1.isOffline" , false ) ;
pref ( "ldap_1.directory2.description" , "Four11 Directory" ) ;
pref ( "ldap_1.directory2.serverName" , "ldap.four11.com" ) ;
pref ( "ldap_1.directory3.description" , "InfoSpace Directory" ) ;
pref ( "ldap_1.directory3.serverName" , "ldap.infospace.com" ) ;
pref ( "ldap_1.directory4.description" , "WhoWhere Directory" ) ;
pref ( "ldap_1.directory4.serverName" , "ldap.whowhere.com" ) ;
pref ( "ldap_1.directory5.description" , "Bigfoot Directory" ) ;
pref ( "ldap_1.directory5.serverName" , "ldap.bigfoot.com" ) ;
pref ( "ldap_1.directory6.description" , "Switchboard Directory" ) ;
pref ( "ldap_1.directory6.serverName" , "ldap.switchboard.com" ) ;
pref ( "ldap_1.directory6.searchBase" , "c=US" ) ;
pref ( "ldap_1.directory6.attributes.telephoneNumber" , "Phone Number:homephone" ) ;
pref ( "ldap_1.directory6.attributes.street" , "State:st" ) ;
pref ( "ldap_1.directory6.filter1.repeatFilterForWords" , false ) ;
2002-02-06 03:45:51 +00:00
pref ( "ldap_2.autoComplete.interval" , 650 ) ;
pref ( "ldap_2.autoComplete.enabled" , true ) ;
2001-05-03 21:24:48 +00:00
pref ( "ldap_2.autoComplete.useDirectory" , false ) ;
2002-02-06 03:45:51 +00:00
pref ( "ldap_2.autoComplete.useAddressBooks" , true ) ;
2001-05-03 21:24:48 +00:00
pref ( "ldap_2.autoComplete.skipDirectoryIfLocalMatchFound" , true ) ;
pref ( "ldap_2.autoComplete.directoryServer" , "" ) ;
1999-06-03 22:27:31 +00:00
pref ( "ldap_2.servers.pab.position" , 1 ) ;
2000-07-13 21:07:01 +00:00
pref ( "ldap_2.servers.pab.description" , "chrome://messenger/locale/addressbook/addressBook.properties" ) ;
1999-06-03 22:27:31 +00:00
pref ( "ldap_2.servers.pab.dirType" , 2 ) ;
pref ( "ldap_2.servers.pab.isOffline" , false ) ;
1999-08-20 23:28:48 +00:00
pref ( "ldap_2.servers.history.position" , 2 ) ;
2000-07-13 21:07:01 +00:00
pref ( "ldap_2.servers.history.description" , "chrome://messenger/locale/addressbook/addressBook.properties" ) ;
1999-08-20 23:28:48 +00:00
pref ( "ldap_2.servers.history.dirType" , 2 ) ;
pref ( "ldap_2.servers.history.isOffline" , false ) ;
1999-06-03 22:27:31 +00:00
// A position of zero is a special value that indicates the directory is deleted.
// These entries are provided to keep the (obsolete) Four11 directory and the
// WhoWhere, Bigfoot and Switchboard directories from being migrated.
pref ( "ldap_2.servers.four11.position" , 0 ) ;
pref ( "ldap_2.servers.four11.description" , "Four11 Directory" ) ;
pref ( "ldap_2.servers.four11.serverName" , "ldap.four11.com" ) ;
pref ( "ldap_2.servers.whowhere.position" , 0 ) ;
pref ( "ldap_2.servers.whowhere.description" , "WhoWhere Directory" ) ;
pref ( "ldap_2.servers.whowhere.serverName" , "ldap.whowhere.com" ) ;
pref ( "ldap_2.servers.bigfoot.position" , 0 ) ;
pref ( "ldap_2.servers.bigfoot.description" , "Bigfoot Directory" ) ;
pref ( "ldap_2.servers.bigfoot.serverName" , "ldap.bigfoot.com" ) ;
pref ( "ldap_2.servers.switchboard.position" , 0 ) ;
pref ( "ldap_2.servers.switchboard.description" , "Switchboard Directory" ) ;
pref ( "ldap_2.servers.switchboard.serverName" , "ldap.switchboard.com" ) ;
pref ( "ldap_2.user_id" , 0 ) ;
2000-03-16 23:15:37 +00:00
pref ( "ldap_2.version" , 3 ) ; /* Update kCurrentListVersion in include/dirprefs.h if you change this */
2001-05-03 21:24:48 +00:00
pref ( "ldap_2.prefs_migrated" , false ) ;
1999-06-21 02:25:34 +00:00
2000-01-11 09:57:50 +00:00
pref ( "mailnews.confirm.moveFoldersToTrash" , true ) ;
2002-10-08 01:04:11 +00:00
pref ( "mailnews.reuse_message_window" , true ) ;
2004-02-09 00:38:51 +00:00
pref ( "mailnews.open_window_warning" , 10 ) ; // warn user if they attempt to open more than this many messages at once
2002-10-08 01:04:11 +00:00
2001-02-23 08:34:10 +00:00
pref ( "mailnews.start_page.url" , "chrome://messenger-region/locale/region.properties" ) ;
1999-06-21 02:25:34 +00:00
pref ( "mailnews.start_page.enabled" , true ) ;
1999-07-01 21:52:26 +00:00
2002-10-08 05:54:12 +00:00
pref ( "mailnews.remember_selected_message" , true ) ;
2003-03-21 08:54:38 +00:00
/ * f i l e , p r i n t , a n d s t o p h i d d e n b y d e f a u l t .
see http : //bugzilla.mozilla.org/show_bug.cgi?id=197729#c3 */
pref ( "mail.toolbars.showbutton.file" , false ) ;
2002-10-08 05:54:12 +00:00
pref ( "mail.toolbars.showbutton.next" , true ) ;
2002-11-07 20:37:55 +00:00
pref ( "mail.toolbars.showbutton.junk" , true ) ;
2003-03-21 08:54:38 +00:00
pref ( "mail.toolbars.showbutton.print" , false ) ;
pref ( "mail.toolbars.showbutton.stop" , false ) ;
2002-10-08 05:54:12 +00:00
2003-07-14 14:11:46 +00:00
pref ( "mailnews.thread_pane_column_unthreads" , true ) ;
2001-01-23 21:54:12 +00:00
pref ( "mailnews.account_central_page.url" , "chrome://messenger/locale/messenger.properties" ) ;
1999-07-01 21:52:26 +00:00
/* default prefs for Mozilla 5.0 */
pref ( "mail.identity.default.compose_html" , true ) ;
2000-01-15 03:06:39 +00:00
pref ( "mail.identity.default.valid" , true ) ;
2000-02-26 07:42:09 +00:00
pref ( "mail.identity.default.fcc" , true ) ;
2001-09-13 03:00:59 +00:00
pref ( "mail.identity.default.fcc_folder" , "mailbox://nobody@Local%20Folders/Sent" ) ;
2000-02-26 07:42:09 +00:00
pref ( "mail.identity.default.bcc_self" , false ) ;
pref ( "mail.identity.default.bcc_others" , false ) ;
pref ( "mail.identity.default.bcc_list" , "" ) ;
2001-09-13 03:00:59 +00:00
pref ( "mail.identity.default.draft_folder" , "mailbox://nobody@Local%20Folders/Drafts" ) ;
pref ( "mail.identity.default.stationery_folder" , "mailbox://nobody@Local%20Folders/Templates" ) ;
2001-05-03 21:24:48 +00:00
pref ( "mail.identity.default.directoryServer" , "" ) ;
pref ( "mail.identity.default.overrideGlobal_Pref" , false ) ;
2003-08-12 12:33:04 +00:00
pref ( "mail.identity.default.auto_quote" , true ) ;
pref ( "mail.identity.default.reply_on_top" , 0 ) ; // 0=bottom 1=top 2=select
2003-09-23 23:07:54 +00:00
pref ( "mail.identity.default.sig_bottom" , true ) ; // true=below quoted false=above quoted
2003-08-10 18:24:08 +00:00
// Headers to always add to outgoing mail
// examples: "header1,header2"
// pref("mail.identity.id1.headers", "header1");
// user_pref("mail.identity.id1.header.header1", "X-Mozilla-Rocks: True")
pref ( "mail.identity.default.headers" , "" ) ;
1999-07-19 20:50:22 +00:00
2002-09-07 01:55:13 +00:00
// by default, only collect addresses the user sends to (outgoing)
2002-09-07 01:49:29 +00:00
// incoming is all spam anyways
pref ( "mail.collect_email_address_incoming" , false ) ;
2000-06-15 04:57:16 +00:00
pref ( "mail.collect_email_address_outgoing" , true ) ;
2001-01-18 05:38:03 +00:00
pref ( "mail.collect_email_address_newsgroup" , false ) ;
2002-09-12 03:59:14 +00:00
// by default, use the Personal Addressbook for collection
2002-09-20 00:04:01 +00:00
pref ( "mail.collect_addressbook" , "moz-abmdbdirectory://abook.mab" ) ; // the Personal addressbook.
2002-09-12 03:59:14 +00:00
2001-09-13 03:00:59 +00:00
pref ( "mail.default_sendlater_uri" , "mailbox://nobody@Local%20Folders/Unsent%20Messages" ) ;
1999-10-27 22:44:34 +00:00
pref ( "mail.server.default.port" , - 1 ) ;
2001-05-19 01:39:03 +00:00
pref ( "mail.server.default.offline_support_level" , - 1 ) ;
1999-12-01 00:05:34 +00:00
pref ( "mail.server.default.leave_on_server" , false ) ;
2001-01-25 20:38:45 +00:00
pref ( "mail.server.default.download_on_biff" , false ) ;
2000-02-03 08:11:52 +00:00
pref ( "mail.server.default.check_time" , 10 ) ;
2003-09-13 15:11:13 +00:00
pref ( "mail.server.default.delete_by_age_from_server" , false ) ;
pref ( "mail.server.default.num_days_to_leave_on_server" , 7 ) ;
2001-01-31 20:25:33 +00:00
// "mail.server.default.check_new_mail" now lives in the protocol info
1999-12-10 23:42:44 +00:00
pref ( "mail.server.default.dot_fix" , true ) ;
2001-10-17 04:53:25 +00:00
pref ( "mail.server.default.limit_offline_message_size" , false ) ;
1999-12-20 14:51:10 +00:00
pref ( "mail.server.default.max_size" , 50 ) ;
pref ( "mail.server.default.auth_login" , true ) ;
pref ( "mail.server.default.delete_mail_left_on_server" , false ) ;
2000-01-15 03:06:39 +00:00
pref ( "mail.server.default.valid" , true ) ;
1999-12-24 08:57:54 +00:00
pref ( "mail.server.default.abbreviate" , true ) ;
2000-01-19 01:15:22 +00:00
pref ( "mail.server.default.isSecure" , false ) ;
2003-06-04 04:09:26 +00:00
pref ( "mail.server.default.useSecAuth" , false ) ;
2000-02-03 04:35:45 +00:00
pref ( "mail.server.default.override_namespaces" , true ) ;
1999-12-24 08:57:54 +00:00
2000-04-05 05:31:14 +00:00
pref ( "mail.server.default.delete_model" , 1 ) ;
pref ( "mail.server.default.fetch_by_chunks" , true ) ;
pref ( "mail.server.default.mime_parts_on_demand" , true ) ;
2001-08-09 03:06:58 +00:00
pref ( "mail.server.default.always_authenticate" , false ) ;
2003-09-16 09:45:49 +00:00
pref ( "mail.server.default.singleSignon" , true ) ;
2000-02-03 06:33:29 +00:00
pref ( "mail.server.default.max_articles" , 500 ) ;
pref ( "mail.server.default.notify.on" , true ) ;
pref ( "mail.server.default.mark_old_read" , false ) ;
2000-05-15 02:45:47 +00:00
pref ( "mail.server.default.empty_trash_on_exit" , false ) ;
2000-02-03 06:33:29 +00:00
2000-06-05 21:57:56 +00:00
pref ( "mail.server.default.using_subscription" , true ) ;
pref ( "mail.server.default.dual_use_folders" , true ) ;
2000-12-21 23:34:22 +00:00
pref ( "mail.server.default.canDelete" , false ) ;
2001-01-23 21:54:12 +00:00
pref ( "mail.server.default.login_at_startup" , false ) ;
2001-06-23 21:12:23 +00:00
pref ( "mail.server.default.allows_specialfolders_usage" , true ) ;
2001-06-29 07:05:35 +00:00
pref ( "mail.server.default.canCreateFolders" , true ) ;
pref ( "mail.server.default.canFileMessages" , true ) ;
2000-06-05 21:57:56 +00:00
2002-09-30 22:10:01 +00:00
// special enhancements for IMAP servers
pref ( "mail.server.default.store_read_mail_in_pfc" , false ) ;
pref ( "mail.server.default.store_sent_mail_in_pfc" , false ) ;
2004-03-05 15:31:13 +00:00
pref ( "mail.server.default.use_idle" , true ) ;
2002-09-20 00:04:01 +00:00
// for spam
2003-03-02 21:36:43 +00:00
pref ( "mail.server.default.spamLevel" , 100 ) ; // 0 off, 100 on. not doing bool since we might have real levels one day.
2002-09-20 00:04:01 +00:00
pref ( "mail.server.default.moveOnSpam" , false ) ;
2002-09-26 00:33:15 +00:00
pref ( "mail.server.default.moveTargetMode" , 0 ) ; // 0 == "Junk" on server, 1 == specific folder
pref ( "mail.server.default.spamActionTargetAccount" , "" ) ;
pref ( "mail.server.default.spamActionTargetFolder" , "" ) ;
2002-09-20 00:04:01 +00:00
pref ( "mail.server.default.useWhiteList" , true ) ;
pref ( "mail.server.default.whiteListAbURI" , "moz-abmdbdirectory://abook.mab" ) ; // the Personal addressbook.
pref ( "mail.server.default.purgeSpam" , false ) ;
pref ( "mail.server.default.purgeSpamInterval" , 14 ) ; // 14 days
2002-09-26 01:58:11 +00:00
pref ( "mail.server.default.spamLoggingEnabled" , false ) ;
2003-05-14 20:38:40 +00:00
pref ( "mail.server.default.manualMark" , false ) ;
pref ( "mail.server.default.manualMarkMode" , 0 ) ; // 0 == "move to junk folder", 1 == "delete"
2002-09-20 00:04:01 +00:00
2004-02-07 01:17:03 +00:00
// if true, we'll use the password from an incoming server with
// matching username and domain
2004-02-11 04:36:46 +00:00
pref ( "mail.smtp.useMatchingDomainServer" , false ) ;
2004-02-07 01:17:03 +00:00
// if true, we'll use the password from an incoming server with
// matching username and host name
2004-02-11 04:36:46 +00:00
pref ( "mail.smtp.useMatchingHostNameServer" , false ) ;
2004-02-07 01:17:03 +00:00
2001-02-13 02:09:25 +00:00
pref ( "mail.smtpserver.default.auth_method" , 1 ) ; // auth any
2003-08-14 21:25:24 +00:00
pref ( "mail.smtpserver.default.trySecAuth" , true ) ;
2001-06-13 21:28:16 +00:00
pref ( "mail.smtpserver.default.try_ssl" , 0 ) ;
2000-05-10 22:01:49 +00:00
2002-04-16 18:31:21 +00:00
// For the next 3 prefs, see <http://www.bucksch.org/1/projects/mozilla/16507>
pref ( "mail.display_glyph" , true ) ; // TXT->HTML :-) etc. in viewer
pref ( "mail.display_struct" , true ) ; // TXT->HTML *bold* etc. in viewer; ditto
pref ( "mail.send_struct" , false ) ; // HTML->HTML *bold* etc. during Send; ditto
2003-06-23 11:50:26 +00:00
pref ( "mailnews.display.original_date" , false ) ; // display date string from mail headers without interpreting
2002-04-16 18:31:21 +00:00
// For the next 4 prefs, see <http://www.bucksch.org/1/projects/mozilla/108153>
pref ( "mailnews.display.prefer_plaintext" , false ) ; // Ignore HTML parts in multipart/alternative
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
2003-10-30 21:14:51 +00:00
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)" ) ;
2002-04-16 18:31:21 +00:00
pref ( "mailnews.display.disallow_mime_handlers" , 0 ) ; / * L e t o n l y a f e w c l a s s e s p r o c e s s i n c o m i n g d a t a . T h i s p r o t e c t s f r o m b u g s ( e . g . b u f f e r o v e r f l o w s ) a n d f r o m s e c u r i t y l o o p h o l e s ( e . g . a l l o w i n g u n c h e c k e d H T M L i n s o m e o b s c u r e c l a s s e s , a l t h o u g h t h e u s e r h a s h t m l _ a s > 0 ) .
This option is mainly for the UI of html _as .
0 = allow all available classes
1 = Use hardcoded blacklist to avoid rendering ( incoming ) HTML
2 = ... and inline images
3 = ... and some other uncommon content types
100 = Use hardcoded whitelist to avoid even more bugs ( buffer overflows ) .
This mode will limit the features available ( e . g . uncommon
attachment types and inline images ) and is for paranoid users .
* /
1999-12-29 18:22:31 +00:00
2001-04-06 03:53:42 +00:00
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)
2000-01-06 22:24:27 +00:00
2001-02-23 02:48:35 +00:00
pref ( "mail.startup.enabledMailCheckOnce" , false ) ;
2000-01-06 22:24:27 +00:00
pref ( "mailnews.max_header_display_length" , 3 ) ; // number of addresses to show
2000-03-04 22:48:53 +00:00
2001-02-23 08:34:10 +00:00
pref ( "messenger.throbber.url" , "chrome://messenger-region/locale/region.properties" ) ;
pref ( "compose.throbber.url" , "chrome://messenger-region/locale/region.properties" ) ;
pref ( "addressbook.throbber.url" , "chrome://messenger-region/locale/region.properties" ) ;
2000-03-12 01:53:04 +00:00
2000-03-15 02:47:53 +00:00
pref ( "mailnews.send_plaintext_flowed" , true ) ; // RFC 2646=======
2000-12-19 19:43:12 +00:00
pref ( "mailnews.display.disable_format_flowed_support" , false ) ;
2001-01-31 00:59:30 +00:00
pref ( "mailnews.nav_crosses_folders" , 1 ) ; // prompt user when crossing folders
2000-03-15 02:47:53 +00:00
// these two news.cancel.* prefs are for use by QA for automated testing. see bug #31057
pref ( "news.cancel.confirm" , true ) ;
pref ( "news.cancel.alert_on_success" , true ) ;
2000-05-05 17:58:48 +00:00
pref ( "mail.SpellCheckBeforeSend" , false ) ;
2001-10-01 02:14:05 +00:00
pref ( "mail.warn_on_send_accel_key" , true ) ;
2000-05-11 00:27:20 +00:00
pref ( "mail.enable_autocomplete" , true ) ;
2001-02-26 19:48:03 +00:00
pref ( "mailnews.html_domains" , "" ) ;
pref ( "mailnews.plaintext_domains" , "" ) ;
2002-02-05 09:06:26 +00:00
pref ( "mailnews.global_html_domains.version" , 1 ) ;
2001-01-06 02:43:03 +00:00
2003-11-18 03:35:28 +00:00
pref ( "mail.imap.use_status_for_biff" , true ) ;
2004-02-02 18:21:08 +00:00
// Pref controlling confirmation of folder deletion on empty trash
pref ( "mail.imap.confirm_emptyTrashFolderDeletion" , false ) ;
2002-06-19 07:44:30 +00:00
// Pref controlling the updates on the pre-configured accounts.
// In order to add new pre-configured accounts (after a version),
// increase the following version number besides updating the
// pref mail.accountmanager.appendaccounts
pref ( "mailnews.append_preconfig_accounts.version" , 1 ) ;
// Pref controlling the updates on the pre-configured smtp servers.
// In order to add new pre-configured smtp servers (after a version),
// increase the following version number besides updating the
// pref mail.smtpservers.appendsmtpservers
pref ( "mail.append_preconfig_smtpservers.version" , 1 ) ;
2001-01-06 02:43:03 +00:00
pref ( "mail.biff.play_sound" , true ) ;
2002-09-18 08:33:35 +00:00
// 0 == default system sound, 1 == user specified wav
pref ( "mail.biff.play_sound.type" , 0 ) ;
2002-09-16 03:27:57 +00:00
// _moz_mailbeep is a magic key, for the default sound.
// otherwise, this needs to be a file url
2002-09-18 08:33:35 +00:00
pref ( "mail.biff.play_sound.url" , "" ) ;
2002-03-22 19:26:28 +00:00
pref ( "mail.biff.show_alert" , true ) ;
2001-01-06 02:43:03 +00:00
2001-02-01 15:53:05 +00:00
pref ( "mail.content_disposition_type" , 0 ) ;
2001-04-13 04:50:14 +00:00
2001-06-09 05:26:39 +00:00
pref ( "mailnews.show_send_progress" , true ) ; //Will show a progress dialog when saving or sending a message
2001-06-20 00:23:35 +00:00
pref ( "mail.server.default.retainBy" , 1 ) ;
2001-09-22 00:13:21 +00:00
2003-05-16 01:10:33 +00:00
pref ( "mailnews.ui.junk.firstuse" , true ) ;
2001-09-22 00:13:21 +00:00
// for manual upgrades of certain UI features.
2002-03-29 02:46:01 +00:00
// 1 -> 2 is for the folder pane tree landing, to hide the
2001-09-22 00:13:21 +00:00
// unread and total columns, see msgMail3PaneWindow.js
2001-11-03 05:39:53 +00:00
pref ( "mail.ui.folderpane.version" , 1 ) ;
2001-11-03 04:44:43 +00:00
2001-12-14 02:57:31 +00:00
// for manual upgrades of certain UI features.
2002-03-29 02:46:01 +00:00
// 1 -> 2 is for the thread pane tree landing, to hide the
2001-12-14 02:57:31 +00:00
// labels column, see msgMail3PaneWindow.js
2003-05-06 01:04:17 +00:00
// 2 -> 3 is for the junk status column
pref ( "mailnews.ui.threadpane.version" , 1 ) ;
2001-12-22 02:06:31 +00:00
// for manual upgrades of certain UI features.
2002-03-29 02:46:01 +00:00
// 1 -> 2 is for the ab results pane tree landing
2001-12-22 02:06:31 +00:00
// to hide the non default columns in the addressbook dialog
// see abCommon.js and addressbook.js
pref ( "mailnews.ui.addressbook_results.version" , 1 ) ;
// for manual upgrades of certain UI features.
2002-03-29 02:46:01 +00:00
// 1 -> 2 is for the ab results pane tree landing
2001-12-22 02:06:31 +00:00
// to hide the non default columns in the addressbook sidebar panel
// see abCommon.js and addressbook-panel.js
pref ( "mailnews.ui.addressbook_panel_results.version" , 1 ) ;
// for manual upgrades of certain UI features.
2002-03-29 02:46:01 +00:00
// 1 -> 2 is for the ab results pane tree landing
2001-12-22 02:06:31 +00:00
// to hide the non default columns in the select addresses dialog
// see abCommon.js and abSelectAddressesDialog.js
2002-02-13 08:01:04 +00:00
pref ( "mailnews.ui.select_addresses_results.version" , 1 ) ;
// for manual upgrades of certain UI features.
// 1 -> 2 is for the ab results pane
// to hide the non default columns in the advanced directory search dialog
// see abCommon.js and ABSearchDialog.js
pref ( "mailnews.ui.advanced_directory_search_results.version" , 1 ) ;
2001-11-03 04:44:43 +00:00
//If set to a number greater than 0, msg compose windows will be recycled in order to open them quickly
2002-03-02 21:13:10 +00:00
pref ( "mail.compose.max_recycled_windows" , 1 ) ;
2001-10-30 22:57:12 +00:00
// true makes it so we persist the open state of news server when starting up the 3 pane
// this is costly, as it might result in network activity.
// false makes it so we act like 4.x
// see bug #103010 for details
pref ( "news.persist_server_open_state_in_folderpane" , false ) ;
2001-12-07 21:37:22 +00:00
// New color prefs for Labels
pref ( "mailnews.labels.description.0" , "chrome://messenger/locale/messenger.properties" ) ;
pref ( "mailnews.labels.description.1" , "chrome://messenger/locale/messenger.properties" ) ;
pref ( "mailnews.labels.description.2" , "chrome://messenger/locale/messenger.properties" ) ;
pref ( "mailnews.labels.description.3" , "chrome://messenger/locale/messenger.properties" ) ;
pref ( "mailnews.labels.description.4" , "chrome://messenger/locale/messenger.properties" ) ;
pref ( "mailnews.labels.description.5" , "chrome://messenger/locale/messenger.properties" ) ;
// mailews.labels.color.0 is not defined because there is no color associated with
// this particular label. It is defined above (mailnews.lables.description.0) because
// its description string is required in order to prepend the accesskey '0':
// ie: '0 None'.
pref ( "mailnews.labels.color.1" , "#FF0000" ) ; // default: red
pref ( "mailnews.labels.color.2" , "#FF9900" ) ; // default: orange
pref ( "mailnews.labels.color.3" , "#009900" ) ; // default: green
pref ( "mailnews.labels.color.4" , "#3333FF" ) ; // default: blue
pref ( "mailnews.labels.color.5" , "#993399" ) ; // default: purple
2002-01-25 22:13:28 +00:00
//default null headers
//example "X-Warn: XReply", list of hdrs separated by ": "
pref ( "mailnews.customHeaders" , "" ) ;
2002-04-10 11:57:39 +00:00
pref ( "mailnews.fakeaccount.show" , false ) ;
pref ( "mailnews.fakeaccount.server" , "" ) ;
2002-05-31 18:43:23 +00:00
// message display properties
pref ( "mailnews.message_display.disable_remote_image" , false ) ;
pref ( "mailnews.message_display.allow.plugins" , true ) ;
2002-12-02 23:43:26 +00:00
2003-04-16 07:07:10 +00:00
// default msg compose font prefs
pref ( "msgcompose.font_face" , "" ) ;
pref ( "msgcompose.font_size" , "medium" ) ;
pref ( "msgcompose.text_color" , "#000000" ) ;
pref ( "msgcompose.background_color" , "#FFFFFF" ) ;
2002-12-02 23:43:26 +00:00
// When there is no disclosed recipients (only bcc), we should address the message to empty group
// to prevent some mail server to disclose the bcc recipients
pref ( "mail.compose.add_undisclosed_recipients" , true ) ;
2003-03-04 00:28:40 +00:00
// these prefs (in minutes) are here to help QA test this feature
// "mail.purge.min_delay", never purge a junk folder more than once every 480 minutes (60 mins/hour * 8 hours)
// "mail.purge.timer_interval", fire the purge timer every 5 minutes, starting 5 minutes after we load accounts
pref ( "mail.purge.min_delay" , 480 ) ;
pref ( "mail.purge.timer_interval" , 5 ) ;
2004-01-06 20:30:07 +00:00
// 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
pref ( "mailnews.mark_message_read.delay" , false ) ;
pref ( "mailnews.mark_message_read.delay.interval" , 5 ) ; // measured in seconds
2003-08-08 14:16:11 +00:00
// require a password before showing imap or local headers in thread pane
pref ( "mail.password_protect_local_cache" , false ) ;
2003-04-16 20:39:38 +00:00
// to reduce forking in the js / C++
// overridden by stand alone mail
pref ( "mail.standalone" , false ) ;
2003-05-08 14:05:57 +00:00
pref ( "mailnews.view.last" , 0 ) ; // 0 == "all" view
2004-01-16 19:22:43 +00:00
2004-01-17 20:04:03 +00:00
# ifdef XP _WIN
2004-01-16 19:22:43 +00:00
// Unread mail count timer. Value to be specified in seconds
// default is 5 minutes, i.e., 5 * 60 seconds = 300
pref ( "mail.windows_xp_integration.unread_count_interval" , 300 ) ;
# endif
2004-01-17 20:04:03 +00:00
# ifdef XP _MACOSX
2004-01-16 19:22:43 +00:00
pref ( "mail.notification.sound" , "" ) ;
pref ( "mail.close_message_window.on_delete" , true ) ;
pref ( "mail.close_message_window.on_file" , true ) ;
pref ( "mail.server_type_on_restart" , - 1 ) ;
# endif
2004-01-16 23:59:09 +00:00
2004-01-17 20:04:03 +00:00
# ifndef XP _MACOSX
2004-01-16 23:59:09 +00:00
# ifdef XP _UNIX
pref ( "mail.empty_trash" , false ) ;
pref ( "mail.check_new_mail" , true ) ;
pref ( "mail.signature_file" , "~/.signature" ) ;
pref ( "mail.default_fcc" , "~/nsmail/Sent" ) ;
pref ( "news.default_fcc" , "~/nsmail/Sent" ) ;
pref ( "mailnews.reply_with_extra_lines" , 0 ) ;
pref ( "mail.use_builtin_movemail" , true ) ;
pref ( "mail.movemail_program" , "" ) ;
pref ( "mail.movemail_warn" , false ) ;
pref ( "mail.sash_geometry" , "" ) ;
pref ( "news.cache_xover" , false ) ;
pref ( "news.show_first_unread" , false ) ;
pref ( "news.sash_geometry" , "" ) ;
pref ( "mail.signature_date" , 0 ) ;
// until bug #130581 is fixed, we need to override this on linux
pref ( "mail.compose.max_recycled_windows" , 0 ) ;
2004-01-17 20:04:03 +00:00
# XP _UNIX
# endif
2004-01-16 23:59:09 +00:00
# endif
2004-02-05 19:27:53 +00:00
# ifdef XP _OS2
pref ( "mail.compose.max_recycled_windows" , 0 ) ;
# endif