Closed Bug 119609 Opened 23 years ago Closed 19 years ago

SMTP for multiple account does not work

Categories

(SeaMonkey :: MailNews: Account Configuration, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 202468

People

(Reporter: bootsy52, Unassigned)

References

()

Details

Attachments

(2 files)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:0.9.7+) Gecko/20020111
BuildID:    CVS Jan 11th 2002 CET

I really see the need of having the choice to add an SMPT Server entry per
account. So many freemail hoster do a authentication via password and or
sender's email adress (so is gmx.net).

Now I have set up different accounts and different SMTP Servers using the
Advanced section, but I get always the error, that the sender address does not
belong to the logged in user, so I'm not able to send mail from my other
accounts setup rather than the default one.

I think that Mozilla should send also the senders address of the account for
what the SMTP Server entry does belong to.

This is the Original Error Message:
################# ALERT ######################################
An error occured while sending the mail. The mail server responded {mp007-rz3}
Sender address does not belong to logged in user
Please verify that your email adress is correct in your Mai preferences and try
again.

#################### END ALERT ######################################

Carsten

P.S. I just want to confirm that Bug 57567 is also very important for me, I must
have the ability to select multiple files at once, like in NS 4.78

Reproducible: Always
Steps to Reproduce:
1.Get two accounts at gmx.net (or other freemail hoster)
2.Set up the two usernames for the SMTP Server in Advanced settings
3.Try to send from the one that is not the default account

Actual Results:  Only able to send mail from one account

Expected Results:  Fixed, every account should have the possiblity to set it's
own SMTP Server entry, and that the current accounts sender address is delivered
when sending mail
The account settings panel has an "Advanced" button which lets you set which
SMTP server that account should use.  Have you done that?
Yes, I have done that. But as you see it does not work.
The mail adress of that current sender is not delivered correctly.
So you could only send mail from the default account.
See teh same thing - but it's flaky - sometimes it works, sometimes not; haven;t
been able to replicate it well.  It both works and doesn't work on multiple
accounts with multiple SMTP servers

Moz 099 on Mandrake 8.2 Linux 2xpIII Intel, 512MB
I was able to successfully have two mail profiles, both SMTP/POP.  The SMTP
multi server feature is quite flaky, as Harry said, but it worked for me after I
set the right server for each account in the Advanced window.

Someone does need to fix SMTP servers -- right now I have just one server
defined, yet it appears TWICE in the list.  Changing an aspect of it changes
both list entries.  Very buggy.
Sorry, the multiple SMTP server issue I was talking about is bug 96207.
Should've searched the database first before mentioning it here. :)
Any Updates on this ? I'm still not able to send any mail from the other
accounts I have set up.

So far I have 7 accounts set up and 4 have the same SMTP Server but require a
different user name.
3 have a different SMTP Server and all do not work. Only the SMTP Server works
from where I send my first message, when I want to send mails from the other
accounts then, it is *IMPOSSIBLE*

Last checked with CVS of 27th April. I really don't think that this should go
into 1.0

BTW, all Accounts are SMTP/POP

The crux "User User and Pass" is set and the mail servers are correctly set up
in the advanced settings tab. I double checked this.
Same erros on my system, also with fresh profile, and a further porblem relation 
to this hat somestimes the SMPT-Server list in the Mail Accounts/ Advanced 
showes the some servers multiple, other servers are missing, and there are empty 
(no Text displayed) entrys
Found uggly workaround by editing presf.js (I hve 3 Accounts)
changed 
user_pref("mail.identity.id1.smtpServer", "");
user_pref("mail.identity.id2.smtpServer", "");
user_pref("mail.identity.id3.smtpServer", "");

to
user_pref("mail.identity.id1.smtpServer", "smtp2");
user_pref("mail.identity.id2.smtpServer", "smtp1");
user_pref("mail.identity.id3.smtpServer", "smtp3");

Important!!!!

check matching between 
user_pref("mail.server.server1.hostname", "<POP MAIL-Server>");
user_pref("mail.account.account1.identities", "id1");
user_pref("mail.account.account1.server", "server1");
user_pref("mail.smtpserver.smtp1.hostname", "<SMTP HOST>");

