Closed Bug 117763 Opened 21 years ago Closed 21 years ago

Unable to select "If Possible" in Mail Security Prefs


(MailNews Core :: Security: S/MIME, enhancement, P1)

1.0 Branch


(Not tracked)



(Reporter: jmccabe, Assigned: KaiE)


While three options are available ("None", "If Possible", and "Always"), the "If
Possible" option is not able to be selected.

Forcing the selection by manually editing prefs.js

user_pref("mail.identity.id2.encryptionpolicy", 2);


user_pref("mail.identity.id2.encryptionpolicy", 1);

causes the option to be selected but greyed out, and SMIME encryption does not
happen even when it should be possible.

The option is also not able to be selected in a Message compose window when
going to Options | Security .

This may be somehow related to defect 115962 and the migration of encryption
preferences from earlier nightly builds.

Moz. nightly 2002010206, Linux i686.
The pref has moved from a boolean to an int, but the code still treats it as a
boolean. The s/mime functionality is still only all or nothing.
Assignee: ssaux → kaie
Ever confirmed: true
Priority: -- → P1
Target Milestone: --- → 2.2
Version: 1.01 → 2.2
Too bad the boolean can't be switching between "None" and "If Possible" until
the rest of the code can be made aware of the preference's integer nature.
S/MIME bugs are automatically nsbeta1 candidates. (this is a bulk update - there
may be some adjustment of the list).
Keywords: nsbeta1
While we want to have this feature, and the UI is already prepared, we have not
yet implemented the "if possible" behaviour, therefore this does not track a
bug, but an enhancement. Let's keep this open as a reminder.
Severity: normal → enhancement
OS: Linux → All
Hardware: PC → All
Keywords: nsbeta1+
We're removing if possible
Keywords: nsbeta1, nsbeta1+nsbeta1-
This is now a duplicate of bug 129100, because I'll remove that setting with
that bug.

Next time we attempt to implement that, the "if possible" UI and corresponding
logic will be done in a single step.

*** This bug has been marked as a duplicate of 129100 ***
Closed: 21 years ago
Resolution: --- → DUPLICATE
Verified dupe.
QA Contact: alam → junruh
*** Bug 135636 has been marked as a duplicate of this bug. ***
Kai, is there an open bug for the 'if possible' option now ?
> Kai, is there an open bug for the 'if possible' option now ?

Not sure, if you can't find one under PSM/S/Mime, feel free to file one, but
please mark it as "request for enhancement".
Product: PSM → Core
Version: psm2.2 → 1.0 Branch
Product: Core → MailNews Core
QA Contact: junruh → s.mime
You need to log in before you can comment on or make changes to this bug.