I'm using a LAMP stack with UBUNTU and have recently installed EXIM4 to send email from PHP using mail() function.
It's all ok except the emails arrive from user "www-data" who I suppose it's Apache default user.
Received: from www-data by mypc-domain with local (Exim 4.69)
(envelope-from <myrealmail>)
How can I set that, I think changing Apache user is not the best option, better to "translate" it inside Exim, isn't it? 🙂