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!

Exim headers

Discussion in 'General Discussion' started by sparek-3, Mar 23, 2004.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,675
    Likes Received:
    84
    Trophy Points:
    328
    cPanel Access Level:
    Root Administrator
    Is there any way to prevent Exim from overwriting headers of e-mails that are sent through a PHP script. A user wants to specify a Return-path in their script, but the server always changes this to user@hostname . Is there anyway to allow this?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    I don't believe you can through PHP unless you pipe to the exim binary directly rather than using the mail() call.

    It is worth noting that the behaviour of exim (to use username@hostname) is completely correct and the return-path: field is only meant to be used for manual mail tracking. From: and Reply-To: headers are for mail routing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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