Closed Bug 561618 Opened 14 years ago Closed 13 years ago

SMTP Protocol Failure

Categories

(MailNews Core :: Import, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 11.0

People

(Reporter: questem, Assigned: hiro)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier: Thunderbird/3.0.4

Thunderbird does not wait server greeting message to start sending smtp commands, so thunderbird does not work with Sendmail Greet-Pause feature (example FEATURE(`greet_pause',3000))

Sendmail server log:
... rejecting commands from XXX due to pre-greeting traffic.

Reproducible: Always

Steps to Reproduce:
1.Send mail using SMTP to Sendmail server with greet_pause feature
2.
3.
Actual Results:  
Mail not sent.

Expected Results:  
Thunderbird should wait to receive server greet message, and then start sending mail.

Other email managers (like old Outlook Express) don't have this problem.
Please attach a SMTP log :
https://wiki.mozilla.org/MailNews:Logging
Component: General → Networking: SMTP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.smtp
Hi Matthias,

SMTP Log only gets:
0[1829140]: SMTP Connecting to: <server>
and nothing more.

I found the problem, it only happens with imported accounts from outlook express, the account configuration is imported assuming to use SSL/TLS (instead of STARTTLS even if port is 25).

In Outlook Express there is only one checkbox, "server requires a secure connection", making no difference between SSL and STARTTLS (I supose that O.Express uses STARTTLS if port is 25, and SSL if it is 465).

Changing that setting in Thunderbird (from SSL/TLS to STARTTLS), everything works OK.
Status: UNCONFIRMED → NEW
Component: Networking: SMTP → Import
Ever confirmed: true
QA Contact: networking.smtp → import
Attached patch Proposed fixSplinter Review
Outlook Express had not been supported STARTTLS before MS07-034 (see http://support.microsoft.com/kb/929123 and http://support.microsoft.com/kb/933612).

This patch checks that KB933612 is applied and uses STARTTLS if SMTP port is not 465.
I think it works well in most cases.
Assignee: nobody → hiikezoe
Attachment #577478 - Flags: review?(dbienvenu)
Comment on attachment 577478 [details] [diff] [review]
Proposed fix

Thx, Hiro. I'm not in a position to test this, but it looks reasonable.
Attachment #577478 - Flags: review?(dbienvenu) → review+
Keywords: checkin-needed
Status: NEW → ASSIGNED
http://hg.mozilla.org/comm-central/rev/5343a0b4104e
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 11.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: