How to configure user mapping for EXIM4?

Sorry in advance, most likely the problem obiefuna, but my guglani the right answer isn't there.
The PHP script needs to send email about the following design:

mail("", "subject", "my message", "From:\r\n");

EXIM is configured in a mode smarthost and works fine. But this PHP-shnaya design takes the current user. It is www-data, developer, root and other friends on my mail server not provided.
As sumapit www-data on, for example, sales, the lovers, kitty or even something nice to the user? Where dig nose?
Thank you.
July 2nd 19 at 18:09
0 answer

Find more questions by tags EximE-mailPHP