On 2025-12-23 21:35:42, Dan Raymond via Postfix-users wrote:
> ...
> This also impacts php scripts which use the mail() function to invoke 
> sendmail.

Any chance this has to do with Wordpress?

For a long time, Wordpress has used a hard-coded wordpress@$sitename
address as the "From:" header when it needs to send mail. And in the
recent v6.9 release, this made-up address will moreover override the
envelope sender. When Wordpress is using PHP's mail() function, this
ultimately results in a call to sendmail -f wordpress@$sitename. There
is no way to change either the "From:" header or envelope sender, and
no way to avoid the -f.

This is wrong for many reasons. It has been explained over and over
again, and should be trivial to fix in WP. If this is by chance what
is affecting you, then it's a well-known Wordpress problem that only
got worse in the latest version.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to