1998-03-28 05:44:41 +03:00
/ * - * - M o d e : J a v a ; t a b - w i d t h : 4 ; i n d e n t - t a b s - m o d e : n i l ; c - b a s i c - o f f s e t : 2 - * -
*
1999-11-06 06:43:54 +03: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 05:44:41 +03:00
*
1999-11-06 06:43:54 +03: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 05:44:41 +03:00
*
1999-11-06 06:43:54 +03:00
* The Original Code is mozilla . org code .
*
* The Initial Developer of the Original Code is Netscape
1998-03-28 05:44:41 +03:00
* Communications Corporation . Portions created by Netscape are
1999-11-06 06:43:54 +03:00
* Copyright ( C ) 1998 Netscape Communications Corporation . All
* Rights Reserved .
*
* Contributor ( s ) :
1998-03-28 05:44:41 +03:00
* /
1999-06-22 03:25:33 +04:00
pref ( "mail.showMessengerPerformance" , false ) ;
1999-12-21 19:17:31 +03:00
pref ( "mail.wrap_long_lines" , true ) ;
pref ( "news.wrap_long_lines" , true ) ;
1998-03-28 05:44:41 +03:00
pref ( "mail.inline_attachments" , true ) ;
2000-04-01 04:20:17 +04: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 05:44:41 +03:00
// Mail server preferences, pop by default
1999-09-11 23:14:15 +04:00
pref ( "mail.server_type" , 0 ) ; // 0 pop, 1 imap,
// (Unix only:)
// 2 movemail, 3 inbox
1998-03-28 05:44:41 +03: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 23:30:26 +03:00
pref ( "mail.imap.hide_other_users" , false ) ;
pref ( "mail.imap.hide_unused_namespaces" , true ) ;
1998-03-28 05:44:41 +03: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 07:15:17 +04:00
pref ( "mail.imap.mime_parts_on_demand" , true ) ;
2000-03-23 00:53:26 +03:00
pref ( "mail.imap.mime_parts_on_demand_max_depth" , 15 ) ;
2000-06-06 07:15:17 +04:00
pref ( "mail.imap.mime_parts_on_demand_threshold" , 30000 ) ;
2001-01-22 23:30:26 +03:00
pref ( "mail.thread_without_re" , true ) ;
1998-03-28 05:44:41 +03: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.auto_quote" , true ) ;
pref ( "mail.fixed_width_messages" , true ) ;
2000-06-07 03:37:04 +04: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-16 02:07:28 +04:00
pref ( "mail.quoteasblock" , true ) ; // use HTML-style quoting for quoting plain text
1998-03-28 05:44:41 +03: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 ) ;
pref ( "mail.limit_message_size" , false ) ;
pref ( "mail.max_size" , 50 ) ; // download message size limit
2000-03-28 11:21:13 +04:00
pref ( "mail.strictly_mime" , false ) ;
pref ( "mail.strictly_mime_headers" , true ) ;
1998-03-28 05:44:41 +03:00
pref ( "mail.file_attach_binary" , false ) ;
pref ( "mail.show_headers" , 1 ) ; // some
pref ( "mail.pane_config" , 0 ) ;
2000-02-01 05:41:31 +03:00
pref ( "mail.addr_book.lastnamefirst" , 0 ) ; //0=displayname, 1=lastname first, 2=firstname first
1999-07-23 05:08:09 +04:00
pref ( "mail.addr_book.displayName.autoGeneration" , true ) ;
2000-02-01 05:41:31 +03:00
pref ( "mail.addr_book.displayName.lastnamefirst" , false ) ; // generate display names in last first order
1998-03-28 05:44:41 +03:00
pref ( "mail.attach_vcard" , false ) ;
pref ( "mail.html_compose" , true ) ;
1999-07-27 05:11:10 +04:00
pref ( "mail.compose.other.header" , "" ) ;
1998-03-28 05:44:41 +03:00
localDefPref ( "mail.fcc_folder" , "" ) ;
pref ( "mail.encrypt_outgoing_mail" , false ) ;
pref ( "mail.crypto_sign_outgoing_mail" , false ) ;
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" , 0 ) ; // 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" , 1 ) ; // 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 ( "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 08:49:41 +04:00
pref ( "news.max_articles" , 500 ) ;
1998-03-28 05:44:41 +03:00
pref ( "news.mark_old_read" , false ) ;
pref ( "mailnews.wraplength" , 72 ) ;
2000-04-14 14:29:59 +04:00
pref ( "mailnews.reply_on_top" , 0 ) ; // 0=bottom 1=top 2=select+bottom 3=select+top
1998-03-28 05:44:41 +03:00
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-17 00:40:07 +04:00
// 0=no header, 1="<author> wrote:", 2="On <date> <author> wrote:", 3=user specified
pref ( "mailnews.reply_header_type" , 1 ) ;
2001-04-12 18:35:05 +04:00
pref ( "mail.purge_threshhold" , 100 ) ;
pref ( "mail.prompt_purge_threshhold" , false ) ;
2001-06-09 01:17:43 +04: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-23 02:07:32 +04:00
pref ( "mailnews.force_ascii_search" , false ) ;
1998-03-28 05:44:41 +03:00
pref ( "mailnews.autolookup_unknown_mime_types" , true ) ;
2000-07-20 02:39:37 +04:00
pref ( "mailnews.send_default_charset" , "chrome://messenger/locale/messenger.properties" ) ;
2001-03-22 05:20:48 +03:00
pref ( "mailnews.view_default_charset" , "chrome://messenger/locale/messenger.properties" ) ;
2000-07-07 03:25:40 +04:00
pref ( "mailnews.force_charset_override" , false ) ;
2000-02-16 10:39:29 +03:00
2000-04-27 01:08:15 +04:00
pref ( "mailnews.language_sensitive_font" , true ) ;
1998-03-28 05:44:41 +03:00
pref ( "offline.news.download.unread_only" , true ) ;
pref ( "offline.news.download.by_date" , true ) ;
pref ( "offline.news.download.use_days" , false ) ;
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 ) ;
1999-06-04 02:27:31 +04:00
pref ( "ldap_2.autoComplete.interval" , 650 ) ;
pref ( "ldap_2.autoComplete.enabled" , true ) ;
2001-05-04 01:24:48 +04:00
pref ( "ldap_2.autoComplete.useDirectory" , false ) ;
pref ( "ldap_2.autoComplete.skipDirectoryIfLocalMatchFound" , true ) ;
pref ( "ldap_2.autoComplete.directoryServer" , "" ) ;
1999-06-04 02:27:31 +04:00
pref ( "ldap_2.servers.pab.position" , 1 ) ;
2000-07-14 01:07:01 +04:00
pref ( "ldap_2.servers.pab.description" , "chrome://messenger/locale/addressbook/addressBook.properties" ) ;
1999-06-04 02:27:31 +04:00
pref ( "ldap_2.servers.pab.dirType" , 2 ) ;
pref ( "ldap_2.servers.pab.isOffline" , false ) ;
1999-08-21 03:28:48 +04:00
pref ( "ldap_2.servers.history.position" , 2 ) ;
2000-07-14 01:07:01 +04:00
pref ( "ldap_2.servers.history.description" , "chrome://messenger/locale/addressbook/addressBook.properties" ) ;
1999-08-21 03:28:48 +04:00
pref ( "ldap_2.servers.history.dirType" , 2 ) ;
pref ( "ldap_2.servers.history.isOffline" , false ) ;
1999-06-04 02:27:31 +04: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-17 02:15:37 +03:00
pref ( "ldap_2.version" , 3 ) ; /* Update kCurrentListVersion in include/dirprefs.h if you change this */
2001-05-04 01:24:48 +04:00
pref ( "ldap_2.prefs_migrated" , false ) ;
1999-06-21 06:25:34 +04:00
2000-01-11 12:57:50 +03:00
pref ( "mailnews.confirm.moveFoldersToTrash" , true ) ;
2001-02-23 11:34:10 +03:00
pref ( "mailnews.start_page.url" , "chrome://messenger-region/locale/region.properties" ) ;
1999-06-21 06:25:34 +04:00
pref ( "mailnews.start_page.enabled" , true ) ;
1999-07-02 01:52:26 +04:00
2001-01-24 00:54:12 +03:00
pref ( "mailnews.account_central_page.url" , "chrome://messenger/locale/messenger.properties" ) ;
1999-07-02 01:52:26 +04:00
/* default prefs for Mozilla 5.0 */
pref ( "mail.identity.default.compose_html" , true ) ;
2000-01-15 06:06:39 +03:00
pref ( "mail.identity.default.valid" , true ) ;
2000-02-26 10:42:09 +03:00
pref ( "mail.identity.default.fcc" , true ) ;
pref ( "mail.identity.default.fcc_folder" , "mailbox://nobody@Local Folders/Sent" ) ;
pref ( "mail.identity.default.bcc_self" , false ) ;
pref ( "mail.identity.default.bcc_others" , false ) ;
pref ( "mail.identity.default.bcc_list" , "" ) ;
pref ( "mail.identity.default.draft_folder" , "mailbox://nobody@Local Folders/Drafts" ) ;
pref ( "mail.identity.default.stationery_folder" , "mailbox://nobody@Local Folders/Templates" ) ;
2001-05-04 01:24:48 +04:00
pref ( "mail.identity.default.directoryServer" , "" ) ;
pref ( "mail.identity.default.overrideGlobal_Pref" , false ) ;
1999-07-20 00:50:22 +04:00
pref ( "mail.update_compose_title_as_you_type" , true ) ;
1999-08-21 03:28:48 +04:00
2000-06-15 08:57:16 +04:00
pref ( "mail.collect_email_address_incoming" , true ) ;
pref ( "mail.collect_email_address_outgoing" , true ) ;
2001-01-18 08:38:03 +03:00
pref ( "mail.collect_email_address_newsgroup" , false ) ;
2000-09-09 02:56:08 +04:00
pref ( "mail.collect_email_address_enable_size_limit" , true ) ;
2000-09-12 05:53:20 +04:00
pref ( "mail.collect_email_address_size_limit" , 700 ) ;
2000-01-07 09:09:47 +03:00
pref ( "mail.default_sendlater_uri" , "mailbox://nobody@Local Folders/Unsent Messages" ) ;
1999-10-28 02:44:34 +04:00
pref ( "mail.server.default.port" , - 1 ) ;
2001-05-19 05:39:03 +04:00
pref ( "mail.server.default.offline_support_level" , - 1 ) ;
1999-12-01 03:05:34 +03:00
pref ( "mail.server.default.leave_on_server" , false ) ;
2001-01-25 23:38:45 +03:00
pref ( "mail.server.default.download_on_biff" , false ) ;
2000-02-03 11:11:52 +03:00
pref ( "mail.server.default.check_time" , 10 ) ;
2001-01-31 23:25:33 +03:00
// "mail.server.default.check_new_mail" now lives in the protocol info
1999-12-11 02:42:44 +03:00
pref ( "mail.server.default.dot_fix" , true ) ;
1999-12-20 17:51:10 +03:00
pref ( "mail.server.default.limit_message_size" , false ) ;
2001-03-25 22:48:27 +04:00
pref ( "mail.server.default.limit_offline_message_size" , true ) ;
1999-12-20 17:51:10 +03: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 06:06:39 +03:00
pref ( "mail.server.default.valid" , true ) ;
1999-12-24 11:57:54 +03:00
pref ( "mail.server.default.abbreviate" , true ) ;
2000-01-19 04:15:22 +03:00
pref ( "mail.server.default.isSecure" , false ) ;
2000-02-03 07:35:45 +03:00
pref ( "mail.server.default.override_namespaces" , true ) ;
1999-12-24 11:57:54 +03:00
2000-04-05 09:31:14 +04: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 ) ;
2000-02-03 09:33:29 +03: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 06:45:47 +04:00
pref ( "mail.server.default.empty_trash_on_exit" , false ) ;
2000-02-03 09:33:29 +03:00
2000-06-06 01:57:56 +04:00
pref ( "mail.server.default.using_subscription" , true ) ;
pref ( "mail.server.default.dual_use_folders" , true ) ;
2000-12-22 02:34:22 +03:00
pref ( "mail.server.default.canDelete" , false ) ;
2001-01-24 00:54:12 +03:00
pref ( "mail.server.default.login_at_startup" , false ) ;
2001-06-24 01:12:23 +04:00
pref ( "mail.server.default.allows_specialfolders_usage" , true ) ;
2001-06-29 11:05:35 +04:00
pref ( "mail.server.default.canCreateFolders" , true ) ;
pref ( "mail.server.default.canFileMessages" , true ) ;
2000-06-06 01:57:56 +04:00
2001-02-13 05:09:25 +03:00
pref ( "mail.smtpserver.default.auth_method" , 1 ) ; // auth any
2001-06-14 01:28:16 +04:00
pref ( "mail.smtpserver.default.try_ssl" , 0 ) ;
2000-05-11 02:01:49 +04:00
2000-07-22 11:37:20 +04:00
pref ( "mail.display_glyph" , true ) ; // see <http://www.bucksch.org/1/projects/mozilla/16507>
pref ( "mail.display_struct" , true ) ; // ditto
pref ( "mail.send_struct" , false ) ; // ditto
1999-12-29 21:22:31 +03:00
2001-04-06 07:53:42 +04: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-07 01:24:27 +03:00
2001-02-23 05:48:35 +03:00
pref ( "mail.startup.enabledMailCheckOnce" , false ) ;
2000-01-07 01:24:27 +03:00
pref ( "mailnews.max_header_display_length" , 3 ) ; // number of addresses to show
2000-03-05 01:48:53 +03:00
2001-02-23 11:34:10 +03: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 04:53:04 +03:00
2000-03-15 05:47:53 +03:00
pref ( "mailnews.send_plaintext_flowed" , true ) ; // RFC 2646=======
2000-12-19 22:43:12 +03:00
pref ( "mailnews.display.disable_format_flowed_support" , false ) ;
2001-01-31 03:59:30 +03:00
pref ( "mailnews.nav_crosses_folders" , 1 ) ; // prompt user when crossing folders
2000-03-15 05:47:53 +03: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 21:58:48 +04:00
pref ( "mail.SpellCheckBeforeSend" , false ) ;
2000-05-11 04:27:20 +04:00
pref ( "mail.enable_autocomplete" , true ) ;
2001-02-26 22:48:03 +03:00
pref ( "mailnews.html_domains" , "" ) ;
pref ( "mailnews.plaintext_domains" , "" ) ;
2001-01-06 05:43:03 +03:00
2001-02-23 05:27:53 +03:00
// the ui will eventually use these three prefs:
2001-01-06 05:43:03 +03:00
pref ( "mail.biff.play_sound" , true ) ;
pref ( "mail.biff.use_default_sound" , true ) ;
pref ( "mail.biff.sound_file" , "" ) ;
2001-02-23 05:27:53 +03:00
// must be an URL. (provide this back door for mac users, until we have a UI
2001-03-07 04:16:44 +03:00
pref ( "mail.biff.default_sound_url" , "" ) ;
2001-01-06 05:43:03 +03:00
2001-02-01 18:53:05 +03:00
pref ( "mail.content_disposition_type" , 0 ) ;
2001-04-13 08:50:14 +04:00
2001-06-09 09:26:39 +04:00
pref ( "mailnews.show_send_progress" , true ) ; //Will show a progress dialog when saving or sending a message
2001-06-20 04:23:35 +04:00
pref ( "mail.server.default.retainBy" , 1 ) ;