SMTP timeout while imap is working

Your software
My Mautic version is: 4.3.1
My PHP version is: 7.4.30
My Database type and version is: mysql Ver 15.1 Distrib 10.3.22-MariaDB, for Linux (x86_64) using readline 5.1

Your problem
My problem is: I am trying to setup the email configuration in Mautic. I input my smtp data like provided by my host (uberspace.de).

The data I put in is:

  • SMTP host: longmore.uberspace.de
  • Port: 465
  • SMTP encryption type: TLS
  • SMTP authentication mode: Login
  • Username: my system email address as required per uberspace handbook
  • Passwort: my respective passwort

I am trying the “test connection” button, but I receive the following error. These errors are showing in the log:

Connection to tcp://longmore.uberspace.de:465 Timed Out Log data: ++ Starting Swift_SmtpTransport !! Connection to tcp://longmore.uberspace.de:465 Timed Out (code: 0)
++ Starting Swift_SmtpTransport !! Connection to tcp://longmore.uberspace.de:465 Timed Out (code: 0)

Steps I have tried to fix the problem: I tried the same username/pw combination in the IMAP part of the config it worked. I changed the password. I also changed the login method to “plain”.

I am currently a bit lost for ideas and could use some help. Thanks a lot in advance.

Fixed it:

  • Port: 465
  • SMTP encryption type: SSL

Error in front of keyboard. One shouldn’t debug after a long day.