Mail sending problems since Cpanel update to v94.0.2 - swiftmailer error

Your software
My Mautic version is: v3.3.2-rc
My PHP version is: 7.3
My Database type and version is:

Your problem
My problem is: Email sending problem since Cpanel update to v94.0.2
I have sent emails for years witt mautic without problems - since Cpanel update to v94.0.2 the problem started.

These errors are showing in the log:

Service to send mail through: Other SMTP Server
SMTP Host: 127.0.0.1
Port: 25
SMTP encryption type: none

Here is log output:

235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started
MAIL FROM: >> RCPT TO: >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >>
!! Connection to 127.0.0.1:25 Timed Out (code: 0)
(code: 0) (send); manager@xxx.xxxxxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0)
Connection to 127.0.0.1:25 Timed Out\nLog data:
\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.xxx-xxx-xxx.com
ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 08:02:10 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>>
EHLO mailer.xxx.com\r\n\n<< 250-hosting.xxx-xxx-xxx.com Hello mailer.xxx.com [37.97.140.32]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>>
AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n
<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>>
MAIL FROM:\r\n\n>> RCPT TO:\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>>
\r\n.\r\n\n!! Connection to mailer.xxx.com:25 Timed Out (code: 0) at /home/mailer/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0):
Connection to mailer.xxx.com:25 Timed Out at /home/mailer/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}

Steps I have tried to fix the problem:

Tried all other SMTP settings with SSL and TLS - not working

Plz check if your port 25 is enabled. Seems you have a timeout.
Joey

I can telnet port 25 - output:
Trying 37.97.xxx.xx…
Connected to mailer.xxx.com.
Escape character is ‘^]’.
220-hosting.xxx-xxx-xxx.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 18:56:05 +0100
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.

I can also send a testmail from the mautic configuration page which also arrives.

But when I start the sending process, no progress is displayed on the status page and I have these errors in the log file.

[2021-03-18 08:02:40] mautic.ERROR: [MAIL ERROR] Connection to mailer.xxxxx.com:25 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 08:02:10 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [37.97.140.32] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:news+bounce@mailer.xxxxx.com >> RCPT TO:manager@mailer.xxxxx.com >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to mailer.xxxxx.com:25 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to mailer.xxxxx.com:25 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 08:02:10 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [37.97.140.32]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:news+bounce@mailer.xxxxx.com\r\n\n>> RCPT TO:manager@mailer.xxxxx.com\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to mailer.xxxxx.com:25 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to mailer.xxxxx.com:25 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}
[2021-03-18 09:52:01] mautic.ERROR: [MAIL ERROR] Connection to 127.0.0.1:25 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:51:31 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:news+bounce@mailer.xxxxx.com >> RCPT TO:manager@mailer.xxxxx.com >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to 127.0.0.1:25 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to 127.0.0.1:25 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:51:31 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:news+bounce@mailer.xxxxx.com\r\n\n>> RCPT TO:manager@mailer.xxxxx.com\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to 127.0.0.1:25 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to 127.0.0.1:25 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}
[2021-03-18 09:52:41] mautic.ERROR: [MAIL ERROR] Connection to 127.0.0.1:25 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:52:11 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:news+bounce@mailer.xxxxx.com >> RCPT TO:manager@mailer.xxxxx.com >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to 127.0.0.1:25 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to 127.0.0.1:25 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:52:11 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:news+bounce@mailer.xxxxx.com\r\n\n>> RCPT TO:manager@mailer.xxxxx.com\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to 127.0.0.1:25 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to 127.0.0.1:25 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}
[2021-03-18 09:56:40] mautic.ERROR: [MAIL ERROR] Connection to 127.0.0.1:25 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:56:10 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:news+bounce@mailer.xxxxx.com >> RCPT TO:manager@mailer.xxxxx.com >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to 127.0.0.1:25 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to 127.0.0.1:25 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:56:10 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:news+bounce@mailer.xxxxx.com\r\n\n>> RCPT TO:manager@mailer.xxxxx.com\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to 127.0.0.1:25 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to 127.0.0.1:25 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}
[2021-03-18 09:57:28] mautic.ERROR: [MAIL ERROR] Connection to 127.0.0.1:25 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:56:58 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:news+bounce@mailer.xxxxx.com >> RCPT TO:manager@mailer.xxxxx.com >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to 127.0.0.1:25 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to 127.0.0.1:25 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:56:58 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:news+bounce@mailer.xxxxx.com\r\n\n>> RCPT TO:manager@mailer.xxxxx.com\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to 127.0.0.1:25 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to 127.0.0.1:25 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}
[2021-03-18 09:58:16] mautic.ERROR: [MAIL ERROR] Connection to 127.0.0.1:587 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:57:46 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:news+bounce@mailer.xxxxx.com >> RCPT TO:manager@mailer.xxxxx.com >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to 127.0.0.1:587 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to 127.0.0.1:587 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:57:46 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:news+bounce@mailer.xxxxx.com\r\n\n>> RCPT TO:manager@mailer.xxxxx.com\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to 127.0.0.1:587 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to 127.0.0.1:587 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}

I can also send a testmail from the mautic configuration page which also arrives.

But when I start the sending process, no progress is displayed on the status page and I have these errors in the log file.

[2021-03-18 08:02:40] mautic.ERROR: [MAIL ERROR] Connection to mailer.xxxxx.com:25 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 08:02:10 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [37.97.140.32] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:<news+bounce@mailer.xxxxx.com> >> RCPT TO:<manager@mailer.xxxxx.com> >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to mailer.xxxxx.com:25 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to mailer.xxxxx.com:25 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 08:02:10 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [37.97.140.32]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:<news+bounce@mailer.xxxxx.com>\r\n\n>> RCPT TO:<manager@mailer.xxxxx.com>\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to mailer.xxxxx.com:25 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to mailer.xxxxx.com:25 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}
[2021-03-18 09:52:01] mautic.ERROR: [MAIL ERROR] Connection to 127.0.0.1:25 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:51:31 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:<news+bounce@mailer.xxxxx.com> >> RCPT TO:<manager@mailer.xxxxx.com> >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to 127.0.0.1:25 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to 127.0.0.1:25 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:51:31 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:<news+bounce@mailer.xxxxx.com>\r\n\n>> RCPT TO:<manager@mailer.xxxxx.com>\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to 127.0.0.1:25 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to 127.0.0.1:25 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}
[2021-03-18 09:52:41] mautic.ERROR: [MAIL ERROR] Connection to 127.0.0.1:25 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:52:11 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:<news+bounce@mailer.xxxxx.com> >> RCPT TO:<manager@mailer.xxxxx.com> >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to 127.0.0.1:25 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to 127.0.0.1:25 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:52:11 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:<news+bounce@mailer.xxxxx.com>\r\n\n>> RCPT TO:<manager@mailer.xxxxx.com>\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to 127.0.0.1:25 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to 127.0.0.1:25 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}
[2021-03-18 09:56:40] mautic.ERROR: [MAIL ERROR] Connection to 127.0.0.1:25 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:56:10 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:<news+bounce@mailer.xxxxx.com> >> RCPT TO:<manager@mailer.xxxxx.com> >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to 127.0.0.1:25 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to 127.0.0.1:25 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:56:10 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:<news+bounce@mailer.xxxxx.com>\r\n\n>> RCPT TO:<manager@mailer.xxxxx.com>\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to 127.0.0.1:25 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to 127.0.0.1:25 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}
[2021-03-18 09:57:28] mautic.ERROR: [MAIL ERROR] Connection to 127.0.0.1:25 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:56:58 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:<news+bounce@mailer.xxxxx.com> >> RCPT TO:<manager@mailer.xxxxx.com> >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to 127.0.0.1:25 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to 127.0.0.1:25 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:56:58 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:<news+bounce@mailer.xxxxx.com>\r\n\n>> RCPT TO:<manager@mailer.xxxxx.com>\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to 127.0.0.1:25 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to 127.0.0.1:25 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}
[2021-03-18 09:58:16] mautic.ERROR: [MAIL ERROR] Connection to 127.0.0.1:587 Timed Out Log data: ++ Starting Swift_Transport_EsmtpTransport << 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:57:46 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >> EHLO mailer.xxxxx.com << 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-X_PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ== << 334 UGFzc3dvcmQ6 >> QmVsbGF2aXN0YSgwMDE2KQ== << 235 Authentication succeeded ++ Swift_Transport_EsmtpTransport started >> MAIL FROM:<news+bounce@mailer.xxxxx.com> >> RCPT TO:<manager@mailer.xxxxx.com> >> DATA << 250 OK << 250 Accepted << 354 Enter message, ending with “.” on a line by itself >> . !! Connection to 127.0.0.1:587 Timed Out (code: 0) (send); manager@mailer.xxxxx.com {“exception”:"[object] (Swift_TransportException(code: 0): Connection to 127.0.0.1:587 Timed Out\nLog data:\n++ Starting Swift_Transport_EsmtpTransport\n<< 220-hosting.yyyy-yyyy-yyyy.com ESMTP Exim 4.94 #2 Thu, 18 Mar 2021 09:57:46 +0100 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n\n>> EHLO mailer.xxxxx.com\r\n\n<< 250-hosting.yyyy-yyyy-yyyy.com Hello mailer.xxxxx.com [127.0.0.1]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-X_PIPE_CONNECT\r\n250-AUTH PLAIN LOGIN\r\n250-STARTTLS\r\n250 HELP\r\n\n>> AUTH LOGIN\r\n\n<< 334 VXNlcm5hbWU6\r\n\n>> bmV3c0BtYWlsZXIubmV1ZXJvdGlrLmNvbQ==\r\n\n<< 334 UGFzc3dvcmQ6\r\n\n>> QmVsbGF2aXN0YSgwMDE2KQ==\r\n\n<< 235 Authentication succeeded\r\n\n++ Swift_Transport_EsmtpTransport started\n>> MAIL FROM:<news+bounce@mailer.xxxxx.com>\r\n\n>> RCPT TO:<manager@mailer.xxxxx.com>\r\n\n>> DATA\r\n\n<< 250 OK\r\n\n<< 250 Accepted\r\n\n<< 354 Enter message, ending with “.” on a line by itself\r\n\n>> \r\n.\r\n\n!! Connection to 127.0.0.1:587 Timed Out (code: 0) at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift_IoException(code: 0): Connection to 127.0.0.1:587 Timed Out at public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)"}

@galdon I have the exact same problem. It started when I updated Mautic to versión 3.2.5.

In my case I have now:

cPanel v94.0.4.
CentOS 7.9
PHP 7.4
MySQL 5.7
Mautic 3.3.1

I have tried several combinations with SMTP and It doesn’t send the emails with the same kind of errors you are shwing above.

Also, I have tried using sendmail and gets the following error for each email:

[2021-03-19 20:09:05] mautic.ERROR: [MAIL ERROR] Expected response code 220 but got an empty response Log data: ++ Starting Swift_Transport_SendmailTransport !! Expected response code 220 but got an empty response (code: 0) (send); NAME@DOMAIN {“exception”:"[object] (Swift_TransportException(code: 0): Expected response code 220 but got an empty response\nLog data:\n++ Starting Swift_Transport_SendmailTransport\n!! Expected response code 220 but got an empty response (code: 0) at /home/USER/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124)"} .

I updated Mautic to 3.3.1 and is the same situation. It doesn’t send the emails. I have used mautic for several years now and have no clue about how to fix this situation.

Could somebody help us on this???

@galdon

Your host seems to have limited you, or have closed SMTP port. Reach out to your host support desk and ask. I think its pure coincidence this occurred upon an upgrade.