Closed Bug 375880 Opened 16 years ago Closed 14 years ago

Append default domain to user name in ISP RDF File ignores SMTP setting

Categories

(Thunderbird :: Account Manager, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b1

People

(Reporter: n0cf, Assigned: mkmelin)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1)
Build Identifier: version 2.0.0.0pre (20070329)

related to bug 366439 - if IncomingServer hostName and SMTP hostname are the same, smtpUserNameRequiresDomain setting is ignored.  Instead the value for incomingServerUserNameRequiresDomain sets the authentication string for both incoming server and smtp server. 
If 'incoming' set to false and 'smtp' set to true, the account wizard summary screen correctly shows "Outgoing User Name: user@domain.tld" but the effective setting is "user" - i.e. your prefs.js file has:
user_pref("mail.smtpserver.smtp1.username", "user");


Reproducible: Always

Steps to Reproduce:
1.
2.
3.



My ISP RDF file does contain a domain <NC:nsIMsgAccount about="domain:foo.edu">

As long as your incoming mail server and SMTP host names differ, the settings incomingServerUserNameRequiresDomain and smtpUserNameRequiresDomain work independently.  In my situation, mail.foo.edu is the hostname for IMAP, POP3 and SMTP.  POP3 authenticates as "user" SMTP authenticates as "user@foo.edu" (luckily IMAP will take either string).  ISP RDF file available on request.
examining AccountWizard.js this behavior is expected (if not by design).  See bug 107953.  AccountWizard.js commented lines 974-976: "if incoming hostname is same is smtp hostname use the server username (instead of the email username)"

Assignee: mscott → nobody
Reporter, does the issue still occur in the latest supported 2.0.0.x / Shredder trunk nightlies?

(1.5.0.x is end-of-life and the latest supported 2.0.0.x is 2.0.0.17)
Whiteboard: closeme 2008-10-30
Yes.
OS: Windows XP → All
Hardware: PC → All
Whiteboard: closeme 2008-10-30
Attached patch proposed fixSplinter Review
Assignee: nobody → mkmelin+mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #343929 - Flags: superreview?(neil)
Attachment #343929 - Flags: review?(neil)
Comment on attachment 343929 [details] [diff] [review]
proposed fix

Looks reasonable.
Attachment #343929 - Flags: superreview?(neil)
Attachment #343929 - Flags: superreview+
Attachment #343929 - Flags: review?(neil)
Attachment #343929 - Flags: review+
changeset:   647:2de8eaab9cfb
http://hg.mozilla.org/comm-central/rev/2de8eaab9cfb

->FIXED
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b1
You need to log in before you can comment on or make changes to this bug.