its is also thinkable that your setup uses e.g ID1, SMPT3 and Account4 
Dieter, today I were just thinkin what is going on with this bug, as your
comment arrived :-)

This helps me much, I have no problem in tweaking prefs.js, I'm just curious
what the QA says to this bug, as it is still UNCOMFIRMED and your solutions
shows that this is a valid bug, and something is missed in prefs.js.

Thanx for that tip

BTW, how long you searched for this ? Will try it out now.
OK, Dieter, it worked for me, too. I think the problem lies that Mozilla has a
bug in the ordering scheme.

So I attached my prefs.js file which is the version before I attempt to edit it,
to show how confused Mozilla is ordering things. I have never touched this
section of the prefs.js file before and I set up all thru the UI. Also the order
of the SMTP Servers were right under "Advanced" Button. And now look what
Mozilla made out of all this.

For example look at "EmailID3@gmx.net" here Mozilla uses "user2", instead of
correctly "user3". Also I have found out that the problem bug 96207 is also due
to this, because after I first modified the file and  tried to get things
correct this bug occurs also for me, I think it's because the ordering of the
Local Folders is wrong.
Oh, I forgot, I remarked also the following, when you remove an account the
numbers do not get reordered again. So I removed account 4 and now I have
1,2,3,5,6,7,8. Maybe the source is to found here as I have often removed and
added accounts.
I don't think that the wrong ordered accounts, servers and smtps causes this
bug, seems to me that the code witch is responsible for reading the smpt related
entrys in prefs.js for filling the listbox under "Edit/Mail & Newsgroup Account
settings/ Account settings/Advanced/Server is buggy. 

BTW research time to find the described workaround was about 0,5 h but I
commonly try to fix such things by editing the settings files like prefs.js manualy 

?????????????????
Bug is still   U N C O N F I R M E D  since Jan 11th 2002 does any one care
about it 
?????????????????
confirming and over to account manager, which should be setting these prefs....
Assignee: mscott → racham
Component: Networking: SMTP → Account Manager
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is still a bug for me in Mozilla 1.0 on WinXP. This is a show stopper - it
makes Mozilla unusable. This is a shame because otherwise it is a great email
client. I will have to move back to Outlook and Evolution whereas I was enjoying
using the same client on both WinXP and Linux.
Hello 

searching buzilla O found that are at thi time there are four bug open that
looks to that they have the same base error, the stetting belog to SMPT servers,
witch cannont changed to that wath the User wants
<a href="show_bug.cgi?id=96207">96207</a>
<a href="show_bug.cgi?id=96207">119609</a>
<a href="show_bug.cgi?id=96207">129851</a>
<a href="show_bug.cgi?id=96207">140440</a>
Hello,

Recently I came across this little problem / bug / feature-

I need to have multiple email accounts each with an outgoing mail server.  The
problem is with the advanced settings, they do not work 100% of the time, plus
it appears to be confusing when I'm trying to assist other people (for example,
my sister) in setting up her system to mimic my machine.

For example:
I need to check the email from these accounts; Webmaster, info, and fans, plus
my own personal account(s).
The server is setup only to allow email sent if the userid and address match, so
I can not send email from webmaster via fans's account, nor would I want to have
my mail set from katemichaels' domain (or vice versa).

Here's my solution to the problem:
For each account add an outgoing server to the Server Settings panel with the
option of using a globally defined account.
This way you can have multiple outgoing mail servers and not be confused as to
what account is sending what email.

Who do I now bug? 
Bug stil present with Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.3b)
Gecko/20030210
Problem occurs in Mozilla 1.3 ( Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
rv:1.3) Gecko/20030312 ) I need this functionality to work. 

At work I have multiple mail accounts created, that use the same SMTP server
(with individual user ids) -- my company logs *all outgoing messages for
security reasons. If I send an email out as "useraccount2@mydomain.com" I can
not have it appear on the server as being sent from "useraccount1@mydomain.com"
This functunality used to work in Mozilla (also in Netscape 7), but it no longer
does.

