R.A. Imhoff:
> I have this in php.ini (the -r parameter is supposed to set the
> return-path, but seems to have no effect):
>
> sendmail_path = "sendmail -t -i -f [email protected] -r [email protected]"
If PHP's sendmail_path ignores the ``sendmail -f sen...@senderdomain''
option, then you need to ask for support on the PHP mailing list.
The -f command-line option is supported by pretty much any UNIX
MTA, not just Postfix or Sendmail.
Please report back what the solution is - there are lots of broken
websites that send mail with an invalid envelope sender address
such as www-d...@hostname, and it would be nice to have the solution
on file here.
Wietse