After "4XX error on greeting from SMTP server" or "error response to SMTP command", mail is saved in Sent folder and composition window is closed, despite that SMTP send of mail fails
Categories
(MailNews Core :: Networking: SMTP, defect)
Tracking
(thunderbird_esr78 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | wontfix |
People
(Reporter: rob.smeets, Unassigned)
References
()
Details
(Keywords: regression, Whiteboard: [regression:TB14 per comment 26][TheList?][gs][datalossy][duptome])
User Story
Phenomenon itself is already analyzed and is known well, so additional incident/log is not needed. "What is needed" is data to create correct patch for this bug, or patch... Regression window: See comment #26 Possible relevant change : bug 554044 It may not be that problem is directly caused by the change. It may be that hidden problem was exposed by sorting out of code. Workaround: Because many SMTP servers accepts From: address other than ISP owns, use SMTP server which works as defined by RFC. In Tb, no direct relationship between mail account and SMTP server, so good SMTP server can be used by any Identity. (good : server who doesn't close connection after error resonse) 1. At "Outgoing(SMTP) server", add a good SMTP server, set it as "Default SMTP server". 2. At Identity setting, choose "use default SMTP server". Problem in above workaround. 1. Not all SMTP servers accept any From: address. Example : Yahoo! 2. Some additional setting is needed. Example: Gmail If Gmail, registration of "mail addr for From:" to Gmail is needed. 3. Some servers of recipient may reject the mail due to : mail domain of From: mail address != domain of SMTP server. In this case, "use of Web mail" should be considered, if problem of this bug is critical for you.
Attachments
(9 files)
(deleted),
image/png
|
Details | |
(deleted),
application/octet-stream
|
Details | |
(deleted),
application/gzip-compressed
|
Details | |
(deleted),
application/pdf
|
Details | |
(deleted),
patch
|
rkent
:
review-
|
Details | Diff | Splinter Review |
(deleted),
patch
|
alexhenrie24
:
feedback-
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
alexhenrie24
:
feedback-
|
Details | Diff | Splinter Review |
(deleted),
text/x-python
|
Details |
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Updated•12 years ago
|
Updated•12 years ago
|
Updated•12 years ago
|
Updated•12 years ago
|
Updated•12 years ago
|
Reporter | ||
Comment 10•12 years ago
|
||
Reporter | ||
Comment 11•12 years ago
|
||
Reporter | ||
Comment 12•12 years ago
|
||
Comment 13•12 years ago
|
||
Updated•12 years ago
|
Reporter | ||
Comment 14•12 years ago
|
||
Comment 15•12 years ago
|
||
Reporter | ||
Comment 16•12 years ago
|
||
Comment 19•12 years ago
|
||
Comment 20•12 years ago
|
||
Comment 21•12 years ago
|
||
Updated•12 years ago
|
Updated•12 years ago
|
Comment 26•12 years ago
|
||
Updated•12 years ago
|
Comment 27•12 years ago
|
||
Comment 28•12 years ago
|
||
Reporter | ||
Comment 29•12 years ago
|
||
Updated•12 years ago
|
Updated•12 years ago
|
Updated•12 years ago
|
Reporter | ||
Comment 30•12 years ago
|
||
Updated•12 years ago
|
Comment 31•12 years ago
|
||
Updated•12 years ago
|
Updated•12 years ago
|
Comment 35•12 years ago
|
||
Comment 36•12 years ago
|
||
Comment 37•12 years ago
|
||
Reporter | ||
Comment 38•12 years ago
|
||
Comment 39•12 years ago
|
||
Comment 42•12 years ago
|
||
Reporter | ||
Comment 44•12 years ago
|
||
Comment 45•12 years ago
|
||
Comment 46•12 years ago
|
||
Comment 47•12 years ago
|
||
Comment 48•12 years ago
|
||
Comment 49•12 years ago
|
||
Comment 50•12 years ago
|
||
Comment 51•12 years ago
|
||
Comment 52•12 years ago
|
||
Comment 54•12 years ago
|
||
Comment 55•12 years ago
|
||
Comment 56•12 years ago
|
||
Comment 57•12 years ago
|
||
Comment 58•12 years ago
|
||
Comment 59•12 years ago
|
||
Updated•12 years ago
|
Comment 60•12 years ago
|
||
Comment 61•12 years ago
|
||
Comment 62•12 years ago
|
||
Comment 64•11 years ago
|
||
Comment 66•11 years ago
|
||
Comment 67•11 years ago
|
||
Comment 68•11 years ago
|
||
Comment 69•11 years ago
|
||
Comment 71•11 years ago
|
||
Comment 72•11 years ago
|
||
Comment 73•11 years ago
|
||
Comment 74•11 years ago
|
||
Comment 75•11 years ago
|
||
Reporter | ||
Comment 76•11 years ago
|
||
Comment 77•11 years ago
|
||
Comment 78•11 years ago
|
||
Comment 79•11 years ago
|
||
Comment 81•11 years ago
|
||
Comment 82•10 years ago
|
||
Updated•10 years ago
|
Reporter | ||
Comment 84•10 years ago
|
||
Comment 85•10 years ago
|
||
Comment 86•10 years ago
|
||
Comment 87•10 years ago
|
||
Comment 88•10 years ago
|
||
Comment 89•10 years ago
|
||
Reporter | ||
Comment 90•10 years ago
|
||
Comment 92•9 years ago
|
||
Comment 93•9 years ago
|
||
Comment 94•9 years ago
|
||
Reporter | ||
Comment 95•9 years ago
|
||
Comment 96•9 years ago
|
||
Reporter | ||
Comment 97•9 years ago
|
||
Comment 98•9 years ago
|
||
Updated•9 years ago
|
Comment 99•9 years ago
|
||
Comment 100•9 years ago
|
||
Updated•9 years ago
|
Comment 101•9 years ago
|
||
Comment 102•9 years ago
|
||
Comment 103•9 years ago
|
||
Comment 104•9 years ago
|
||
Comment 105•9 years ago
|
||
Comment 106•9 years ago
|
||
Comment 107•9 years ago
|
||
Comment 108•9 years ago
|
||
Comment 109•9 years ago
|
||
Comment 110•9 years ago
|
||
Comment 111•9 years ago
|
||
Comment 112•9 years ago
|
||
Comment 113•9 years ago
|
||
Comment 114•9 years ago
|
||
Reporter | ||
Comment 115•9 years ago
|
||
Comment 116•9 years ago
|
||
Comment 117•9 years ago
|
||
Updated•9 years ago
|
Reporter | ||
Comment 118•9 years ago
|
||
Reporter | ||
Comment 119•9 years ago
|
||
Comment 120•9 years ago
|
||
Reporter | ||
Comment 121•9 years ago
|
||
Comment 122•9 years ago
|
||
Comment 123•9 years ago
|
||
Comment 124•9 years ago
|
||
Comment 125•8 years ago
|
||
Comment 126•8 years ago
|
||
Comment 127•8 years ago
|
||
Comment 128•8 years ago
|
||
Comment 129•8 years ago
|
||
Comment 130•8 years ago
|
||
Comment 131•8 years ago
|
||
Comment 132•8 years ago
|
||
Comment 133•8 years ago
|
||
Comment 134•8 years ago
|
||
Comment 135•8 years ago
|
||
Updated•8 years ago
|
Comment 136•8 years ago
|
||
Comment 137•8 years ago
|
||
Updated•8 years ago
|
Comment 140•8 years ago
|
||
Comment 144•7 years ago
|
||
Comment 145•7 years ago
|
||
Comment 146•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 147•7 years ago
|
||
Comment 148•7 years ago
|
||
Comment 149•7 years ago
|
||
Comment 150•7 years ago
|
||
Comment 156•6 years ago
|
||
Comment 157•6 years ago
|
||
Comment 158•6 years ago
|
||
Comment 159•6 years ago
|
||
Comment 160•6 years ago
|
||
A little script to implement a badly-behaving smtp server which responds to MAIL commands with "554 Go away!", then disconnects.
Usage:
Run it locally, then set your outgoing STMP server to localhost:6502
(with this script I can confirm the copy-to-sent-mail-after-an-error behaviour, so I'm looking at the fixes now).
Comment 161•5 years ago
|
||
Hello people, I'm using SeaMonkey in Windows 10, so command lines mean nothing to an end user like me, illiterate in Linux and programming. I wonder if I copy the command lines into a .txt file and save it as .bat or .exe and execute it afterwards. Please give me a clue at it.
Comment 162•5 years ago
|
||
How does your comment #161 relate to this bug? Please don't post unrelated comments.
Comment 163•5 years ago
|
||
Jorg K, my post is related to the codes pasted here as instructions for command-line based OSs.
Comment 164•5 years ago
|
||
Jorg K, please tell me if there is something I can do with the aforementioned patches, because SM has the option Tools -> Web Development -> Programmer's toolbar.
Maybe there is something I can do in order to make it work in my Windows 10 OS, thank you.
Comment 165•5 years ago
|
||
In order to make something work, you need to build/compile Thunderbird. There is no easy fix here.
Updated•5 years ago
|
Comment 166•5 years ago
|
||
After giving up Seamonkey, I've taken my backed up data and installed Thunderbird. But the same problem is still there. I thought the greater Thunderbird popularity would be enough to prompt the community to fix this problem.
I've alto tried to Google some possible solution and ended up in an interesting web page with some workarounds which did not work in my case, though:
http://kb.mozillazine.org/Cannot_send_mail
Comment 167•5 years ago
|
||
BTW I've followed the instructions therein to log the events and you can see below the results:
2019-08-08 21:30:15.478000 UTC - [5220:Main Thread]: I/SMTP SMTP Connecting to: xxx.xxx.xxx.xx:110
2019-08-08 21:30:15.525000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 0
2019-08-08 21:30:15.525000 UTC - [5220:Main Thread]: I/SMTP SMTP Response: +OK Hello there.
2019-08-08 21:30:15.525000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 14
2019-08-08 21:30:16.500000 UTC - [5220:Main Thread]: I/SMTP SMTP Send: QUIT
2019-08-08 21:30:16.500000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 0
2019-08-08 21:30:16.519000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 0
2019-08-08 21:30:16.519000 UTC - [5220:Main Thread]: I/SMTP SMTP Response: +OK Better luck next time.
2019-08-08 21:30:16.519000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 11
2019-08-08 21:30:16.530000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 12
2019-08-08 21:30:16.530000 UTC - [5220:Main Thread]: I/SMTP SMTP connection error quitting 80004004, ignoring
2019-08-08 21:30:17.789000 UTC - [5220:Main Thread]: I/SMTP SMTP Connecting to: xxx.xxx.xxx.xx:110
2019-08-08 21:30:17.839000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 0
2019-08-08 21:30:17.839000 UTC - [5220:Main Thread]: I/SMTP SMTP Response: +OK Hello there.
2019-08-08 21:30:17.839000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 14
2019-08-08 21:30:18.812000 UTC - [5220:Main Thread]: I/SMTP SMTP Send: QUIT
2019-08-08 21:30:18.812000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 0
2019-08-08 21:30:18.832000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 0
2019-08-08 21:30:18.832000 UTC - [5220:Main Thread]: I/SMTP SMTP Response: +OK Better luck next time.
2019-08-08 21:30:18.832000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 11
2019-08-08 21:30:18.842000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 12
2019-08-08 21:30:18.842000 UTC - [5220:Main Thread]: I/SMTP SMTP connection error quitting 80004004, ignoring
2019-08-08 21:30:19.852000 UTC - [5220:Main Thread]: I/SMTP SMTP Connecting to: xxx.xxx.xxx.xx:110
2019-08-08 21:30:19.912000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 0
2019-08-08 21:30:19.912000 UTC - [5220:Main Thread]: I/SMTP SMTP Response: +OK Hello there.
2019-08-08 21:30:19.912000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 14
2019-08-08 21:30:20.944000 UTC - [5220:Main Thread]: I/SMTP SMTP Send: QUIT
2019-08-08 21:30:20.944000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 0
2019-08-08 21:30:20.964000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 0
2019-08-08 21:30:20.964000 UTC - [5220:Main Thread]: I/SMTP SMTP Response: +OK Better luck next time.
2019-08-08 21:30:20.964000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 11
2019-08-08 21:30:20.974000 UTC - [5220:Main Thread]: I/SMTP SMTP entering state: 12
2019-08-08 21:30:20.974000 UTC - [5220:Main Thread]: I/SMTP SMTP connection error quitting 80004004, ignoring
Updated•5 years ago
|
Comment 170•5 years ago
|
||
(In reply to Ben Campbell from comment #160)
Created attachment 9046887 [details]
badsmtpd.pyA little script to implement a badly-behaving smtp server which responds to MAIL commands with "554 Go away!", then disconnects.
Usage:
Run it locally, then set your outgoing STMP server to localhost:6502(with this script I can confirm the copy-to-sent-mail-after-an-error behaviour, so I'm looking at the fixes now).
Ben, Did you come up with any further ideas or modified WIP?
Updated•4 years ago
|
Updated•4 years ago
|
Comment 173•4 years ago
|
||
I have the following environment: Europe, Austria, A1 Provider, sending with Thunderbird 78.7.1(64-bit) on GNU/Linux Ubuntu 20.04 LTS
the outgoing configuration is SMTP port 587 with STARTTLS
everything works fine, but sometimes the Provider SMTP Server is BUSY.
I get in thunderbird client a pop up "load too high (#4.3.0)" and then the email is in 'sent' folder.
as I always put myself a CC in every email, I can guarantee that the email was not processed by the SMTP server.
this matches the pop up message.
this is a transient SMTP server error.
thunderbird client knows this and shall not put this failed output into folder 'sent' , but into folder 'draft' for later retry.
Comment 174•4 years ago
|
||
after thinking about the possibilities for this server "transient failure"
I would recommend rescue in the local Filesystem on server status (#4.3.0) independent of config for folder 'sent' and folder 'draft'
make a subdirectory "rescue" in the local File System below local ARCHIVE folder and put the email in here.
this is independent of the server BUSY problem.
the file in 'rescue' folder can now easily retried later and is not 'lost on transit'
Comment 175•4 years ago
|
||
The reason that this bug is critical is because a user does not know an email was not sent. The solution that is needed is for the user to know that it has not been sent. A workaround does not help if a user does not know there is a problem. I raised the issue many years ago and have kept an eye that the brief message that sending fails, before the email is put in the sent folder, does not appear. For me the circumstances that originally caused it seem no longer to apply.
Comment 176•4 years ago
|
||
In case the server responds with a 550 Thunderbird correctly shows an error message to the user and goes back to the edit window, so you can resend the message.
If it would do the same in the case of a 4XX all would be good.
Should be an easy fix.
Comment 177•4 years ago
|
||
Same cause for bug 1656240 comment 11.
Comment 178•4 years ago
|
||
I completely agree with jonwestburne
CRITICAL because the user does not know the email was not sent.
I had again a server BUSY condition.
thunderbird version 78.7.1(64-bit) on GNU/Linux Ubuntu 20.04 LTS platform.
popup "load too high (#4.3.0)" and then the email is in 'sent' folder of my local Filesystem Archive.
my automatic "CC to sender" proves that it was not processed by server. I did not receive my CC.
Comment 180•3 years ago
|
||
Do we expect this to be gone with smtp-js?
Comment 181•3 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #180)
Do we expect this to be gone with smtp-js?
Yes, I think so. Compose window is still open in my local test.
Comment 182•3 years ago
|
||
I just realized Ben has a test script comment 160. Does smtp-js have a test library, and does it cover this?
Comment 183•3 years ago
|
||
We have a Smtpd.jsm fakeserver for testing, we don't have a test case for this bug though.
Comment 184•3 years ago
|
||
The other reason this is a critical bug is because if the user does not have Thunderbird configured to save messages in Sent Mail -- which the user shouldn't, e.g., if the user is using Gmail, since Gmail saves outbound messages automatically, then this bug causes DATA LOSS by closing the window without saving the message ANYWHERE.
Can believe this bug is still not fixed after nearly a decade. Glad to see it's about to be fixed, but as someone else pointed out in a recent comment, if this is just a matter of changing the status codes that cause Thunderbird to leave the compose window open, then maybe we should make that fix in TB78 rather than waiting until the next major release for it to be fixed?
Comment 185•3 years ago
|
||
Thunderbird 91 is just around the corner, and any change to 78 could no longer get beta testing, so even with a fix to the old code we would not take it at this point.
Updated•3 years ago
|
Description
•