Re: PHP sends email from Apache virtual hosts with apache@machine [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> Now when these PHP scripts call Mail() to send emails the emails are
> getting sent with an evelope sender of apache@xxxxxxxxxxxxxxx
> 
> Is there anything I can set in each virtual host to correctly set the
> envelope sender to a real address in their domain?

Thanks for the replies but I should have mentioned that as a web hoster
I didn't want to touch my customers scripts if possible.

I think I found a solution.  Into their virtual host I added the
following statement:
php_admin_value sendmail_path "/usr/sbin/sendmail -t -f user@xxxxxxxxxx"

I can see emails being sent with their address now and nothing from
apache@xxxxxxxxxxxxxxx

-- 
Regards,
+-----------------------------+---------------------------------+
| Peter Kiem            .^.   | E-Mail    : <zordah@xxxxxxxxxx> |
| Zordah IT             /V\   | Mobile    : +61 0414 724 766    |
|   IT Consultancy &  /(   )\ | WWW       : www.zordah.net      |
|   Internet Services  ^^-^^  | ICQ       : "Zordah" 866661     |
+-----------------------------+---------------------------------+
       My current spamtrap address is est1003@xxxxxxxxxx


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux