Closed Bug 236924 Opened 21 years ago Closed 21 years ago

SMTP email posting fails, but POP3 email retrieval works

Categories

(MailNews Core :: Networking: SMTP, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: rstolfa, Assigned: sspitzer)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 Recently upgraded from 1.5 to 1.6. In doing so, I think I screwed up and didn't "uninstall" prior to installing. Ever since, my sending ability has went down the tubes. Given my prefs.js settings of: user_pref("mail.smtp.defaultserver", "smtp1"); user_pref("mail.smtpserver.smtp1.auth_method", 1); user_pref("mail.smtpserver.smtp1.hostname", "smtp.mail.yahoo.com"); user_pref("mail.smtpserver.smtp1.port", 25); user_pref("mail.smtpserver.smtp1.trySecAuth", 1); user_pref("mail.smtpserver.smtp1.try_ssl", 0); user_pref("mail.smtpserver.smtp1.username", "rstolfa"); I was hoping to see more of what "trySecAuth" and "try_ssl" values might be set. Is there a "force authentication" setting? Here's what I get from running the logs using set NSPR_LOG_MODULES=SMTP:9 set NSPR_LOG_FILE=c:\temp\mozilla.log start mozilla c:\temp\mozillia.log 0[283f88]: SMTP Connecting to: smtp.mail.yahoo.com 0[283f88]: SMTP entering state: 0 0[283f88]: SMTP Response: 220 smtp011.mail.yahoo.com ESMTP 0[283f88]: SMTP entering state: 14 0[283f88]: SMTP Send: EHLO yahoo.com 0[283f88]: SMTP entering state: 0 0[283f88]: SMTP Response: 250-Requested mail action okay, completed 0[283f88]: SMTP entering state: 0 0[283f88]: SMTP Response: 250 8BITMIME 0[283f88]: SMTP entering state: 15 0[283f88]: SMTP entering state: 22 0[283f88]: SMTP entering state: 4 0[283f88]: SMTP Send: MAIL FROM:<rstolfa@yahoo.com> 0[283f88]: SMTP entering state: 0 0[283f88]: SMTP Response: 530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html 0[283f88]: SMTP entering state: 6 0[283f88]: SMTP entering state: 12 0[283f88]: SMTP entering state: 13 I am running WindowsXP/Pro, SP1, on a Dell Insprion. When I try to send messages, I get back the following error message from Yahoo "An error occurred while sending mail. The mail server responded: authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html. Please verify that your email address is correcte in your Mail preferences and try again." Reproducible: Always Steps to Reproduce: 1. 2. 3.
Huh? If auth_method is 1, we authenticate if the server says he's able to. There's no option to force authentication because if the server doesn't advertise the mechanisms, we don't know which to use. In your case, the SMTP server doesn't advertise one. BUT, if I connect to Yahoo's mail server I get 250-smtp011.mail.yahoo.com 250-AUTH LOGIN PLAIN 250-PIPELINING 250 8BITMIME If you try to connect using telnet, do you get the same as in your log?
(In reply to comment #0) > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) > Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 > > Recently upgraded from 1.5 to 1.6. In doing so, I think I screwed up and > didn't "uninstall" prior to installing. Ever since, my sending ability has > went down the tubes. Given my prefs.js settings of: > > user_pref("mail.smtp.defaultserver", "smtp1"); > user_pref("mail.smtpserver.smtp1.auth_method", 1); > user_pref("mail.smtpserver.smtp1.hostname", "smtp.mail.yahoo.com"); > user_pref("mail.smtpserver.smtp1.port", 25); > user_pref("mail.smtpserver.smtp1.trySecAuth", 1); > user_pref("mail.smtpserver.smtp1.try_ssl", 0); > user_pref("mail.smtpserver.smtp1.username", "rstolfa"); > > I was hoping to see more of what "trySecAuth" and "try_ssl" values might be > set. Is there a "force authentication" setting? Here's what I get from > running the logs using > > set NSPR_LOG_MODULES=SMTP:9 > set NSPR_LOG_FILE=c:\temp\mozilla.log > start mozilla > > c:\temp\mozillia.log > > 0[283f88]: SMTP Connecting to: smtp.mail.yahoo.com > 0[283f88]: SMTP entering state: 0 > 0[283f88]: SMTP Response: 220 smtp011.mail.yahoo.com ESMTP > 0[283f88]: SMTP entering state: 14 > 0[283f88]: SMTP Send: EHLO yahoo.com > 0[283f88]: SMTP entering state: 0 > 0[283f88]: SMTP Response: 250-Requested mail action okay, completed > 0[283f88]: SMTP entering state: 0 > 0[283f88]: SMTP Response: 250 8BITMIME > 0[283f88]: SMTP entering state: 15 > 0[283f88]: SMTP entering state: 22 > 0[283f88]: SMTP entering state: 4 > 0[283f88]: SMTP Send: MAIL FROM:<rstolfa@yahoo.com> > 0[283f88]: SMTP entering state: 0 > 0[283f88]: SMTP Response: 530 authentication required - for help go to > http://help.yahoo.com/help/us/mail/pop/pop-11.html > 0[283f88]: SMTP entering state: 6 > 0[283f88]: SMTP entering state: 12 > 0[283f88]: SMTP entering state: 13 > > > I am running WindowsXP/Pro, SP1, on a Dell Insprion. When I try to send > messages, I get back the following error message from Yahoo > > "An error occurred while sending mail. The mail server responded: > authentication required - for help go to > http://help.yahoo.com/help/us/mail/pop/pop-11.html. Please verify that your > email address is correcte in your Mail preferences and try again." > > > > > Reproducible: Always > Steps to Reproduce: > 1. > 2. > 3. (In reply to comment #1) > Huh? > If auth_method is 1, we authenticate if the server says he's able to. There's no > option to force authentication because if the server doesn't advertise the > mechanisms, we don't know which to use. > In your case, the SMTP server doesn't advertise one. BUT, if I connect to > Yahoo's mail server I get > 250-smtp011.mail.yahoo.com > 250-AUTH LOGIN PLAIN > 250-PIPELINING > 250 8BITMIME > > If you try to connect using telnet, do you get the same as in your log? When I connect, I get: < 220 smtp104.mail.sc5.yahoo.com ESMTP > EHLO yahoo.com < 250 8BITMIME > QUIT Please advise.
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. Fail as a different ISP is used.
(In reply to comment #3) > 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. Fail as a different ISP is used. Excuse me? "Fail as a different ISP is used." ...leaves me a bit confused. In any case, I think I've narrowed this down (thanks muchly Christian Eyrich) to my firewall blocking the "AUTH" messages from yahoo. I'll take it up with them now. It's definitely the problem, as when I hook up on the outside of my firewall, the "AUTH PLAIN", etc. messages come in as advertised and Mozilla works just fine. This bug is closed. Thanks one and all for your help. For the record, the firewall involved is a WatchGuard Firebox II, should anybody ever run across this again.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Hey, Yuk Man Arion, please don't post you message in a dozend bugs. I think you should stay in bug 236525.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Just setting the right resolution. Roland, thanks for this explanation. I'll bear this reason in my mind for future issues.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → INVALID
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.