Closed Bug 648788 Opened 14 years ago Closed 7 years ago

SMTP (POP before send) not working correctly, fails in nsIActivityManager::removeActivity

Categories

(MailNews Core :: Networking: POP, defect)

1.9.2 Branch
x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jan_hendrik, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.16) Gecko/20110319 BTRS86031 Firefox/3.6.16 GTB7.1 Build Identifier: Thunderbird/3.1.9 Error console continiously reports error when trying to use smpt.mail.com Error: [Exception... "'Component is not available' when calling method: [nsIActivityManager::removeActivity]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Thunderbird/modules/activity/pop3Download.js :: anonymous :: line 158" data: no] Source File: file:///C:/Program%20Files/Mozilla%20Thunderbird/modules/activity/pop3Download.js Line: 158 While trying to send an e-mail under an @mail.com account with the smtp.mail.com selected as SMTP host, the connection fails with error: "An error occurred while sending mail. The mail server responded: 5.7.0 Sender address does not belong to logged in user {mp-us106}. Please verify that your email address is correct in your Mail preferences and try again." accompanied by an error in the 'error console' Reproducible: Always Steps to Reproduce: 1. Use an @mail.com account 2. Create a new e-mail 3. Send the e-mail Actual Results: e-mail sending fails. In the error log an new error appears and a pop-up message is shown stating: An error occurred while sending mail. The mail server responded: 5.7.0 Sender address does not belong to logged in user {mp-us106}. Please verify that your email address is correct in your Mail preferences and try again. Expected Results: E-mail to be send using the smtp.mail.com host none
The error message you receive likely comes from a server which uses "POP before send" in lieu of an authentication for outgoing messages. The error message comes from an attempt to download messages from the POP server, after which the SMTP request should proceed. However, since the POP fails, the SMTP returns an error. I'm moving this to the POP component for further investigation what's going on with the failed download, it may be a protocol issue per se or a problem with the activity manager. Do you see anything else in Tools > Activity Manager indicating actions or problems regarding download of messages from your provider's POP server?
Component: General → Networking: POP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.pop
Summary: SMTP not working correctly, errors in error console. → SMTP (POP before send) not working correctly, fails in nsIActivityManager::removeActivity
Version: unspecified → 1.9.2 Branch
Hi, Not sure you are right here because I do get the e-mails for that account but I can't send them. I started to notice the issue when I tried to create a second account on @mail.com which does not receive any e-mail at all, not with the imap nor with the pop protocol. thanks
I figured that from the statement that you see the error messages (which relate to the POP activity) whenever you try to send a message. When you say that you tried to set up a second account with that provider, maybe did you pick the wrong SMTP server (that's the "Outgoing Server (SMTP)" drop-down menu in the account's main page) for that address? This would explain the "address does not belong to logged in user" response if you are trying to send a message for "a@mail.com" but authenticate as "b@mail.com".
Hi, No I have been trying to get this to work for a good few days but I couldn't. I'm 100% positive that both accounts used pop and I also tried imap both with the same result. So I don't think this is POP related. The addressed mail.com provide are pop.mail.com imap.mail.com smtp.mail.com In the end I deleted one account and with only one account I still had that error. Do you want screen shots of the setup? (I've given up on it but will give it another try if you like).
Probing smtp.mail.com from my location (which isn't UK though), I'm actually getting connected to a GMX server (mail.gmx.com) which advertises STARTTLS and "normal password" as authentication (which would contradict the POP-and-send theory, but then, I don't know what it looks like when connecting from Europe). Ludo, http://ispdb.mozillamessaging.com/details/718 tells me that "mail.com" should connect to AOL servers, so this doesn't look right either. Do you know anything else about this provider and their preferred settings?
(In reply to comment #5) > Ludo, http://ispdb.mozillamessaging.com/details/718 tells me that "mail.com" > should connect to AOL servers, so this doesn't look right either. Do you know > anything else about this provider and their preferred settings? From the looks of the website it looks like mail.com is a 1&1 company. I get the same results as you do : localhost:~ ludo$ telnet smtp.mail.com 587 Trying 74.208.122.35... Connected to mailout-us.mail.com. Escape character is '^]'. 220 mail.gmx.com GMX Mailservices ESMTP {mp-us011} And http://en.kioskea.net/forum/affich-85461-mail-com-server-type seems to imply AOL , but maube they've switched provider :( Jan can you contact mail.com's support and point them to this bug. I think they would need to implement an ISP based solution to make it easy for them to change provider when they do.
Thanks Ludo, it appears that port 587 with STARTTLS would be the correct configuration for that SMTP server also from Europe. (In reply to comment #4) > In the end I deleted one account and with only one account I still had that > error. That probably removed the POP parts of the configuration but not the SMTP side; can you go into Tools > Account Settings > Outgoing Server (SMTP) all the way down in the list to the left and remove the SMTP configuration of that account as well? Does the user name in the remaining configuration matches the one for the account which has the problem, and is it correctly selected in the main page of that account under Tools > Account Settings > (account name)?
Did you notice errors in the folder names for your account? If not, your address probably wouldn't match your username. Check out bug #661931
(In reply to John T from comment #8) > Did you notice errors in the folder names for your account? If not, your > address probably wouldn't match your username. Check out bug #661931
Flags: needinfo?(jan_hendrik)
Sounds like a config issue
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jan_hendrik)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.