I can manually created a 2nd SMTP account for (account #2) but it never gets
used for sending unless the first one fails. I know this because I purposely
configured the second smtp account to use an invalid username.

This bug will force me to not use this version of mozilla -- This needs to be
fixed.... Anyone else that uses Mozilla @ work know that companies are BIG on
security....
mass re-assign.
Assignee: racham → sspitzer
I have also encountered this problem and developed a workaround myself last
saturday which since works ALWAYS well with 3 different accounts at gmx.net.
Just now I found that Dieter has come to the same solution. Mine uses the
about:config option instead of editing the js file:
- the smtp of the account created first becomes "standard"
- the option "Always use standard server" can&#180;t be changed (V1.4 WXPSP1)
- the smtp for the account that doesn&#180;t work has to be changed manually (see
marked line)
- the smtp setting for the account belonging to the standard smtp has to remain
empty (see last but one line), but it works anyway (=> empty = standard)

I can also confirm the wrong numbering as described by Carsten in Comment #12.

If anyone needs a german description just contact me.
Punisher, will your problem be resolved by Bug 222388?
Thanks for the hint, but my above described solution works completely fine since.  
Punisher's solution in Comment #21 is a combination of recovery from Bug 96207
and workaround of Bug 222388.

(Recovery from Bug 96207 - already fied) 

Wrong smtp number problem in account definition was caused Bug 96207 (multiple
SMTP server entries were defined for same SMTP server address) but this is
already fixed and will not occur any more because Mozilla's account definition
logic is already changed.
However, already defined SMTP server entries should be modified manually.

 - Consolidate duplicate SMTP server entries for same server address
   to single SMTP server entry.

See Bug 96207 and see also Bug 202308 Comment #6 (Case (A-1) description).

(Workaround for Bug 222388 - still open) 

 - Change SMTP server choice of Account(s) manually
   to "Always Use Default (SMTP) server"

See also Bug 202308 Comment #6 (Case (C) description) for detail.

Punisher, please note that change through prefs.js(user.js) and about:config and
UI(Account Settings panel and Outoing Server(SMTP) panel) are same thing.

Anyway, I think this bug can be closed since Bug 96207 was fixed and Bug 222388
was already opened.
Objections?
(Please note that Bug 220761 is already closed)
Simple question:
Why wasn't it done right at the first place, to have a smtp-server pref for
every account seperately instead of the global smtp setting ? It is a hard thing
to explain it to customers that they cannot have completely seperate smtp
settings for each account with their own username and password instead of the
useless type of global/default smtp setting. Hacking 'round the .js file is a
thing only very advanced users are able to.
Bug 202468 is already opened by developer for UI improvement in multiple SMTP
server definition.
Joachim Otahal, why don't you post comment to Bug 202468 and discuss on   
improvement.
In the "Advanced Outgoing Sever (SMTP) Settings" dialogue box, NO matter which
SMTP server is set default, always the first/top SMTP server in the list is used.
Please VOTE for this bug and for:
http://bugzilla.mozilla.org/show_bug.cgi?id=202468
I hope it will help.
When I try to set a different existing SMTP server for a new account, I receive
this error.
On an other PC I have installed Mozilla 1.7 and I got the same error; then I
reinstalled 1.6 and it works fine.
Attachment #146825 - Attachment description: Error JPG image → Error when setting multiple SMTP server
Product: Browser → Seamonkey
There is good description on "Multiple SMTP use" at Mozillazine Knowledge Base
site. 
http://kb.mozillazine.org/index.phtml?title=Thunderbird_:_FAQs_:_Multiple_SMTP_Servers

I think this bug can be closed as INVALID, or closed as DUP of bug 202468, or
kept open as Product="Tech Evangelism", or kept open as enhancement request for
help/documentation.
Which is the best?
(At least, there is no reason to keep NEW as Mozilla mail&news bug.)
Assignee: sspitzer → mail

*** This bug has been marked as a duplicate of 202468 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: