Closed Bug 270692 Opened 20 years ago Closed 17 years ago

Delivering Mail Window Hangs after delivering mail with SSL

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jhancock, Assigned: mscott)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla Thunderbird version 0.9 (20041103)

When I have SSL selected as my secure connection for my SMTP server, Thunderbird
occasionally will hang on the "Delivering Mail" message.  When I cancel the
window, the message is delivered correctly but Thunderbird reports that it was
unable to contact the SMTP server and doesn't move the message to the sent folder.
This bug first started appearing after switching to a debian mail server using
postfix 1.1.11-0 .

Reproducible: Sometimes
Steps to Reproduce:
1.Enable SSL in outgoing server (SMTP) settings.
2.Save username and password used to authenticate with the smtp server.
3.Send a message.

Actual Results:  
After sending the message, a dialog comes up prompting me to accept or cancel
the expired security certificate.  I accept and a dialog box comes up which says
"Delivering Mail" which stays on the screen until I hit cancel.  I cancel this
dialog box and another appears which says the program was unable to contact the
smtp server.  I hit okay and the message remains on the screen without being
moved to the sent folder, even though the message has been delivered correctly.

Expected Results:  
After sending the message and accepting the expired security certificate, the
program should send the message and move the sent message to the sent folder.
I generated this smtp log with a couple of successful sends with and without
SSL, and then one unsuccessful send with SSL and a successful one (which I put
comments around).
This also happens on my SMTP server using Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.8a6) Gecko/20050111 with SSL enabled. When using the same SMTP
server without SSL everything works fine.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I can confirm that this bug still exists in the latest release (Thunderbird 1.0
20041206).  Access to same SMTP server without SSL works every time.  Using MS
Outlook with SSL to same SMTP server has no issues.

I see two different types of failures:

1.  Mail delivery window hangs at 100% and mail is sent successfully.  As mail
delivery window doesn't close "naturally", a copy of the sent message is not
copied to my Sent mail folder as per configuration.

2.  Mail delivery windows hangs at 100% and mail is not sent.  SMTP server
(qmail) reports timeout reached without input.
I'm having exactly this same bug in tbird 1.0.2 on MacOS X when sending mail 
via smtp-ssl (465/tcp).  No direct authentication in the smtp session; it's
pop-before-smtp, and that part is working out alright.   

When the message is sent t-bird connects to smtp-ssl, sends message in, and then
just hangs waiting for ... who knows what..   When I hit the Cancel button in the
dialog box, t-bird will close the socket and THEN the Postfix SMTP server will
deliver the message successfully.   T-bird has no idea that this has happened,
though, and leaves the message compose window open.
Same problem (exactly like in comment #4) exists with Thunderbird ersion 1.5.0.9 (20070102) on RedHat Linux (Fedora 5). 

A custom smtp-server is listening behind sslserver [ http://www.superscript.com/ucspi-ssl/sslserver.html ];
sending mail via KMail works without problems.

Perhaps TBird stumbles over the self-signed certificate somehow - but the problem also shows up with unencrypted SMTP and viewing the transaction with wireshark shows no substantial differences between how Kmail and TB handle the smtp-dialog.
Currently exists in 1.5.0.10 (20070221) on WinXP home as well.  Although I've had this issue for some time now.  (can't remember when it wasn't an issue)

ISP is running Courier-IMAP and is looking to see if they can find anything odd on their end, but I suspect they wont.
(In reply to comment #5)
> Same problem (exactly like in comment #4) exists with Thunderbird ersion
> 1.5.0.9 (20070102) on RedHat Linux (Fedora 5). 
> 
> A custom smtp-server is listening behind sslserver [
> http://www.superscript.com/ucspi-ssl/sslserver.html ];
> sending mail via KMail works without problems.

Seems like my smtp-server did not answer with "221 Goodybye" after Thunderbird delivered its message... 

Problem solved (for me).
Moving all my pre-2007 sent email to Sent.old seemed to work around the issue for now.  (2,622 msgs)  I haven't had problems since.

QA Contact: front-end
=> WFM per reporter "I'm running version 2.0.0.14 (20080421)."
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: