Closed Bug 47853 Opened 25 years ago Closed 25 years ago

Second send operation fails due to missing HELO

Categories

(MailNews Core :: Networking: SMTP, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: BenB, Assigned: mscott)

Details

Attachments

(1 file)

I can usually send exactly one mail per session. Each following attempt fails with an error: "[...] The mail server responded: MAIL FROM must be preceded by HELO/EHLO command. Please verify that your email address is correct in your Mail preferences and try again.". 100% reproducable for me.
I think this is a dup of some other HELO/EHLO bugs I have. I think Jeff's whacky smtp capabilities caching code really broke a lot of stuff like this. I'm tempted to just turn it off since he's out on sabbatical and it really doesn't work very well. Another possibility is that someone in compose isn't forcing us to create a new smtp protocol instance.
Status: NEW → ASSIGNED
Keywords: nsbeta3
Target Milestone: --- → M18
Ben, I'm working on a patch that backs out all the smtp capability caching. But I don't have a server to test against that requires that HELO/EHLO gets sent first. If I post a patch can you test it against your mail server?
Attached patch proposed fixSplinter Review
This patch fixes this problem for me. I see the EHLO going out every time we send now.
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Verified with custom build on Linux.
Status: RESOLVED → VERIFIED
tnx
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: