I have been sending emails on a centos 7 vps with Mautic application for years without problems.
Since i have updated cpanel version to v94.0.2 email sending is not more possible from mautic application with exim.
I get a swiftmailer error.
I use this settings to send email from mautic application:
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)"}
Can anyone help?