Haravikk:
> I?m trying to send e-mail via PHP?s built in mail() function (which
> uses sendmail), however, although I?m providing a valid return-path,
> postfix appears to be rewriting it to become www-d...@domain.tld
> <mailto:www-d...@domain.tld>, which is not what I want.

That is not what happens.  You need to specify the ENVELOPE SENDER
ADDRESS to the mail command.

See http://www.php.net/mail:

additional_parameters (optional)

    [...] For example, This can be used to set the ENVELOPE SENDER
    ADDRESS when using sendmail with the -f sendmail option.

        Wietse


Reply via email to