[wp-trac] [WordPress Trac] #60420: Default wordpress at site.com sender address can be problematic
WordPress Trac
noreply at wordpress.org
Tue Dec 16 20:56:24 UTC 2025
#60420: Default wordpress at site.com sender address can be problematic
-----------------------------+------------------------------
Reporter: thinlinecz | Owner: (none)
Type: feature request | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version: 1.5.1.2
Severity: normal | Resolution:
Keywords: close | Focuses:
-----------------------------+------------------------------
Comment (by dmsnell):
> Semantics, but since I was using sendmail -f to set the envelope sender,
it is now being overridden via the second -f.
Thanks for clarifying. It’s a hot topic, so I am trying hard to stick with
factual statements to avoid triggering different folks. I am led to
believe that using `-f` in the `sendmail_path` is another one of these
“invalid but standard” practices, and that it would be much easier for all
parts of the system to cooperate if the return-path were set via
`wp_mail_from`.
In 6.9.1, by the way, WordPress will avoid sending a second `-f` if it
detects one in `sendmail_path` — that was an oversight when the patch was
merged into 6.9.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60420#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list