RSS Feed/News SMTP EHLO sends [127.0.0.1] instead of server hostname (Symfony Mailer migration)

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
30,985
Points
823

Reputation:

Description:

After upgrading from XenForo 2.0.6 to 2.3.9, outgoing SMTP emails intermittently fail with 421 rejections from Google's SMTP relay (smtp-relay.gmail.com). The error message:

Expected response code "250" but got code "421", with message "421-4.7.0 Try again later, closing connection. (EHLO)"

The root cause is that Symfony Mailer's EsmtpTransport defaults to EHLO [127.0.0.1] when no local_domain is specified. The previous SwiftMailer implementation automatically used the...

Read more

Continue reading...
 
Status
Not open for further replies.
Top