Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

From: headers setup by php not showing on exim_mainlog

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

  1. ruiz

    ruiz Active Member

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

    Thanks!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice