Closed Bug 110463 Opened 23 years ago Closed 23 years ago

Mail Account Configuration Problem with hostname & userName

Categories

(MailNews Core :: Networking: POP, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 72450

People

(Reporter: matt, Assigned: naving)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5) Gecko/20011011
BuildID:    2001101117


I am trying to set up Mail and News to retrieve messages from my pop server.. 
My pop server requires a login like username@domain.com to the pop server at
mail.domain.com.  The available setting for the default account in "Mail and
News Group Account Settings" are only "Server Name" and "Username".  These
fields appear to map to the below preference fields.

user_pref("mail.server.server1.hostname", "mail.domain.com");
user_pref("mail.server.server1.userName", "account@domain.com");

When the mail is retrieved from the mail server the hostname and username are
merged so the account login that is sent appears to be
"account@domain.com@mail.domain.com" which is displayed in the mail application
when the password for this account is requrested. 


Reproducible: Always
Steps to Reproduce:
1.  Modify the following preferences..

user_pref("mail.server.server1.hostname", "mail.domain.com");
user_pref("mail.server.server1.userName", "account@domain.com");

2. Return to the mail application and select "Get Messages For Account" for the
tree item for the "server1" account"
3. The password prompt will say "Enter your password for
account@domain.com@mail.domain.com"

Expected Results:  The application should use the value "account@domain.com" as
the username to the "mail.domain.com" server.
Perhaps a silly question but, did you try to enter simply "account" as user
name? It seems rather odd to me that there are account names in the form
"xxx@yyy.com" . The latter probably is what you enter in "Email address" field.
This is covered in the release notes:
http://mozilla.org/releases/mozilla0.9.5/#mail

To quote from the "Pop and Imap" section:

Adding this pref (instructions here) to your prefs.js file will allow you to
enter a username when you login to use mail:
   user_pref ("mail.allow_at_sign_in_user_name", true); 

Duplicate of 'If username contains a "@", Mozilla Mail adds the POP server to
the name'

*** This bug has been marked as a duplicate of 72450 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified as dup 
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.