Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default Exim headers

    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. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    A user wants to specify a Return-path in their script, but the server always changes this to user@hostname
    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. modify received headers in exim for one IP only
    By chauaso in forum E-mail Discussions
    Replies: 1
    Last Post: 08-07-2009, 01:27 PM
  2. Exim tracking headers not showing up
    By EdRooney in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-21-2004, 03:08 PM
  3. Exim custom hostname headers
    By GetWiredNet in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-12-2004, 01:02 PM
  4. exim headers - remove?
    By HostDime in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-10-2003, 09:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube