> Am 03.02.2015 um 13:17 schrieb Danny <mynixm...@gmail.com>:
> 
> Hi Guys,
> 
> I have postfix setup on a Debian system that manages all my mail. However,
> whenever php is sending mail it sends it under user "www-data". I tried 
> changing
> the headers in php but it remains the same.
> 
> Is there someway I can change this to a more friendly name via postfix?
> 
> It is not a train smash, just curious.

You need to set it in php.ini:

That’s what I have configured in my php-fpm config file:

php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f foo...@example.org

The required parameter for you is -f

Christian
--
Bachelor of Science Informatik
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345
USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to