1
/* ***** BEGIN LICENSE BLOCK *****
2
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4
* The contents of this file are subject to the Mozilla Public
5
* License Version 1.1 (the "MPL"); you may not use this file
6
* except in compliance with the MPL. You may obtain a copy of
7
* the MPL at http://www.mozilla.org/MPL/
9
* Software distributed under the MPL is distributed on an "AS
10
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11
* implied. See the MPL for the specific language governing
12
* rights and limitations under the MPL.
14
* The Original Code is Enigmail.
16
* The Initial Developer of the Original Code is Ramalingam Saravanan.
17
* Portions created by Ramalingam Saravanan <svn@xmlterm.org> are
18
* Copyright (C) 2001 Ramalingam Saravanan. All Rights Reserved.
21
* Patrick Brunschwig <patrick@mozilla-enigmail.org>
23
* Alternatively, the contents of this file may be used under the terms of
24
* either the GNU General Public License Version 2 or later (the "GPL"), or
25
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26
* in which case the provisions of the GPL or the LGPL are applicable instead
27
* of those above. If you wish to allow use of your version of this file only
28
* under the terms of either the GPL or the LGPL, and not to allow others to
29
* use your version of this file under the terms of the MPL, indicate your
30
* decision by deleting the provisions above and replace them with the notice
31
* and other provisions required by the GPL or the LGPL. If you do not delete
32
* the provisions above, a recipient may use your version of this file under
33
* the terms of any one of the MPL, the GPL or the LGPL.
34
* ***** END LICENSE BLOCK ***** */
37
* Default pref values for Enigmail
40
// the last configured Enigmail version
41
pref("extensions.enigmail.configuredVersion","");
43
// Hide prefs and menu entries from non-advanced users
44
pref("extensions.enigmail.advancedUser",false);
46
// additional parameter(s) to pass to GnuPG
47
pref("extensions.enigmail.agentAdditionalParam","");
49
// path to gpg executable
50
pref("extensions.enigmail.agentPath","");
52
// enable --always-trust for message sending
53
pref("extensions.enigmail.alwaysTrustSend",true);
55
// allow empty subject line without asking for confirmation
56
pref("extensions.enigmail.allowEmptySubject",false);
58
// automatically download missing keys from keyserver
59
pref("extensions.enigmail.autoKeyRetrieve","");
61
// enable automatically decrypt/verify
62
pref("extensions.enigmail.autoDecrypt",true);
64
// enable X-Enigmail-xxx headers
65
pref("extensions.enigmail.addHeaders",true);
67
// countdown for alerts when composing inline PGP HTML msgs
68
pref("extensions.enigmail.composeHtmlAlertCount",3);
70
// enable confirm dialog before sending message
71
pref("extensions.enigmail.confirmBeforeSend",false);
73
// prefer S/MIME or PGP/MIME (0: PGP/MIME, 1: ask, 2: S/MIME)
74
pref("extensions.enigmail.mimePreferPgp",1);
76
// show warning message when clicking on sign icon
77
pref("extensions.enigmail.displaySignWarn",true);
79
// display warning as info for partially signed message
80
pref("extensions.enigmail.displayPartiallySigned",true);
82
// try to match secondary uid to from address
83
pref("extensions.enigmail.displaySecondaryUid",true);
85
// treat '-- ' as signature separator
86
pref("extensions.enigmail.doubleDashSeparator",true);
88
// last state of dialog to choose encryption method if there are attachments
89
pref("extensions.enigmail.encryptAttachments",1);
91
// skip the attachments dialog
92
pref("extensions.enigmail.encryptAttachmentsSkipDlg", 0);
95
pref("extensions.enigmail.encryptToSelf",true);
97
// enable 'Decrypt & open' for double click on attachment (if possible)
98
pref("extensions.enigmail.handleDoubleClick",true);
100
// disable '<' and '>' around email addresses
101
pref("extensions.enigmail.hushMailSupport",false);
103
// display alert for 'failed to initialize enigmime'
104
pref("extensions.enigmail.initAlert",true);
106
// use -a for encrypting attachments for inline PGP
107
pref("extensions.enigmail.inlineAttachAsciiArmor",false);
109
// extension to append for inline-encrypted attachments
110
pref("extensions.enigmail.inlineAttachExt",".pgp");
112
// extension to append for inline-signed attachments
113
pref("extensions.enigmail.inlineSigAttachExt",".sig");
115
// debug log directory (if set, also enabled debugging)
116
pref("extensions.enigmail.logDirectory","");
118
// enable encryption for replies to encrypted mails
119
pref("extensions.enigmail.keepSettingsForReply",true);
121
// display all or no keys by default in the key manager
122
pref("extensions.enigmail.keyManShowAllKeys",false);
125
// list of keyservers to use
126
pref("extensions.enigmail.keyserver","pool.sks-keyservers.net, subkeys.pgp.net, sks.mit.edu, ldap://certserver.pgp.com");
128
// keep passphrase for ... minutes
129
pref("extensions.enigmail.maxIdleMinutes",5);
131
// GnuPG hash algorithm
132
// 0: automatic seletion (i.e. let GnuPG choose)
133
// 1: SHA1, 2: RIPEMD160, 3: SHA256, 4: SHA384, 5: SHA512, 6: SHA224
134
pref("extensions.enigmail.mimeHashAlgorithm",0);
136
// no passphrase for GnuPG key needed
137
pref("extensions.enigmail.noPassphrase",false);
139
// parse all mime headers (do NOT change)
140
pref("extensions.enigmail.parseAllHeaders",true);
142
// show quoted printable warning message (and remember selected state)
143
pref("extensions.enigmail.quotedPrintableWarn",0);
145
// use http proxy settings as set in Mozilla/Thunderbird
146
pref("extensions.enigmail.respectHttpProxy",true);
148
// selection of keys for unkown recipients
150
// 2: rules & email addresses (normal)
151
// 3: email address only (no rules)
152
// 4: manually (always prompt, no rules)
153
// 5: no rules, no key selection
154
pref("extensions.enigmail.recipientsSelection",2);
156
// show "save draft encrypted" message (and remember selected state)
157
pref("extensions.enigmail.saveEncrypted",0);
159
// replacement of Mozilla's show all headers (because the original value is overriden)
161
// pref("extensions.enigmail.show_headers",1);
163
// support different passwords for each key (not yet available)
164
pref("extensions.enigmail.supportMultiPass",false);
166
// use GnuPG's default comment for signed messages
167
pref("extensions.enigmail.useDefaultComment",false);
169
// allow encryption to newsgroups
170
pref("extensions.enigmail.encryptToNews", false);
171
pref("extensions.enigmail.warnOnSendingNewsgroups",true);
173
// use gpg passphrase agent for passphrase handling
174
pref("extensions.enigmail.useGpgAgent",false);
176
// use PGP/MIME (0=never, 1=allow, 2=always)
177
// pref("extensions.enigmail.usePGPMimeOption",1); -- OBSOLETE, see mail.identity.default.pgpMimeMode
179
// enable using gpgkeys_*
180
pref("extensions.enigmail.useGpgKeysTool",true);
182
// show "conflicting rules" message (and remember selected state)
183
pref("extensions.enigmail.warnOnRulesConflict",0);
185
// display a warning when the passphrase is cleared
186
pref("extensions.enigmail.warnClearPassphrase",true);
188
// warn if gpg-agent is found and "remember passphrase for X minutes is active"
189
pref("extensions.enigmail.warnGpgAgentAndIdleTime",true);
191
// display a warning when all keys are to be refreshed
192
pref("extensions.enigmail.warnRefreshAll",true);
194
// display a warning if the broken character set ISO-2022-JP is used (and remember selected state)
195
pref("extensions.enigmail.warnIso2022jp", 0);
197
// wrap HTML messages before sending inline PGP messages
198
pref("extensions.enigmail.wrapHtmlBeforeSend",true);
200
// enable experimental features.
201
// WARNING: such features may unfinished functions or tests that can break
202
// existing functionality in Enigmail and Thunderbird!
203
pref("extensions.enigmail.enableExperiments",false);
207
Default pref values for the enigmail per-identity
211
pref("mail.identity.default.enablePgp",false);
212
pref("mail.identity.default.pgpkeyId", "");
213
pref("mail.identity.default.pgpKeyMode", 0);
214
pref("mail.identity.default.pgpSignPlain", false);
215
pref("mail.identity.default.pgpSignEncrypted", false);
216
pref("mail.identity.default.defaultEncryptionPolicy", 0);
217
pref("mail.identity.default.openPgpHeaderMode", 0);
218
pref("mail.identity.default.openPgpUrlName", "");
219
pref("mail.identity.default.pgpMimeMode", false);
220
pref("mail.identity.default.attachPgpKey", false);
223
Other settings (change Mozilla behaviour)
226
// disable flowed text by default
227
pref("mailnews.send_plaintext_flowed", false);