News:

  • July 29, 2026, 06:28:44 PM

Login with username, password and session length

Author Topic: SMTP connection failure  (Read 8474 times)

Bolt

  • Hero Member
  • *****
  • Posts: 598
SMTP connection failure
« on: September 12, 2022, 11:03:39 AM »
I have BRX running 2.8.6 that has been happily sending email via an SMTP broker (not GMail) for months. The other day it stopped sending emails, and I can't figure out why. In the SMTP Client Settings, it says "Your settings are good" with the Test settings button. My MSG shows DNS lookup complete, and ends with Error connecting to SMTP server! and also triggers the EMAIL's On Error. How can I further troubleshoot? I am connected via VPN, so I can't get DMLogger to show me anything.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6169
  • Yes Pinky, Do-more will control the world!
Re: SMTP connection failure
« Reply #1 on: September 12, 2022, 12:51:08 PM »
I have BRX running 2.8.6 that has been happily sending email via an SMTP broker (not GMail) for months. The other day it stopped sending emails, and I can't figure out why. In the SMTP Client Settings, it says "Your settings are good" with the Test settings button. My MSG shows DNS lookup complete, and ends with Error connecting to SMTP server! and also triggers the EMAIL's On Error. How can I further troubleshoot? I am connected via VPN, so I can't get DMLogger to show me anything.

LastERR0-7 and LastMSG0-7 get set to the same values as are sent out to DMLogger. If that isn't deep enough to capture the issue, you can push those locations into a FIFO of strings.

These are usually a result of the SMTP server changing some security things...like forcing newer versions of TLS. We did make some changes in 2.9 DmD that might have some influence on that if it is a TLS version thing. You might try upgrading both DmD and the CPU.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Bolt

  • Hero Member
  • *****
  • Posts: 598
Re: SMTP connection failure
« Reply #2 on: September 13, 2022, 12:15:54 PM »
I updated BRX to 2.9.6 for giggles.

I just get:
Code: [Select]
Beginning DNS lookup...
DNS lookup complete
Connecting to SMTP server...
Error connecting to SMTP server!

I've never been using SSL or TLS on this Device. The provider gave me some alternate ports to try with and without the various security selections, MOST of them pass the Test settings function.

If I switch from this "simple" SMTP gateway to a Device setup for Gmail, the email shoots out (almost) instantly.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6169
  • Yes Pinky, Do-more will control the world!
Re: SMTP connection failure
« Reply #3 on: September 13, 2022, 12:42:24 PM »
I updated BRX to 2.9.6 for giggles.

I just get:
Code: [Select]
Beginning DNS lookup...
DNS lookup complete
Connecting to SMTP server...
Error connecting to SMTP server!

I've never been using SSL or TLS on this Device. The provider gave me some alternate ports to try with and without the various security selections, MOST of them pass the Test settings function.

If I switch from this "simple" SMTP gateway to a Device setup for Gmail, the email shoots out (almost) instantly.

Ah...usually they break because certificate or TLS changes.

It appears the server simply isn't answering.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Bolt

  • Hero Member
  • *****
  • Posts: 598
Re: SMTP connection failure
« Reply #4 on: September 15, 2022, 07:33:31 PM »
The IT department at the site had crudely implemented a security policy that blocked access to the SMTP's international IP addresses.  I'm speculating the quick authentication check via the SMTP Client Setup window stayed state-side, while the actual SMTP had to go to the EU servers.

Rule # 1 applied here, blame the IT guy.  Last time I checked with him he said no, we don't have any blocking or filtering at that site.  Seemed true, until last week...