Please can I request that the Revive team take another look at this, as it's still an issue today.
I already took the step to force an envelope sender address:
php_value[sendmail_path] = /usr/sbin/sendmail -t -i -email@example.com
But if you see, it's the other from address that is getting set/mangled by Revive:
To: "Administrator" <team@xxx>
Subject: Impending campaign expiration: XXX
... From: "n" <firstname.lastname@example.org>
X-Original-Authentication-Results: mx.google.com; dkim=pass
email@example.com header.s=krs header.b="b/nn6hqL"; spf=pass
(google.com: domain of firstname.lastname@example.org designates XXX as
permitted sender) email@example.com
Line in maillog:
Sep 12 00:05:03 x postfix/cleanup: 9F27F4696CC: prepend: header From: "n" <n> from local; from=<firstname.lastname@example.org>: X-Mailgun-Native-Send: true
In my Revive config:
[ email ] (without spaces)
Further, all of my Advertisers have email addresses and names configured.
I think there's at least one potential issue in the Email.php file:
What happens if $aConf['email']['useManagerDetails'] is false? $aFromDetails does not get defined but is used further down.