From: headers setup by php not showing on exim_mainlog

ruiz

Well-Known Member
Feb 13, 2008
50
4
58
Hi there,

I'm trying to search my exim logs for e-mails sent via php mail() function, however every single line on exim is showing the sender address as root@myserver. I already tried to display all arguments for the exim log via :
log_selector = +all

But i still get root@server instead of the correct sender. Is there a way to get those sender addresses? I'm setting up php to send e-mails with something like this:
mail('[email protected]', 'subject', 'message', 'From: [email protected]');

Thanks!