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!

Return-Path issues

Discussion in 'General Discussion' started by LABWEB1, Sep 8, 2004.

  1. LABWEB1

    LABWEB1 Member

    Joined:
    Jun 17, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    Hi there,

    The backend of our database, allows staffers to send emails to listed people. Up until a few weeks ago, returned mail was being returned to the email accounts of the appropriate staffer (depending on which category the email was sent from). About a week or so ago, I noticed the returned mail was arriving in the email address set up for nobody. I have since turned on PHP suEXEC and turned off email being sent from 'nobody.' But now I notice regardless of who is sending these emails, the return-path is now <thefanli@server1.thefanlistings.org> and returned mail is going to the main user mail account. Is there anyway that I can change this so that returned mail goes to the appropriate sender?

    Below is a copy of the headers of a returned message:

    *****************************************************************************
    Return-path: <thefanli@server1.thefanlistings.org>
    Received: from thefanli by server1.thefanlistings.org with local (Exim 4.42)
    id 1C5Awf-0000kS-6I
    for test@yourultimatedj.com; Wed, 08 Sep 2004 17:29:41 -0500
    To: test@yourultimatedj.com
    Subject: Approved: [+] All Characters
    From: tvcharacters@thefanlistings.org
    Reply-To: tvcharacters@thefanlistings.org
    Message-Id: <E1C5Awf-0000kS-6I@server1.thefanlistings.org>
    Date: Wed, 08 Sep 2004 17:29:41 -0500
    *****************************************************************************

    Any assistance would be appreciated.

    Thank you.
    Abby
     
  2. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,154
    Likes Received:
    38
    Trophy Points:
    178
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. LABWEB1

    LABWEB1 Member

    Joined:
    Jun 17, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    I should have mentioned that the script isn't using sendmail. It's using PHP's mail function. :eek:
     
  4. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,154
    Likes Received:
    38
    Trophy Points:
    178
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    A quick google search found some excellent discussion about setting return-path with php's mail function, here:

    http://us4.php.net/function.mail

    Good luck,

    - Scott
     
    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