Wietse Venema wrote:
>     To prevent Postfix sendmail from looking up this information you
>     must supply the sender name or address with the -f command-line
>     option.

Maksim,

One way to make the PHP mail() function do this is to configure
Apache with this:

<Directory /root/of/website>
    # maybe lots of other options
    php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f 
[email protected]"
</Directory>

Reply via email to