SMTP EHLO sends [127.0.0.1] instead of server hostname (Symfony Mailer migration)

Status
This content is read-only, or is not open for further replies.

XFConvert

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom