The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

From: headers setup by php not showing on exim_mainlog

Discussion in 'E-mail Discussions' started by ruiz, Apr 21, 2011.

  1. ruiz

    ruiz Active Member

    Joined:
    Feb 13, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    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('recipient@somedomain.com', 'subject', 'message', 'From: sender@mydomain.com');

    Thanks!
     
Loading...

Share This Page