Closed Bug 18565 Opened 21 years ago Closed 20 years ago

[FEATURE] Single sign-on for POP, SMTP, IMAP

Categories

(MailNews Core :: Networking, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: phil, Assigned: jefft)

References

Details

(Whiteboard: [PDT+] POP & IMAP is in. SMTP ETA 2-16-2000)

This is a feature tracking bug for the integration of mail/news with wallet.
Blocks: 10791
Status: NEW → ASSIGNED
Target Milestone: M12
*** Bug 6552 has been marked as a duplicate of this bug. ***
Target Milestone: M12 → M15
*** Bug 24920 has been marked as a duplicate of this bug. ***
Keywords: beta1
Putting no PDT+ radar for beta1.
Whiteboard: [PDT+]
oops..meant ON PDT+ radar.
M14. Need to pull this into B1 to get password encryption. I sent email on the 
details behind this. See me with questions or concerns.
Target Milestone: M15 → M14
No problem. We'll make it into M14.
so I spent some time last night looking at this. I think what we need to do is
somehow pass in an nsIPrompt at the time the protocol or URL is created.. then
we pass this nsIPrompt to nsMsgIncomingServer::GetPasswordWithUI() which will
use it to prompt.

We should be able to get the nsIPrompt from the nsIMsgWindow's mRootWebShell
member variable, and I believe an nsIMsgWindow will be available at URL creation
time.
Single sign on for Pop3 and Imap checked in.
Whiteboard: [PDT+] → [PDT+] Pop3 & Imap implementation checked in
removing nntp from the summary, that's bug #25058
Summary: [FEATURE] Single sign-on for POP, SMTP, IMAP and NNTP → [FEATURE] Single sign-on for POP, SMTP, IMAP
Auth login for SMTP apparently not been ported over yet. Need to work on it 
before applying single sign on to it.
Whiteboard: [PDT+] Pop3 & Imap implementation checked in → [PDT+] POP & IMAP is in. SMTP ETA 2-16-2000
Fix checked in. To test SMTP signle sign on. You need to set up the smtp server 
and the username. Also the add the following pref to the prefs.js:

user_pref("mail.smtpserver.smtp1.auth_method", 2);

for the record the following are defines for smtp auth methods

typedef enum _PrefAuthMethod {
    PREF_AUTH_NONE = 0,
    PREF_AUTH_ANY = 1,
    PREF_AUTH_LOGIN = 2,
    PREF_AUTH_TLS_TRY = 3,
    PREF_AUTH_TLS_ONLY = 4
} PrefAuthMethod;
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
QA Contact: lchiang → esther
Using build 2000-02-17-09 on win98 and 2000-02-17-08 on linux and mac I've 
tested the POP and IMAP and they work.  However, I haven't been successful with 
SMTP password.  Jeff , I added the string mentioned above in the prefs.js file 
and in the Account Settings dialog I have entered a sever name and user name for 
the SMTP server, this did not prompt me with a password dialog.  Note: I then 
tried to check the box titled "Always use name and password" but it won't stay 
checked, so if that has to be checked to test the smtp server login, then I 
can't test smtp until this is fixed.  If checkbox doesn't have to be checked to 
test smtp, then smtp is not working yet.  Please advise.   
Esther, you need to find an SMTP server that advertises AUTH=LOGIN or AUTH PLAIN 
capability. I do know that smpt.mail.aol.com does if you have an aol account. I 
am not sure any of our own server does that.
you mean, smtp.mail.aol.com right?
Yes, sorry typo. Also, make sure your identity matches -- meaning an aol email 
address. Aol smtp checks for both email address and the password in order to 
succesfully sending mail.
Using build 2000-02-16-09 on win98 and 2000-02-16-08 on linux and mac this is 
fixed.  Note: I get the master dialog, (but I'm not sure if it's coming up 
because it's trying to open the sent folder or sending function) so I cancel the 
master dialog and it brings up the specific password dialog for 
"smtp.mail.aol.com".  I consider that this confirms it was asking for the master 
password on the smtp server. Jeff, please review and re-open if the test 
scenario isn't valid.  Note: At this time, I can't disable the copy to Sent 
folder for the AOL account to bypass that function.
Status: RESOLVED → VERIFIED
*** Bug 139987 has been marked as a duplicate of this bug. ***
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.