Closed Bug 1549107 Opened 7 years ago Closed 7 years ago

Suddenly I can't send mail any more with SMTP

Categories

(Thunderbird :: Untriaged, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: github, Unassigned)

Details

(Whiteboard: [addon: CloudFile Provider for Dropbox][support])

Attachments

(1 file)

Attached file imap.log

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

For all day I sent messages through Thunderbird with my account. At a certain point, I was no more able to send messages.

So I tried to send the message through the online web mail. And it works, so it's not a server problem. I didn't touched nothing of the configuration of thunderbird.

I activated imap log, I attach it.

Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

What makes you think that you are not able to send messages?

Flags: needinfo?(github)

Well, because of this message:

"Sending of the message failed. The message could not be sent because the connection to Outgoing server (SMTP) ******** timed out. Try again."

Flags: needinfo?(github)

I want to repeat that I was able to send the message using the web mail client, so it's not a server problem. And I have not touched the configuration of the account. Simply, at a certain point, it stopped to work.

Can someone analyse the log?

Thanks - you had not mentioned any error message before.

The log above is only IMAP. Sending is SMTP and not IMAP. See https://wiki.mozilla.org/MailNews:Logging for more info.

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(github)
Resolution: --- → FIXED

I've done:

export MOZ_LOG=SMTP:5,timestamp
export MOZ_LOG_FILE=/tmp/smtp.log
thunderbird

then I retried to send a message without success.

SMTP log is empty. What now?

PS: why this bug was marked as fixed?

Flags: needinfo?(github)

I tried also in Safe mode without success. The only line that smtp.log now contains is:

2019-05-05 10:15:29.272607 UTC - [15648:Main Thread]: I/SMTP SMTP Connecting to: mail.niuma.it:465

Probably marked as fixed because IMAP isn't used for sending, but should actually be INVALID in my opinion.

So let's do this.

Does the same problem occur in safe mode? Use Help > Restart with Add-ons Disabled.

Status: RESOLVED → REOPENED
Ever confirmed: true
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Resolution: FIXED → ---
Summary: Suddenly I can't send mail any more with Imap → Suddenly I can't send mail any more with SMTP
Whiteboard: [support]

FWIW, "I didn't touched nothing of the configuration of thunderbird." would suggest this likely isn't a Thunderbird problem.
As does the fact that your log shows no response from the server.

@WayneMery I quote myself from my first post:

So I tried to send the message through the online web mail. And it works, so it's not a server problem.

@WaltS48: this is what I tried:

$ export MOZ_LOG=SMTP:5,timestamp
$ export MOZ_LOG_FILE=/tmp/smtp.log
$ thunderbird --safe-mode -ProfileManager
  1. Created a new profile
  2. started it
  3. created a new account with:

IMAP:
user: m.sulla@********
pass: ########
host: ********
port: 993
security: SSL/TLS
auth method: normal password

SMTP:
user: m.sulla@********
pass: ########
host: ********
port: 465
security: SSL/TLS
auth method: normal password

  1. I tried to send a message to myself (yes I can, I did multiple time in past and the server never blocked me)

Result:

Sending of the message failed.
The message could not be sent because the connection to Outgoing server (SMTP) ******** timed out. Try again.

The smtp.log was empty

  1. I close Thunderbird
  2. now smtp.log shows one line:

2019-05-05 21:46:48.393639 UTC - [7508:Main Thread]: I/SMTP SMTP Connecting to: ********:465

Maybe the logger flushed only at exit. I don't know. Anyway it's strange.

  1. I tried again to send the message using the web client. It has success.

PS: can I say that IMHO a logger should add the log level and the class? What is [7508:Main Thread]? The pid and the thread?

I also tried to restart the machine, without success.

Can you please tell me how can I debug it in a better way? Or should I open a bug about the SMTP logger?

(In reply to Marco Sulla from comment #11)

...
6. I close Thunderbird
7. now smtp.log shows one line:

2019-05-05 21:46:48.393639 UTC - [7508:Main Thread]: I/SMTP SMTP Connecting to: ********:465

Maybe the logger flushed only at exit.

That is correct.

As before, the log indicates the Thunderbird has not received a response from the server. IF the server responded (which we cannot know unless you have a server log), then something between Thunderbird and the server is broken.

Marco,

In your smtp settings

SMTP:
user: m.sulla@********
pass: ########
host: ********
port: 465
security: SSL/TLS
auth method: normal password

the port is set at 465, though this is standard for secure connections it isn't the only port that smtp works on. However, it is the port that TB sets by default (I believe).

Try setting the port to 25 and seeing if that works. If it still doesn't you should call your provider and see if there was a change to their system that might be the issue.

The mystery is revealed: something changed the port from 587 to the default 465. Probably it was the unique addons I added, CloudFile Provider for Dropbox 3: https://addons.thunderbird.net/en-US/thunderbird/addon/cloudfile-provider-for-dropbox/

Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INVALID

THanks for the update

Status: RESOLVED → VERIFIED
Whiteboard: [support] → [addon: CloudFile Provider for Dropbox][support]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: