Tbird fails login to SMTP server but only for one login Tbird 89.0b1
Categories
(MailNews Core :: Networking: SMTP, defect)
Tracking
(thunderbird_esr78 unaffected, thunderbird89 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | unaffected |
thunderbird89 | --- | fixed |
People
(Reporter: admin, Assigned: rnons)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Steps to reproduce:
Attempt to send from username "friends-and-family@denny.pe".
Actual results:
Hangs in "Sending Message..." dialogue. In previous Tbird x64 88.x returns "failed login to smtp server".
Any diagnostics you require, please indicate & I will comply. This fault is spoiling my conversation threads.
Expected results:
- This worked prior to v88 and maybe was broken before v88, sorry, I have not kept a record of versions.
- With same settings, the webmail provided by my hosting service allows to send from this username.
- Therefore, a recent version has broken the smtp login from thunderbird. Maybe it is because the username is too long. However, I have sent from this username for several months, so this problem has been introduced.
Assignee | ||
Comment 1•3 years ago
|
||
Can you please do the following to get some debug logs
- go to the Config Editor, and set both
mailnews.send.loglevel
andmailnews.smtp.loglevel
toAll
- open DevTools and select the Console tab, clear any existing logs
- send a mail, debug logs should show up in the Console tab
- copy/paste the logs here
Thanks
Reporter | ||
Comment 2•3 years ago
|
||
Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
set modalType resource://gre/modules/Prompter.jsm:1084
ModalPrompter resource://gre/modules/Prompter.jsm:1040
getPrompt resource://gre/modules/Prompter.jsm:65
CompleteGenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:4853
GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:4789
SendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:5198
doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:995
doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1191
goDoCommand chrome://global/content/globalOverlay.js:101
oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1
mailnews.send: Creating message file MessageSend.jsm:116:25
mailnews.send: Message file created MessageSend.jsm:137:25
mailnews.send: Delivering mail message MessageSend.jsm:1017:25
mailnews.smtp: Sending message <afdd1834-dd88-cbe7-f5d2-104e11684c71@denny.pe> SmtpService.jsm:80:18
mailnews.send: notifyListenerOnStartSending MessageSend.jsm:358:25
mailnews.smtp: Socket closed. SmtpClient.jsm:464:17
NOTE "Sending Message" panel still showing after 5 minutes
David D
Reporter | ||
Comment 3•3 years ago
|
||
This may or may not help.I sent from another username and here is the log. There seems to be a conflict in the smtp login from tbird. However if I use the webmail service there is no login problem. I have checked all the account settings. See next comment (for clarity)
Reporter | ||
Comment 4•3 years ago
|
||
Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
mailnews.send: Creating message file MessageSend.jsm:116:25
mailnews.send: Message file created MessageSend.jsm:137:25
mailnews.send: Delivering mail message MessageSend.jsm:1017:25
mailnews.smtp: Sending message <85248ed0-d382-2207-6291-66ed3d7d8602@denny.pe> SmtpService.jsm:80:18
mailnews.send: notifyListenerOnStartSending MessageSend.jsm:358:25
mailnews.smtp: S: 220 nahua.yachay.pe ESMTP Exim 4.94
SmtpClient.jsm:413:17
mailnews.smtp: C: EHLO [192.168.1.67] SmtpClient.jsm:561:19
mailnews.smtp: S: 250-nahua.yachay.pe Hello [192.168.1.67] [201.230.81.229]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-X_PIPE_CONNECT
250-AUTH PLAIN LOGIN
250 HELP
SmtpClient.jsm:413:17
mailnews.smtp: Possible auth methods: PLAIN,LOGIN SmtpClient.jsm:865:17
mailnews.smtp: Maximum allowd message size: 52428800 SmtpClient.jsm:871:19
mailnews.smtp: Current auth method: PLAIN SmtpClient.jsm:627:17
mailnews.smtp: Authentication via AUTH PLAIN SmtpClient.jsm:642:21
mailnews.smtp: C: Logging suppressed (it probably contained auth information) SmtpClient.jsm:557:19
mailnews.smtp: S: 235 Authentication succeeded
SmtpClient.jsm:413:17
mailnews.smtp: Authentication successful. SmtpClient.jsm:1062:17
mailnews.smtp: C: MAIL FROM:<anonimo@denny.pe> BODY=8BITMIME SIZE=465 SmtpClient.jsm:561:19
mailnews.smtp: S: 250 OK
SmtpClient.jsm:413:17
mailnews.smtp: MAIL FROM successful, proceeding with 1 recipients SmtpClient.jsm:1105:17
mailnews.smtp: Adding recipient... SmtpClient.jsm:1110:17
mailnews.smtp: C: RCPT TO:<davidrwdenny@gmail.com> SmtpClient.jsm:561:19
mailnews.smtp: S: 250 Accepted
SmtpClient.jsm:413:17
mailnews.smtp: RCPT TO done, proceeding with payload SmtpClient.jsm:1155:21
mailnews.smtp: C: DATA SmtpClient.jsm:561:19
mailnews.smtp: S: 354 Enter message, ending with "." on a line by itself
SmtpClient.jsm:413:17
mailnews.smtp: Sending 465 bytes of payload SmtpClient.jsm:537:17
mailnews.smtp: S: 250 OK id=1la3l3-007o5i-CL
SmtpClient.jsm:413:17
mailnews.smtp: Message sent successfully. SmtpClient.jsm:1223:21
mailnews.send: OnStopRunningUrl; exitCode=0 MessageSend.jsm:1273:25
mailnews.send: Delivery exit processing; exitCode=0 MessageSend.jsm:541:25
mailnews.send: notifyListenerOnStopSending; status=0 MessageSend.jsm:489:25
mailnews.send: Processing fcc; folderUri=imap://anonimo%40denny.pe@denny.pe/INBOX/Sent MessageSend.jsm:860:25
mailnews.send: fcc file created MessageSend.jsm:892:25
mailnews.send: startCopyOperation MessageSend.jsm:904:25
mailnews.send: notifyListenerOnStartCopy MessageSend.jsm:365:25
mailnews.smtp: Closing connection... SmtpClient.jsm:169:17
mailnews.smtp: Idling while waiting for new connections... SmtpClient.jsm:1233:19
mailnews.smtp: Socket closed. SmtpClient.jsm:464:17
mailnews.send: notifyListenerOnStopCopy; status=0 MessageSend.jsm:383:25
mailnews.send: onStopOperation; status=0 MessageSend.jsm:516:25
mailnews.send: Clean up temporary files MessageSend.jsm:976:25
Uncaught
Exception { name: "NS_ERROR_FAILURE", message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.getInlineSpellChecker]", result: 2147500037, filename: "chrome://messenger/content/messengercompose/MsgComposeCommands.js", lineNumber: 352, columnNumber: 0, data: null, stack: "updateEditableFields@chrome://messenger/content/messengercompose/MsgComposeCommands.js:352:38\nToggleWindowLock@chrome://messenger/content/messengercompose/MsgComposeCommands.js:2720:23\nComposeProcessDone@chrome://messenger/content/messengercompose/MsgComposeCommands.js:729:21\n_doFcc2/<@resource:///modules/MessageSend.jsm:946:12\nnotify@resource://gre/modules/Timer.jsm:62:17\n", location: XPCWrappedNative_NoHelper }
MsgComposeCommands.js:352
NS_ERROR_NOT_AVAILABLE: PreferDisplayName: undefined - not a boolean AddrBookCard.jsm:166
Reporter | ||
Comment 5•3 years ago
|
||
(In reply to David Denny from comment #4)
Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
mailnews.send: Creating message file MessageSend.jsm:116:25
mailnews.send: Message file created MessageSend.jsm:137:25
mailnews.send: Delivering mail message MessageSend.jsm:1017:25
mailnews.smtp: Sending message <85248ed0-d382-2207-6291-66ed3d7d8602@denny.pe> SmtpService.jsm:80:18
mailnews.send: notifyListenerOnStartSending MessageSend.jsm:358:25
mailnews.smtp: S: 220 nahua.yachay.pe ESMTP Exim 4.94SmtpClient.jsm:413:17
mailnews.smtp: C: EHLO [192.168.1.67] SmtpClient.jsm:561:19
mailnews.smtp: S: 250-nahua.yachay.pe Hello [192.168.1.67] [201.230.81.229]250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-X_PIPE_CONNECT
250-AUTH PLAIN LOGIN
250 HELP
SmtpClient.jsm:413:17
mailnews.smtp: Possible auth methods: PLAIN,LOGIN SmtpClient.jsm:865:17
mailnews.smtp: Maximum allowd message size: 52428800 SmtpClient.jsm:871:19
mailnews.smtp: Current auth method: PLAIN SmtpClient.jsm:627:17
mailnews.smtp: Authentication via AUTH PLAIN SmtpClient.jsm:642:21
mailnews.smtp: C: Logging suppressed (it probably contained auth information) SmtpClient.jsm:557:19
mailnews.smtp: S: 235 Authentication succeededSmtpClient.jsm:413:17
mailnews.smtp: Authentication successful. SmtpClient.jsm:1062:17
mailnews.smtp: C: MAIL FROM:<anonimo@denny.pe> BODY=8BITMIME SIZE=465 SmtpClient.jsm:561:19
mailnews.smtp: S: 250 OKSmtpClient.jsm:413:17
mailnews.smtp: MAIL FROM successful, proceeding with 1 recipients SmtpClient.jsm:1105:17
mailnews.smtp: Adding recipient... SmtpClient.jsm:1110:17
mailnews.smtp: C: RCPT TO:<davidrwdenny@gmail.com> SmtpClient.jsm:561:19
mailnews.smtp: S: 250 AcceptedSmtpClient.jsm:413:17
mailnews.smtp: RCPT TO done, proceeding with payload SmtpClient.jsm:1155:21
mailnews.smtp: C: DATA SmtpClient.jsm:561:19
mailnews.smtp: S: 354 Enter message, ending with "." on a line by itselfSmtpClient.jsm:413:17
mailnews.smtp: Sending 465 bytes of payload SmtpClient.jsm:537:17
mailnews.smtp: S: 250 OK id=1la3l3-007o5i-CLSmtpClient.jsm:413:17
mailnews.smtp: Message sent successfully. SmtpClient.jsm:1223:21
mailnews.send: OnStopRunningUrl; exitCode=0 MessageSend.jsm:1273:25
mailnews.send: Delivery exit processing; exitCode=0 MessageSend.jsm:541:25
mailnews.send: notifyListenerOnStopSending; status=0 MessageSend.jsm:489:25
mailnews.send: Processing fcc; folderUri=imap://anonimo%40denny.pe@denny.pe/INBOX/Sent MessageSend.jsm:860:25
mailnews.send: fcc file created MessageSend.jsm:892:25
mailnews.send: startCopyOperation MessageSend.jsm:904:25
mailnews.send: notifyListenerOnStartCopy MessageSend.jsm:365:25
mailnews.smtp: Closing connection... SmtpClient.jsm:169:17
mailnews.smtp: Idling while waiting for new connections... SmtpClient.jsm:1233:19
mailnews.smtp: Socket closed. SmtpClient.jsm:464:17
mailnews.send: notifyListenerOnStopCopy; status=0 MessageSend.jsm:383:25
mailnews.send: onStopOperation; status=0 MessageSend.jsm:516:25
mailnews.send: Clean up temporary files MessageSend.jsm:976:25
Uncaught
Exception { name: "NS_ERROR_FAILURE", message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.getInlineSpellChecker]", result: 2147500037, filename: "chrome://messenger/content/messengercompose/MsgComposeCommands.js", lineNumber: 352, columnNumber: 0, data: null, stack: "updateEditableFields@chrome://messenger/content/messengercompose/MsgComposeCommands.js:352:38\nToggleWindowLock@chrome://messenger/content/messengercompose/MsgComposeCommands.js:2720:23\nComposeProcessDone@chrome://messenger/content/messengercompose/MsgComposeCommands.js:729:21\n_doFcc2/<@resource:///modules/MessageSend.jsm:946:12\nnotify@resource://gre/modules/Timer.jsm:62:17\n", location: XPCWrappedNative_NoHelper }
MsgComposeCommands.js:352
NS_ERROR_NOT_AVAILABLE: PreferDisplayName: undefined - not a boolean AddrBookCard.jsm:166
NOTE: this is from a tbird login that works. Don't wish to confuse...
Assignee | ||
Comment 6•3 years ago
|
||
From comment 2, the socket connection to the SMTP server was not established, can you take a look at the SMTP settings of the two accounts? Especially server name/port and connection security.
Reporter | ||
Comment 7•3 years ago
|
||
OK
Successful send from anonimo@denny.pe
server name denny.pe
port 465
SSL/TLS
Normal Password
Username anonimo@denny.pe
Unsuccessful send from friends-and-family@denny.pe
server name denny.pe
port 465
STARTTLS
Normal Password
Username mail@denny.pe
ah. I am unclear as to what happened here.
I have changed STARTTLS to SSL/TLS and username to friends-and-family@denny.pe
and killed and restarted tbird.
Sending fails "Login to server denny.pe with username friends-and-family@denny.pe failed".
I now logon to hosting Cpanel and reset password and copy to a notepad just to be sure.
I logon to webmail (as the password is unchanged we get straight in), write a message and send to 2 different addresses (one on this server and another on a gmail). It sends and shows in the sent folder and, in tbird, shows in the 2 destination addresses.
OK
It seems that something in the username "friends-and-family@denny.pe" is unacceptable to this version of tbird.
I have actually been using this a while. The misbehaviour began one or two x64 versions ago.
Thanks for your help.
Assignee | ||
Comment 8•3 years ago
|
||
Sending fails "Login to server denny.pe with username friends-and-family@denny.pe failed".
Can you share the debug logs of this? Are they the same as comment 2? The email address and username are not used when establishing the socket connection.
Updated•3 years ago
|
Reporter | ||
Comment 9•3 years ago
|
||
(In reply to Ping Chen (:rnons) from comment #8)
Sending fails "Login to server denny.pe with username friends-and-family@denny.pe failed".
Can you share the debug logs of this? Are they the same as comment 2? The email address and username are not used when establishing the socket connection.
I did, but just for clarity I'll post here, a bit later (things to do places to go etcetera.. thanks)
Reporter | ||
Comment 10•3 years ago
|
||
Before sending mail and after opening and clearing log I established that for ID friends-and-family@denny.pe the following smtp server settings show
Server name denny.pe
Port 465
Connection security SSL/TLS
Authentication method Normal Password
User Name friends-amd-family@denny.pe
OK now to send and watch log
Tbird responds "Enter your password for friends-and-family@denny.pe"
I switch over to my hosting service and recreate the password before returning to tbird...
It is now Sending Message
Now it tells me that "Login to server denny.pe with username friends-amd-family@denny.pe failed. Here I hit Cancel.
Tbird now tells me "Sending of the message failed.
Unable to authenticate to Outgoing server (SMTP) denny.pe. Please check the password and verify the 'Authentication method' in 'Account Settings | Outgoing server (SMTP)'"
Hit ok and here's the log you need!
------------------------------------------------------>
08:55:42.086
Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
08:55:42.133 mailnews.send: Creating message file MessageSend.jsm:116:25
08:55:42.152 mailnews.send: Message file created MessageSend.jsm:137:25
08:55:42.155 mailnews.send: Delivering mail message MessageSend.jsm:1017:25
08:55:42.156 mailnews.smtp: Sending message <e34bc9cb-314f-6a80-9824-998817435efa@denny.pe> SmtpService.jsm:80:18
08:55:42.199 mailnews.send: notifyListenerOnStartSending MessageSend.jsm:358:25
08:55:42.716 mailnews.smtp: S: 220 nahua.yachay.pe ESMTP Exim 4.94
SmtpClient.jsm:413:17
08:55:42.717 mailnews.smtp: C: EHLO [192.168.1.67] SmtpClient.jsm:561:19
08:55:42.778 mailnews.smtp: S: 250-nahua.yachay.pe Hello [192.168.1.67] [201.230.81.158]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-X_PIPE_CONNECT
250-AUTH PLAIN LOGIN
250 HELP
SmtpClient.jsm:413:17
08:55:42.782 mailnews.smtp: Possible auth methods: PLAIN,LOGIN SmtpClient.jsm:865:17
08:55:42.783 mailnews.smtp: Maximum allowd message size: 52428800 SmtpClient.jsm:871:19
08:55:42.784 mailnews.smtp: Current auth method: PLAIN SmtpClient.jsm:627:17
08:55:42.784 mailnews.smtp: Authentication via AUTH PLAIN SmtpClient.jsm:642:21
08:59:44.557 mailnews.smtp: C: Logging suppressed (it probably contained auth information) SmtpClient.jsm:557:19
08:59:54.569
mailnews.smtp: Socket timed out. SmtpClient.jsm:491:17
08:59:54.577
mailnews.smtp: Authentication failed: Socket timed out. SmtpClient.jsm:704:17
09:00:50.492
mailnews.smtp: Authentication failed: Socket timed out. SmtpClient.jsm:715:19
09:00:50.496 mailnews.send: OnStopRunningUrl; exitCode=2153066805 MessageSend.jsm:1273:25
09:00:50.507 mailnews.send: Delivery exit processing; exitCode=2153066805 MessageSend.jsm:541:25
09:00:50.517
mailnews.send: Sending failed; Unable to authenticate to Outgoing server (SMTP) denny.pe. Please check the password and verify the 'Authentication method' in 'Account Settings | Outgoing server (SMTP)'., exitCode=2153066805, originalMsgURI= MessageSend.jsm:320:27
09:00:50.517
Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
09:01:22.371 mailnews.send: Clean up temporary files MessageSend.jsm:976:25
09:01:22.372 mailnews.send: notifyListenerOnStopSending; status=2153066805 MessageSend.jsm:489:25
09:01:22.382
Uncaught
Exception { name: "NS_ERROR_FAILURE", message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.getInlineSpellChecker]", result: 2147500037, filename: "chrome://messenger/content/messengercompose/MsgComposeCommands.js", lineNumber: 352, columnNumber: 0, data: null, stack: "updateEditableFields@chrome://messenger/content/messengercompose/MsgComposeCommands.js:352:38\nToggleWindowLock@chrome://messenger/content/messengercompose/MsgComposeCommands.js:2720:23\nComposeProcessDone@chrome://messenger/content/messengercompose/MsgComposeCommands.js:729:21\nnotifyListenerOnStopSending@resource:///modules/MessageSend.jsm:491:40\n_deliveryExitProcessing@resource:///modules/MessageSend.jsm:616:12\nsendDeliveryCallback@resource:///modules/MessageSend.jsm:671:17\nOnStopRunningUrl@resource:///modules/MessageSend.jsm:1277:19\nsendMailMessage/client.onerror@resource:///modules/SmtpService.jsm:155:41\n_onNsError@resource:///modules/SmtpClient.jsm:453:10\n_onAuthFailed@resource:///modules/SmtpClient.jsm:716:12\n_onTimeout@resource:///modules/SmtpClient.jsm:495:12\nnotify@resource://gre/modules/Timer.jsm:62:17\n", location: XPCWrappedNative_NoHelper }
MsgComposeCommands.js:352
09:01:22.383 mailnews.send: Clean up temporary files MessageSend.jsm:976:25
09:01:22.385 mailnews.smtp: Closing connection... SmtpClient.jsm:169:17
------------------------------------------------------> that's it. HTH, best of luck. Thanks...
Reporter | ||
Comment 11•3 years ago
|
||
... if you need a log from an ID that actually sends out.just ask. I didn't do this time because, potential info overload. DD.
Assignee | ||
Comment 12•3 years ago
|
||
I switch over to my hosting service and recreate the password before returning to tbird...
Did you change the password accordingly in TB?
08:59:44.557 mailnews.smtp: C: Logging suppressed (it probably contained auth information) SmtpClient.jsm:557:19
08:59:54.569 mailnews.smtp: Socket timed out. SmtpClient.jsm:491:17
08:59:54.577 mailnews.smtp: Authentication failed: Socket timed out. SmtpClient.jsm:704:17
09:00:50.492 mailnews.smtp: Authentication failed: Socket timed out. SmtpClient.jsm:715:19
From the logs, auth failed, so I'm afraid the username/password don't match. Can you try removing the current password from Saved Passwords, or try removing the account and setup again in TB?
Reporter | ||
Comment 13•3 years ago
|
||
Hi, I can see that.
As I said above,
Tbird responds "Enter your password for friends-and-family@denny.pe"
I switch over to my hosting service and recreate the password before returning to tbird...
Then I ENTERED the password in TB, as described.
I would like to suggest that the problem lies somewhere in the coding of the exchange between TB and the server.
Support for this view comes from the fact that login from the cpanel webmail client works seamlessly.
It's a bit late now, what I'd like to try tomorrow, without removing a busy account, is to create a new account with a similar style user id and seeing what that does. I may for instance create a username family-and-friends@ and try that, linking first to the real account with which I'm having problems, and then secondly creating a new account and trying that.
But I do really think that this is a bork within TB.
Anyway, tomorrow.
Thanks for trying...
Reporter | ||
Comment 14•3 years ago
|
||
I have located a remedy for the problem which occurs in the attempt to send from friends-and-family@denny.pe which is the subject of this report.
As follows: I created a new mailbox on my server for the username friendsandfamily@denny.pe and Thunderbird both receives and sends mails at this address.
I believe however that this is incorrect because the hyphen is a legitimate character in email addresses. Further, the webmail at my hosting server does accept the hyphen, and even further that this address did in fact work up to one or two tbird updates ago.
I have encountered another hyphen issue which may conveniently be addressed.
In trying to assess the situation I created an email address a-b@denny.pe but during the Account Add panel, after changing the ports, etcetera, and hitting retest then done a yellow-highlighted message "msgWindow is undefined" appeared, so, stuck there.
This latter could be derived from some numerical limit in Thunderbird. However, I don't really want to start deleting mailboxes just to test this.
Best wishes!
David
Reporter | ||
Comment 15•3 years ago
|
||
(In reply to David Denny from comment #14)
I have located a remedy for the problem which occurs in the attempt to send from friends-and-family@denny.pe which is the subject of this report.
As follows: I created a new mailbox on my server for the username friendsandfamily@denny.pe and Thunderbird both receives and sends mails at this address.
I believe however that this is incorrect because the hyphen is a legitimate character in email addresses. Further, the webmail at my hosting server does accept the hyphen, and even further that this address did in fact work up to one or two tbird updates ago.
I have encountered another hyphen issue which may conveniently be addressed at this time (up to your goodself).
In trying to assess the situation I created an email address a-b@denny.pe but during the Account Add panel, after changing the ports, etcetera, and hitting retest then done a yellow-highlighted message "msgWindow is undefined" appeared, so, stuck there.
This latter could be derived from some numerical limit in Thunderbird. However, I don't really want to start deleting mailboxes just to test this.
Best wishes!
David
Assignee | ||
Comment 16•3 years ago
|
||
I created a te-st@localhost
user in my local dovecot+postfix setup, sending/receiving seem to work fine. I don't know why it doesn't work for you.
Reporter | ||
Comment 17•3 years ago
|
||
Maybe it is a matter of length.
Let's (ignore my a-b experiment and )get back to friends-and-family. If you can demonstrate that a similar (or identical) address works for you that's one step.
Another step would be good to recognise a remote server. My emails are handled by a hosting service at yachay.pe which clearly is not in your "jurisdiction" so you couldn't test there. However, their own cpanel webmail accepts all my outgoings from the suspect address. Hence the problem appears to lie between the tbird smtp client and the yachay smtp service.
I'd respectfully ask if you could somehow arrange for an equivalent (longer) email address to be set up in a similar environment. Alternatively, are there any reasonable tools available for my use here, to look at the smtp dialogue between tbird and yachay?
If you find that an equivalent address does not fail then we can consider some corruption in the data structure of my tbird client and I'll have to delete the userid and reinstall it.
How does that sound, or do you want to consult with colleagues?
Thanks,
David
Reporter | ||
Comment 18•3 years ago
|
||
(In reply to David Denny from comment #17)
Maybe it is a matter of length.
Let's (ignore my a-b experiment and )get back to friends-and-family. If you can demonstrate that a similar (or identical) address works for you that's one step.
Another step would be good to try is for you to utilise a remote server. My emails are handled by a hosting service at yachay.pe which clearly is not in your "jurisdiction" so you couldn't test there. However, their own cpanel webmail accepts all my outgoings from the suspect address. Hence the problem appears to lie between the tbird smtp client and the yachay smtp service.
One problem could be a timeout, but it seems more likely to me that truncation is happening, with either the username or the password encryption. Remember that I had been using this email address for some weeks beforehand.
I'd respectfully ask if you could somehow arrange for an equivalent (longer) email address to be set up in a similar environment. Alternatively, are there any reasonable tools available for my use here, to look at the smtp dialogue between tbird and yachay?
If you find that an equivalent address does not fail then we can consider some corruption in the data structure of my tbird client and I'll have to delete the userid and reinstall it.
How does that sound, or do you want to consult with colleagues?
Thanks,
David
Comment 19•3 years ago
|
||
Are there any special characters in your password?
Just out of interest, Ping, your new SMTP module doesn't implement
https://searchfox.org/comm-central/search?q=mail.smtp_login_pop3_user_pass_auth_is_latin1&path=&case=false®exp=false
That was implemented for some users who had problems with non-ASCII passwords in UTF-8, their server only took them in "latin1" (windows-1252) encoding.
Reporter | ||
Comment 20•3 years ago
|
||
One of these
"¿" (latino/spanish upside down question mark - hex BF as it says on a webpage)
over to you..
Comment 21•3 years ago
|
||
I had the right feeling about the bug then. Yes, it's 0xBF in windows-1252, but in UTF-8 it's two bytes, 0xC2 0xBF (c2bf), see https://www.fileformat.info/info/unicode/char/00bf/index.htm.
I have two suggestions:
- Switch back to the old sending system, by setting mailnews.smtp.jsmodule and mailnews.send.jsmodule to false.
- After that test, set them back to true and remove that character from the password to confirm that this is the issue.
Also look at the preference mail.smtp_login_pop3_user_pass_auth_is_latin1, is it true?
Anyway, I'm sure the developer can look into this further.
Reporter | ||
Comment 22•3 years ago
|
||
Thank you so much, muchisimas gracias. I will have a go shortly after my break.
Saludos
Comment 23•3 years ago
|
||
- Switch back to the old sending system, by setting mailnews.smtp.jsmodule and mailnews.send.jsmodule to false.
- After that test, set them back to true and remove that character from the password to confirm that this is the issue.
You need to restart Thunderbird after changing the prefs.
Reporter | ||
Comment 24•3 years ago
|
||
mail.smtp_login_pop3_user_pass_auth_is_latin1 true
(more later)
as was:
mailnews.send.jsmodule true
mailnews.smtp.jsmodule true
changed to:
mailnews.send.jsmodule false
mailnews.smtp.jsmodule false
restarted.
Test sending with those settings. Result:
¿eh?
it worked.
However, I did apply the update, to:"These notes apply to Thunderbird version 89 beta 2 released April 29, 2021."
I hadn't changed the password at this point!
Patience, I will be back and retest, making a note of the password, etcetera.
BRB
Reporter | ||
Comment 25•3 years ago
|
||
(In reply to David Denny from comment #24)
mail.smtp_login_pop3_user_pass_auth_is_latin1 true
(more later)
as was:
mailnews.send.jsmodule true
mailnews.smtp.jsmodule truechanged to:
mailnews.send.jsmodule false
mailnews.smtp.jsmodule falserestarted.
Test sending with those settings. Result:
¿eh?
it worked.However, I did apply the update, to:"These notes apply to Thunderbird version 89 beta 2 released April 29, 2021."
I hadn't changed the password at this point!
Patience, I will be back and retest, making a note of the password, etcetera.
BRB
another test msg went out OK. Was this fixed with 89b2?
I will do more tests unless you get back to me first. Time to feed the felines, they will not wait.. OW!
Comment 26•3 years ago
|
||
Well, setting mailnews.send.jsmodule and mailnews.smtp.jsmodule to flase swtiched to the old system. Now you need to switch them back to true to switch to the new system again (and restart). If you can still send with TB 89 beta 2 where some send issues were addressed, even with the password with the non-ASCII characters, then your issue was fixed ... and I was wrong after all thinking that is might be a password issue.
Reporter | ||
Comment 27•3 years ago
|
||
-- our messages crossed -- so here is the result that did FAIL -- and I will now change the password on the server, removing the dud character.
Now reset
mailnews.send.jsmodule true
mailnews.smtp.jsmodule true
Restart TB
Opened error console and cleared it
Send Message
.. asking for smtp pwd ..
Failed, see log pasted here:
17:56:37.953
Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
17:56:38.011 mailnews.send: Creating message file MessageSend.jsm:116:25
17:56:38.025 mailnews.send: Message file created MessageSend.jsm:137:25
17:56:38.032 mailnews.send: Delivering mail message MessageSend.jsm:1017:25
17:56:38.035 mailnews.smtp: Sending message <88420fc5-a0e9-5a6f-d381-050615de03a3@denny.pe> SmtpService.jsm:80:18
17:56:38.060 mailnews.send: notifyListenerOnStartSending MessageSend.jsm:358:25
17:56:38.490 mailnews.smtp: S: 220 nahua.yachay.pe ESMTP Exim 4.94
SmtpClient.jsm:413:17
17:56:38.492 mailnews.smtp: C: EHLO [192.168.1.67] SmtpClient.jsm:561:19
17:56:38.525 mailnews.smtp: S: 250-nahua.yachay.pe Hello [192.168.1.67] [201.230.81.87]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-X_PIPE_CONNECT
250-AUTH PLAIN LOGIN
250 HELP
SmtpClient.jsm:413:17
17:56:38.532 mailnews.smtp: Possible auth methods: PLAIN,LOGIN SmtpClient.jsm:865:17
17:56:38.535 mailnews.smtp: Maximum allowd message size: 52428800 SmtpClient.jsm:871:19
17:56:38.540 mailnews.smtp: Current auth method: PLAIN SmtpClient.jsm:627:17
17:56:38.542 mailnews.smtp: Authentication via AUTH PLAIN SmtpClient.jsm:642:21
17:56:38.721
Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
17:57:20.056 mailnews.smtp: C: Logging suppressed (it probably contained auth information) SmtpClient.jsm:557:19
17:57:22.108 mailnews.smtp: S: 535 Incorrect authentication data
SmtpClient.jsm:413:17
17:57:22.109
mailnews.smtp: Command failed: 535 Incorrect authentication data; currentAction=_actionAUTHComplete SmtpClient.jsm:481:19
17:57:22.109
mailnews.smtp: Authentication failed: Incorrect authentication data SmtpClient.jsm:704:17
17:57:22.110 mailnews.smtp: Current auth method: LOGIN SmtpClient.jsm:627:17
17:57:22.111 mailnews.smtp: Authentication via AUTH LOGIN SmtpClient.jsm:635:21
17:57:22.112 mailnews.smtp: C: AUTH LOGIN SmtpClient.jsm:561:19
17:57:26.140 mailnews.smtp: S: 334 VXNlcm5hbWU6
SmtpClient.jsm:413:17
17:57:26.141 mailnews.smtp: AUTH LOGIN USER successful SmtpClient.jsm:932:17
17:57:26.142 mailnews.smtp: C: Logging suppressed (it probably contained auth information) SmtpClient.jsm:557:19
17:57:26.160 mailnews.smtp: S: 334 UGFzc3dvcmQ6
SmtpClient.jsm:413:17
17:57:26.161 mailnews.smtp: AUTH LOGIN PASS successful SmtpClient.jsm:952:17
17:57:26.162 mailnews.smtp: C: Logging suppressed (it probably contained auth information) SmtpClient.jsm:557:19
17:57:27.689 mailnews.smtp: S: 535 Incorrect authentication data
SmtpClient.jsm:413:17
17:57:27.690
mailnews.smtp: Command failed: 535 Incorrect authentication data; currentAction=_actionAUTHComplete SmtpClient.jsm:481:19
17:57:27.691
mailnews.smtp: Authentication failed: Incorrect authentication data SmtpClient.jsm:704:17
Reporter | ||
Comment 28•3 years ago
|
||
I have now removed the upside down question mark from this password, restarted tb, set the two parms to true, restarted tb and...
Reporter | ||
Comment 29•3 years ago
|
||
(In reply to David Denny from comment #28)
I have now removed the upside down question mark from this password, restarted tb, set the two parms to true, restarted tb and...
more unexpected happenings. Taking a break & preparing written plan. One message did send but failed to copy to sent folder.
I have not completed the second part of the test.
Reporter | ||
Comment 30•3 years ago
|
||
(In reply to David Denny from comment #29)
(In reply to David Denny from comment #28)
I have now removed the upside down question mark from this password, restarted tb, set the two parms to true, restarted tb and...
more unexpected happenings. Taking a break & preparing written plan. One message did send but failed to copy to sent folder.
I have not completed the second part of the test.
There was some confusion here because the original responder mentioned loglevel and you mentioned jsmodule. User Attention Failure Here.
OK, both *jsmodule are "true" and the password is free of upside-down question marks and the error console is empty and I am logged into tbird at the offending ID ready to try sending some junkXXXXtest mail.
OK, a message was sent to the appropriate destination and seen there.
However, I seem to have a problem copying to the sent folder. Here's a paste of the log (which shows that the send completed correctly):
-----------------------------><----
18:35:24.326
Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
18:35:24.341 mailnews.send: Creating message file MessageSend.jsm:116:25
18:35:24.354 mailnews.send: Message file created MessageSend.jsm:137:25
18:35:24.359 mailnews.send: Delivering mail message MessageSend.jsm:1017:25
18:35:24.360 mailnews.smtp: Sending message <97005bc9-a8d8-1df5-7362-b8edbccf51d2@denny.pe> SmtpService.jsm:80:18
18:35:24.362 mailnews.send: notifyListenerOnStartSending MessageSend.jsm:358:25
18:35:24.597 mailnews.smtp: S: 220 nahua.yachay.pe ESMTP Exim 4.94
SmtpClient.jsm:413:17
18:35:24.599 mailnews.smtp: C: EHLO [192.168.1.67] SmtpClient.jsm:561:19
18:35:24.650 mailnews.smtp: S: 250-nahua.yachay.pe Hello [192.168.1.67] [201.230.81.87]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-X_PIPE_CONNECT
250-AUTH PLAIN LOGIN
250 HELP
SmtpClient.jsm:413:17
18:35:24.651 mailnews.smtp: Possible auth methods: PLAIN,LOGIN SmtpClient.jsm:865:17
18:35:24.652 mailnews.smtp: Maximum allowd message size: 52428800 SmtpClient.jsm:871:19
18:35:24.652 mailnews.smtp: Current auth method: PLAIN SmtpClient.jsm:627:17
18:35:24.653 mailnews.smtp: Authentication via AUTH PLAIN SmtpClient.jsm:642:21
18:35:24.654 mailnews.smtp: C: Logging suppressed (it probably contained auth information) SmtpClient.jsm:557:19
18:35:24.678 mailnews.smtp: S: 235 Authentication succeeded
SmtpClient.jsm:413:17
18:35:24.680 mailnews.smtp: Authentication successful. SmtpClient.jsm:1062:17
18:35:24.681 mailnews.smtp: C: MAIL FROM:<friends-and-family@denny.pe> BODY=8BITMIME SIZE=5470 SmtpClient.jsm:561:19
18:35:24.735 mailnews.smtp: S: 250 OK
SmtpClient.jsm:413:17
18:35:24.736 mailnews.smtp: MAIL FROM successful, proceeding with 1 recipients SmtpClient.jsm:1105:17
18:35:24.737 mailnews.smtp: Adding recipient... SmtpClient.jsm:1110:17
18:35:24.737 mailnews.smtp: C: RCPT TO:<anonimo@denny.pe> SmtpClient.jsm:561:19
18:35:24.764 mailnews.smtp: S: 250 Accepted
SmtpClient.jsm:413:17
18:35:24.765 mailnews.smtp: RCPT TO done, proceeding with payload SmtpClient.jsm:1155:21
18:35:24.766 mailnews.smtp: C: DATA SmtpClient.jsm:561:19
18:35:24.785 mailnews.smtp: S: 354 Enter message, ending with "." on a line by itself
SmtpClient.jsm:413:17
18:35:24.787 mailnews.smtp: Sending 5470 bytes of payload SmtpClient.jsm:537:17
18:35:24.825 mailnews.smtp: S: 250 OK id=1ldi5x-00DaqP-VO
SmtpClient.jsm:413:17
18:35:24.826 mailnews.smtp: Message sent successfully. SmtpClient.jsm:1223:21
18:35:24.827 mailnews.send: OnStopRunningUrl; exitCode=0 MessageSend.jsm:1273:25
18:35:24.828 mailnews.send: Delivery exit processing; exitCode=0 MessageSend.jsm:541:25
18:35:24.829 mailnews.send: notifyListenerOnStopSending; status=0 MessageSend.jsm:489:25
18:35:24.832 mailnews.send: Processing fcc; folderUri=imap://friends-and-family%40denny.pe@denny.pe/INBOX/Sent MessageSend.jsm:860:25
18:35:24.833 mailnews.send: fcc file created MessageSend.jsm:892:25
18:35:24.834 mailnews.send: startCopyOperation MessageSend.jsm:904:25
18:35:24.835 mailnews.send: notifyListenerOnStartCopy MessageSend.jsm:365:25
18:35:24.835 mailnews.smtp: Closing connection... SmtpClient.jsm:169:17
18:35:24.836 mailnews.smtp: Idling while waiting for new connections... SmtpClient.jsm:1233:19
18:35:24.837 mailnews.smtp: Socket closed. SmtpClient.jsm:464:17
18:35:25.021 mailnews.send: notifyListenerOnStopCopy; status=0 MessageSend.jsm:383:25
18:35:25.273 mailnews.send: onStopOperation; status=0 MessageSend.jsm:516:25
18:35:25.274 mailnews.send: Clean up temporary files MessageSend.jsm:976:25
18:35:25.366
Uncaught
Exception { name: "NS_ERROR_FAILURE", message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.getInlineSpellChecker]", result: 2147500037, filename: "chrome://messenger/content/messengercompose/MsgComposeCommands.js", lineNumber: 352, columnNumber: 0, data: null, stack: "updateEditableFields@chrome://messenger/content/messengercompose/MsgComposeCommands.js:352:38\nToggleWindowLock@chrome://messenger/content/messengercompose/MsgComposeCommands.js:2720:23\nComposeProcessDone@chrome://messenger/content/messengercompose/MsgComposeCommands.js:729:21\n_doFcc2/<@resource:///modules/MessageSend.jsm:946:12\nnotify@resource://gre/modules/Timer.jsm:62:17\n", location: XPCWrappedNative_NoHelper }
-------------------------><--
Thanks!
Comment 31•3 years ago
|
||
Well, looking at comment #42 the system tries both authentication methods, PLAIN and LOGIN, both fail most likely due to the "¿" non-ASCII in the password.
As I pointed out before, the old system did not use UTF-8 with the LOGIN method by default, see:
https://searchfox.org/comm-central/rev/0141a51739d87d81c88b7d744084d3844ea6ef83/mailnews/compose/src/nsSmtpProtocol.cpp#1629
That processing is different in the new JS module. See bug 1500772 for more details.
Assignee | ||
Comment 32•3 years ago
|
||
Thanks a lot, I will make a fix soon.
Reporter | ||
Comment 33•3 years ago
|
||
I'm a bit astray now. What follows is a post I made same time as yours above. Seemingly the test below succeeds with a send but for some reason fails copying to the sent folder.
Please feel free to hold any further until I can settle down to a proper test regime probably tomorrow.
Thanks for all your help so far!
David.
(In reply to David Denny from comment #30)
(In reply to David Denny from comment #29)
(In reply to David Denny from comment #28)
I have now removed the upside down question mark from this password, restarted tb, set the two parms to true, restarted tb and...
more unexpected happenings. Taking a break & preparing written plan. One message did send but failed to copy to sent folder.
I have not completed the second part of the test.There was some confusion here because the original responder mentioned loglevel and you mentioned jsmodule. User Attention Failure Here.
OK, both *jsmodule are "true" and the password is free of upside-down question marks and the error console is empty and I am logged into tbird at the offending ID ready to try sending some junkXXXXtest mail.
OK, a message was sent to the appropriate destination and seen there.
However, I seem to have a problem copying to the sent folder. Here's a paste of the log (which shows that the send completed correctly):
-----------------------------><----
18:35:24.326
Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
18:35:24.341 mailnews.send: Creating message file MessageSend.jsm:116:25
18:35:24.354 mailnews.send: Message file created MessageSend.jsm:137:25
18:35:24.359 mailnews.send: Delivering mail message MessageSend.jsm:1017:25
18:35:24.360 mailnews.smtp: Sending message <97005bc9-a8d8-1df5-7362-b8edbccf51d2@denny.pe> SmtpService.jsm:80:18
18:35:24.362 mailnews.send: notifyListenerOnStartSending MessageSend.jsm:358:25
18:35:24.597 mailnews.smtp: S: 220 nahua.yachay.pe ESMTP Exim 4.94SmtpClient.jsm:413:17
18:35:24.599 mailnews.smtp: C: EHLO [192.168.1.67] SmtpClient.jsm:561:19
18:35:24.650 mailnews.smtp: S: 250-nahua.yachay.pe Hello [192.168.1.67] [201.230.81.87]250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-X_PIPE_CONNECT
250-AUTH PLAIN LOGIN
250 HELP
SmtpClient.jsm:413:17
18:35:24.651 mailnews.smtp: Possible auth methods: PLAIN,LOGIN SmtpClient.jsm:865:17
18:35:24.652 mailnews.smtp: Maximum allowd message size: 52428800 SmtpClient.jsm:871:19
18:35:24.652 mailnews.smtp: Current auth method: PLAIN SmtpClient.jsm:627:17
18:35:24.653 mailnews.smtp: Authentication via AUTH PLAIN SmtpClient.jsm:642:21
18:35:24.654 mailnews.smtp: C: Logging suppressed (it probably contained auth information) SmtpClient.jsm:557:19
18:35:24.678 mailnews.smtp: S: 235 Authentication succeededSmtpClient.jsm:413:17
18:35:24.680 mailnews.smtp: Authentication successful. SmtpClient.jsm:1062:17
18:35:24.681 mailnews.smtp: C: MAIL FROM:<friends-and-family@denny.pe> BODY=8BITMIME SIZE=5470 SmtpClient.jsm:561:19
18:35:24.735 mailnews.smtp: S: 250 OKSmtpClient.jsm:413:17
18:35:24.736 mailnews.smtp: MAIL FROM successful, proceeding with 1 recipients SmtpClient.jsm:1105:17
18:35:24.737 mailnews.smtp: Adding recipient... SmtpClient.jsm:1110:17
18:35:24.737 mailnews.smtp: C: RCPT TO:<anonimo@denny.pe> SmtpClient.jsm:561:19
18:35:24.764 mailnews.smtp: S: 250 AcceptedSmtpClient.jsm:413:17
18:35:24.765 mailnews.smtp: RCPT TO done, proceeding with payload SmtpClient.jsm:1155:21
18:35:24.766 mailnews.smtp: C: DATA SmtpClient.jsm:561:19
18:35:24.785 mailnews.smtp: S: 354 Enter message, ending with "." on a line by itselfSmtpClient.jsm:413:17
18:35:24.787 mailnews.smtp: Sending 5470 bytes of payload SmtpClient.jsm:537:17
18:35:24.825 mailnews.smtp: S: 250 OK id=1ldi5x-00DaqP-VOSmtpClient.jsm:413:17
18:35:24.826 mailnews.smtp: Message sent successfully. SmtpClient.jsm:1223:21
18:35:24.827 mailnews.send: OnStopRunningUrl; exitCode=0 MessageSend.jsm:1273:25
18:35:24.828 mailnews.send: Delivery exit processing; exitCode=0 MessageSend.jsm:541:25
18:35:24.829 mailnews.send: notifyListenerOnStopSending; status=0 MessageSend.jsm:489:25
18:35:24.832 mailnews.send: Processing fcc; folderUri=imap://friends-and-family%40denny.pe@denny.pe/INBOX/Sent MessageSend.jsm:860:25
18:35:24.833 mailnews.send: fcc file created MessageSend.jsm:892:25
18:35:24.834 mailnews.send: startCopyOperation MessageSend.jsm:904:25
18:35:24.835 mailnews.send: notifyListenerOnStartCopy MessageSend.jsm:365:25
18:35:24.835 mailnews.smtp: Closing connection... SmtpClient.jsm:169:17
18:35:24.836 mailnews.smtp: Idling while waiting for new connections... SmtpClient.jsm:1233:19
18:35:24.837 mailnews.smtp: Socket closed. SmtpClient.jsm:464:17
18:35:25.021 mailnews.send: notifyListenerOnStopCopy; status=0 MessageSend.jsm:383:25
18:35:25.273 mailnews.send: onStopOperation; status=0 MessageSend.jsm:516:25
18:35:25.274 mailnews.send: Clean up temporary files MessageSend.jsm:976:25
18:35:25.366
Uncaught
Exception { name: "NS_ERROR_FAILURE", message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.getInlineSpellChecker]", result: 2147500037, filename: "chrome://messenger/content/messengercompose/MsgComposeCommands.js", lineNumber: 352, columnNumber: 0, data: null, stack: "updateEditableFields@chrome://messenger/content/messengercompose/MsgComposeCommands.js:352:38\nToggleWindowLock@chrome://messenger/content/messengercompose/MsgComposeCommands.js:2720:23\nComposeProcessDone@chrome://messenger/content/messengercompose/MsgComposeCommands.js:729:21\n_doFcc2/<@resource:///modules/MessageSend.jsm:946:12\nnotify@resource://gre/modules/Timer.jsm:62:17\n", location: XPCWrappedNative_NoHelper }-------------------------><--
Thanks!
I'll pick this up again tomorrow when I feel fresher and able to focus on what's what. Meanwhile, Thanks.
Assignee | ||
Comment 34•3 years ago
|
||
According to rfc4616, password should be UTF-8 binary string before base64 encoding.
Updated•3 years ago
|
Assignee | ||
Comment 35•3 years ago
|
||
David, did you change the IMAP password accordingly in TB? Copying to the sent folder goes through IMAP.
Assignee | ||
Comment 36•3 years ago
|
||
mail.smtp_login_pop3_user_pass_auth_is_latin1
doesn't seem useful. With my patch applied, LOGIN auth works for both passwords: te¿st
and test
.
Assignee | ||
Updated•3 years ago
|
Comment 37•3 years ago
|
||
(In reply to Ping Chen (:rnons) from comment #36)
mail.smtp_login_pop3_user_pass_auth_is_latin1
doesn't seem useful. With my patch applied, LOGIN auth works for both passwords:te¿st
andtest
.
It was implemented it bug 1500772, see bug 1500772 comment #36. That user had a server which didn't accept UTF-8 with the LOGIN auth method. It was even published in the release notes: https://www-stage.thunderbird.net/en-US/thunderbird/60.3.1/releasenotes/
Are you sure that this is not "useful" any more? Have you tested it on such a server?
Comment 38•3 years ago
|
||
It was created for smtp.office365.com at that time (which is a long time ago). We should re-check that.
Assignee | ||
Comment 39•3 years ago
|
||
I added a log
if (useLatin1)
passwordUTF8 = NS_LossyConvertUTF16toASCII(
password); // Don't use UTF-8 after all.
+ std::cout << "!!" << password << "\t" << passwordUTF8 << "\n";
And get !!te£§äst test
, non-ascii chars all disappeared when sent to the SMTP server, this can't be right.
In bug 1503625 comment 6, the user said
At my company, we have an internal web service changepassword.company.com where I can successfully set a password with £.
I'm not sure if the internal web service was working correctly. Maybe it dropped non-ascii chars as well when setting it to the smtp server.
I tested on my local with dovecot and postfix, when using nsSmtpProtocol.cpp, I had to set mail.smtp_login_pop3_user_pass_auth_is_latin1
to false to get LOGIN work.
Comment 40•3 years ago
|
||
Are you sure the std::cout which is apparently set to printing UTF-8 will print non-UTF-8 (hence invalid UTF-8) at all? The whole idea is to transmit "latin1" characters, so £§ä, as single bytes. I'm sure that you need to switch the pref off to get it to work on your server, but the target audience wasn't using dovecot but some non-standard MS server (see the release notes). Do you have any telemetry on which servers are using what auth method? I'm under the impression that LOGIN is rather infrequently used. And there is no question that PLAIN always uses UTF-8.
If you look at NS_LossyConvertUTF16toASCII
you will see that non-ASCII but "latin1" characters are still converted and not just dropped. How about you modify your print and convert passwordUTF8 back to UTF-8 before printing.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 41•3 years ago
|
||
Updated the patch to use mail.smtp_login_pop3_user_pass_auth_is_latin1
in LOGIN auth. I printed the C++ log
[Parent 13253: Main Thread]: D/SMTP LOGIN auth
[Parent 13253: Main Thread]: I/SMTP SMTP Send: dGVzdA==
[Parent 13253: Main Thread]: I/SMTP SMTP entering state: 0
[Parent 13253: Main Thread]: I/SMTP SMTP Response: 334 UGFzc3dvcmQ6
[Parent 13253: Main Thread]: I/SMTP SMTP entering state: 18
[Parent 13253: Main Thread]: D/SMTP SMTP Login response, code 334
[Parent 13253: Main Thread]: I/SMTP SMTP entering state: 17
[Parent 13253: Main Thread]: D/SMTP SMTP AuthLoginStep2
[Parent 13253: Main Thread]: D/SMTP LOGIN auth, step 2
[Parent 13253: Main Thread]: I/SMTP SMTP Send: dGW/c3Q=
In this case username is test
, password is te¿st
, since btoa("te¿st") == "dGW/c3Q="
, when mail.smtp_login_pop3_user_pass_auth_is_latin1
, apply btoa directly, otherwise, convert to utf8 binary string first.
Comment 42•3 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/569979dad6b2
Support non-ASCII smtp password in SmtpClient.jsm. r=mkmelin
Reporter | ||
Comment 43•3 years ago
|
||
(In reply to Ping Chen (:rnons) from comment #35)
David, did you change the IMAP password accordingly in TB? Copying to the sent folder goes through IMAP.
No! thanks for that.
Am just checking in here (7 am) will revisit after breakfast, thanks.
Good news though, cheers
Reporter | ||
Comment 44•3 years ago
|
||
(In reply to David Denny from comment #43)
(In reply to Ping Chen (:rnons) from comment #35)
David, did you change the IMAP password accordingly in TB? Copying to the sent folder goes through IMAP.
No! thanks for that.
Am just looking in here (7 am) will revisit after breakfast, thanks.Good news though, cheers
Reporter | ||
Comment 45•3 years ago
|
||
(In reply to David Denny from comment #44)
(In reply to David Denny from comment #43)
(In reply to Ping Chen (:rnons) from comment #35)
David, did you change the IMAP password accordingly in TB? Copying to the sent folder goes through IMAP.
No! thanks for that.
Am just looking in here (7 am) will revisit after breakfast, thanks.Good news though, cheers
Considering the IMAP password: the email address on the server has a single password, so I didn't need to change the IMAP pwd.
One supposes there may be some code somewhere else that could do with a look.
Later, I'll restart tbird and see what happens
WIP...
Reporter | ||
Comment 46•3 years ago
|
||
(In reply to David Denny from comment #45)
(In reply to David Denny from comment #44)
(In reply to David Denny from comment #43)
(In reply to Ping Chen (:rnons) from comment #35)
David, did you change the IMAP password accordingly in TB? Copying to the sent folder goes through IMAP.
No! thanks for that.
Am just looking in here (7 am) will revisit after breakfast, thanks.Good news though, cheers
Considering the IMAP password: the email address on the server has a single password, so I didn't need (correction: "was not able") to change the IMAP pwd.
One supposes there may be some code somewhere else that could do with a look.
Later, I'll restart tbird and see what happens
WIP...
Comment 47•3 years ago
|
||
Denny, please avoid posting the same comment more than once, that makes the bug/ticket hard to read.
The problem here was that passwords with non-ASCII characters didn't work at all in the new SMTP module. This is now fixed in the current Daily release and the fix will hopefully be included in the next TB 89 beta 3 release.
TB stores SMTP and IMAP passwords separately, you can see them in the preferences under saved passwords. If you made a change on your server that affected all passwords, then you need to make this change for both SMTP and IMAP in TB. IMAP processing hasn't changed in TB 89. As Ping said, sent messages are stored via IMAP in the Sent folder.
Reporter | ||
Comment 48•3 years ago
|
||
Muñoz, thanks for that. My problem was not understanding clearly the options when the mid-air collision message came up.
It seems that tbird does not have any place to enter a password other than when signing in or reopening. Is this true?
Thanks to all of you. It's been a bit inconvenient. Nevertheless I recognise the privilege of assisting with development of 64-bit thunderbird, and there's nothing else that compares (I've looked and looked. Due Diligence, you understand).
Best wishes
David
Assignee | ||
Comment 49•3 years ago
|
||
Comment on attachment 9220011 [details]
Bug 1707062 - Support non-ASCII smtp password in SmtpClient.jsm. r=mkmelin
[Approval Request Comment]
Regression caused by (bug #): bug 1661694
User impact if declined: Non-ascii smtp password doesn't work
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): Low. The behavior is the same as nsSmtpProtocol.cpp now.
Comment 50•3 years ago
|
||
It seems that tbird does not have any place to enter a password ...
Tools > Options, Privacy & Security, Saved Passwords - ¡suerte!
Reporter | ||
Comment 51•3 years ago
|
||
(In reply to José M. Muñoz from comment #50)
It seems that tbird does not have any place to enter a password ...
Tools > Options, Privacy & Security, Saved Passwords - ¡suerte!
Yup. I did not realise this table was amendable.
Thanks.
I'd appreciate knowing how to find out when the fix is in, and what I should do about the jsmodule settings. Guess that's all.
Assignee | ||
Comment 52•3 years ago
|
||
The patch will go into 89.0b3, the exact release date is unknown, hopefully in one or two weeks. If you're fine with non-ascii password for now, you can reset all the jsmodule settings, there is a reset button. After 89.0b3, non-ascii password should work, let us know if it doesn't. Thanks.
Comment 53•3 years ago
|
||
The patch will go into 89.0b3
Actually, b4, hopefully later this week.
Comment 54•3 years ago
|
||
Comment on attachment 9220011 [details]
Bug 1707062 - Support non-ASCII smtp password in SmtpClient.jsm. r=mkmelin
[Triage Comment]
Approved for beta
Reporter | ||
Comment 55•3 years ago
|
||
Excellent news, many thanks to all the fixers and loggers. Best wishes. Looking forwards to b4.
Comment 56•3 years ago
|
||
bugherder uplift |
Thunderbird 89.0b4:
https://hg.mozilla.org/releases/comm-beta/rev/2592a0a49917
Reporter | ||
Comment 57•3 years ago
|
||
THANKS!
Back in business.
I'm grateful for your attention to this problem, and also- on my part- for the opportunity to help with refining tb64.
Very best wishes and your very good health!
David D
Trujillo, Perú.
Description
•