[wp-trac] [WordPress Trac] #25239: $_SERVER['SERVER_NAME'] not a reliable when generating email host names
WordPress Trac
noreply at wordpress.org
Sat Mar 25 13:36:00 UTC 2017
#25239: $_SERVER['SERVER_NAME'] not a reliable when generating email host names
-------------------------------------------------+-------------------------
Reporter: layotte | Owner:
Type: defect (bug) | SergeyBiryukov
Priority: normal | Status: reviewing
Component: Mail | Milestone: Future
Severity: normal | Release
Keywords: has-patch dev-feedback needs- | Version: 3.8
testing | Resolution:
| Focuses:
-------------------------------------------------+-------------------------
Comment (by lilmike):
Hi,
hJust a quick recap of the ticket I submitted this morning that was a
duplicate:
I have a postfix that's set to send emails from certain domains (including
my server's fqdn) through an email deliverability service (in the case of
the server's fqdn to stop my server notifications to me -- crons, etc --
from being marked as junk or dropped entirely). However, when WordPress
sends an email, the envelope-from gets set to 'http', and then, by
postfix, to http@<fqdn>. This causes postfix to try and relay through the
afore-mentioned provider... only to get a bounce because the from: is not
a configured sending domain. This would be a helpful fix, even though I
have a plugin currently installed and activated in the sites with the
problem that cause it to actually set the right envelope-from.
All this rambling to say -- please fix, it's certainly been a while since
this ticket was opened :-(.
-Michael.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25239#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list