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@enigmail.net>
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
// ** enigmail keySel preferences:
59
// use rules to assign keys
60
pref("extensions.enigmail.assignKeysByRules",true);
61
// use email addresses to assign keys
62
pref("extensions.enigmail.assignKeysByEmailAddr",true);
63
// use manual dialog to assign missing keys
64
pref("extensions.enigmail.assignKeysManuallyIfMissing",true);
65
// always srats manual dialog for keys
66
pref("extensions.enigmail.assignKeysManuallyAlways",false);
68
// automatically download missing keys from keyserver
69
pref("extensions.enigmail.autoKeyRetrieve","");
71
// enable automatically decrypt/verify
72
pref("extensions.enigmail.autoDecrypt",true);
74
// enable X-Enigmail-xxx headers
75
pref("extensions.enigmail.addHeaders",false);
77
// countdown for alerts when composing inline PGP HTML msgs
78
pref("extensions.enigmail.composeHtmlAlertCount",3);
80
// enable confirm dialog before sending message
81
pref("extensions.enigmail.confirmBeforeSend",false);
83
// prefer S/MIME or PGP/MIME (0: PGP/MIME, 1: ask, 2: S/MIME)
84
pref("extensions.enigmail.mimePreferPgp",1);
86
// show warning message when clicking on sign icon
87
pref("extensions.enigmail.displaySignWarn",true);
89
// display warning as info for partially signed message
90
pref("extensions.enigmail.displayPartiallySigned",true);
92
// try to match secondary uid to from address
93
pref("extensions.enigmail.displaySecondaryUid",true);
95
// treat '-- ' as signature separator
96
pref("extensions.enigmail.doubleDashSeparator",true);
98
// last state of dialog to choose encryption method if there are attachments
99
pref("extensions.enigmail.encryptAttachments",1);
101
// skip the attachments dialog
102
pref("extensions.enigmail.encryptAttachmentsSkipDlg", 0);
105
pref("extensions.enigmail.encryptToSelf",true);
107
// enable 'Decrypt & open' for double click on attachment (if possible)
108
pref("extensions.enigmail.handleDoubleClick",true);
110
// disable '<' and '>' around email addresses
111
pref("extensions.enigmail.hushMailSupport",false);
113
// display alert for 'failed to initialize enigmime'
114
pref("extensions.enigmail.initAlert",true);
116
// use -a for encrypting attachments for inline PGP
117
pref("extensions.enigmail.inlineAttachAsciiArmor",false);
119
// extension to append for inline-encrypted attachments
120
pref("extensions.enigmail.inlineAttachExt",".pgp");
122
// extension to append for inline-signed attachments
123
pref("extensions.enigmail.inlineSigAttachExt",".sig");
125
// debug log directory (if set, also enabled debugging)
126
pref("extensions.enigmail.logDirectory","");
128
// display all or no keys by default in the key manager
129
pref("extensions.enigmail.keyManShowAllKeys",true);
132
// list of keyservers to use
133
pref("extensions.enigmail.keyserver","pool.sks-keyservers.net, keys.gnupg.net, pgp.mit.edu");
135
// keep passphrase for ... minutes
136
pref("extensions.enigmail.maxIdleMinutes",5);
138
// GnuPG hash algorithm
139
// 0: automatic seletion (i.e. let GnuPG choose)
140
// 1: SHA1, 2: RIPEMD160, 3: SHA256, 4: SHA384, 5: SHA512, 6: SHA224
141
pref("extensions.enigmail.mimeHashAlgorithm",0);
143
// no passphrase for GnuPG key needed
144
pref("extensions.enigmail.noPassphrase",false);
146
// parse all mime headers (do NOT change)
147
pref("extensions.enigmail.parseAllHeaders",true);
149
// show quoted printable warning message (and remember selected state)
150
pref("extensions.enigmail.quotedPrintableWarn",0);
152
// use http proxy settings as set in Mozilla/Thunderbird
153
pref("extensions.enigmail.respectHttpProxy",true);
155
// selection for which encryption model to prefer
156
// 0: convenient encryption settings DEFAULT
157
// 1: manual encryption settings
158
pref("extensions.enigmail.encryptionModel",0);
160
// enable encryption for replies to encrypted mails
161
pref("extensions.enigmail.keepSettingsForReply",true);
163
// selection for which keys to accept
164
// 0: accept valid/authenticated keys
165
// 1: accept all keys (except disabled, ...) DEFAULT
166
pref("extensions.enigmail.acceptedKeys",1);
168
// selection for automatic send encrypted if all keys valid
170
// 1: if all keys found and accepted DEFAULT
171
pref("extensions.enigmail.autoSendEncrypted",1);
173
// ask to confirm before sending
176
// 2: if send encrypted
177
// 3: if send unencrypted
178
// 4: if send (un)encrypted due to rules
179
pref("extensions.enigmail.confirmBeforeSending",0);
181
// support different passwords for each key (not yet available)
182
pref("extensions.enigmail.supportMultiPass",false);
184
// use GnuPG's default instead of Enigmail/Mozilla comment of for signed messages
185
pref("extensions.enigmail.useDefaultComment",true);
187
// allow encryption to newsgroups
188
pref("extensions.enigmail.encryptToNews", false);
189
pref("extensions.enigmail.warnOnSendingNewsgroups",true);
191
// use gpg passphrase agent for passphrase handling
192
pref("extensions.enigmail.useGpgAgent",false);
194
// use PGP/MIME (0=never, 1=allow, 2=always)
195
// pref("extensions.enigmail.usePGPMimeOption",1); -- OBSOLETE, see mail.identity.default.pgpMimeMode
197
// enable using gpgkeys_*
198
pref("extensions.enigmail.useGpgKeysTool",true);
200
// show "conflicting rules" message (and remember selected state)
201
pref("extensions.enigmail.warnOnRulesConflict",0);
203
// display a warning when the passphrase is cleared
204
pref("extensions.enigmail.warnClearPassphrase",true);
206
// warn if gpg-agent is found and "remember passphrase for X minutes is active"
207
pref("extensions.enigmail.warnGpgAgentAndIdleTime",true);
209
// display a warning when all keys are to be refreshed
210
pref("extensions.enigmail.warnRefreshAll",true);
212
// display a warning when the keys for all contacts are downloaded
213
pref("extensions.enigmail.warnDownloadContactKeys",true);
215
// display a warning if the broken character set ISO-2022-JP is used (and remember selected state)
216
pref("extensions.enigmail.warnIso2022jp", 0);
218
// wrap HTML messages before sending inline PGP messages
219
pref("extensions.enigmail.wrapHtmlBeforeSend",true);
221
// enable experimental features.
222
// WARNING: such features may unfinished functions or tests that can break
223
// existing functionality in Enigmail and Thunderbird!
224
pref("extensions.enigmail.enableExperiments",false);
228
Default pref values for the enigmail per-identity
232
pref("mail.identity.default.enablePgp",false);
233
pref("mail.identity.default.pgpkeyId", "");
234
pref("mail.identity.default.pgpKeyMode", 0);
235
pref("mail.identity.default.pgpSignPlain", false);
236
pref("mail.identity.default.pgpSignEncrypted", false);
237
pref("mail.identity.default.defaultSigningPolicy", 0);
238
pref("mail.identity.default.defaultEncryptionPolicy", 0);
239
pref("mail.identity.default.openPgpHeaderMode", 0);
240
pref("mail.identity.default.openPgpUrlName", "");
241
pref("mail.identity.default.pgpMimeMode", false);
242
pref("mail.identity.default.attachPgpKey", false);
243
pref("mail.identity.default.autoEncryptDrafts", true);
246
Other settings (change Mozilla behaviour)
249
// disable flowed text by default
250
pref("mailnews.send_plaintext_flowed", false);