Closed Bug 219200 Opened 21 years ago Closed 21 years ago

Ability to set SMTP and IMAP or POP password as the same when in the same domain

Categories

(SeaMonkey :: MailNews: Account Configuration, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: u63580, Assigned: Bienvenu)

References

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030827
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030827

I use my work SMTP server to send e-mail where-ever I connect to the internet. 
That means I supply a username / password to send my mail - which I don't want
to save as it is also my network login password.

So, when I open up Mail, I supply my password for our IMAP server, then have to
supply it again when I send mail.  It would be nice if I could tell Mozilla that
the two have the same password as they are in the same domain:

smtp.soton.ac.uk and
imap.soton.ac.uk

Would it be possible to have an option "Use same password for each machine in
same domain", or something like that?




Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: [RFE] Ability to set SMTP and IMAP or POP password as the same when in the same domain → Ability to set SMTP and IMAP or POP password as the same when in the same domain
taking. We were thinking of doing this if the host name was exactly the same,
but that wouldn't help you...We'll probably make this controlled by a pref
that's initially turned off
Assignee: sspitzer → bienvenu
Here's what I'm currently thinking:

We have two global prefs:
 smtp.usePasswordFromIdenticalHost, smtp.usePasswordFromSameDomain
and a per smtp server pref, smtp.server.serverx.usePasswordFromAccount
where the account value would be account key.

usePasswordFromIdenticalHost would interate over the incoming servers for one
with the same host name, and if it had a password use it.
UsePasswordFromSameDomain would iterate over the incoming servers for one with
the same domain name (everything after the first '.', so smtp.foo.com would
match mail.foo.com)

The Per server pref would look for the account with the same account key and use
the password stored in the server, if any.
Sounds pretty much spot on.  Thanks
Attached patch proposed fixSplinter Review
Attachment #140764 - Flags: superreview?(mscott)
Blocks: m6
Attachment #140764 - Flags: superreview?(mscott) → superreview+
fixed on trunk
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
*** Bug 93452 has been marked as a duplicate of this bug. ***
Here are the exact prefs:

+// if true, we'll use the password from an incoming server with
+// matching username and domain
+user_pref("mail.smtp.useMatchingDomainServer", false);
+
+// if true, we'll use the password from an incoming server with
+// matching username and host name
+user_pref("mail.smtp.useMatchingHostNameServer", false);

mail.smtpserver.smtp1.incomingAccount, "server1"); where server1 is the incoming
account you want to match (pop3 or imap)
Scott pointed out that I used user_pref instead of pref - this fixes that.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: