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.

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,382
    Likes Received:
    23
    Trophy Points:
    38
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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.
     
Loading...

Share This Page