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!

User for emails scripts return path

Discussion in 'E-mail Discussion' started by kieranmullen, Dec 22, 2005.

  1. kieranmullen

    kieranmullen Well-Known Member

    Aug 25, 2005
    Likes Received:
    Trophy Points:
    Portland, OR USA
    If you have the security option to prevent nobody from sending email ( How do you specify the return path? Why wouldnt the return path be same as the TO address?

    From a security standpoint it would make more sense for force the scripts return path to be the admin user for the domain from which the email is sent from right?

    How do we correct this? THis website is running VB and sending out a large number of emails per day.


    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member Verifed Vendor

    Jun 15, 2002
    Likes Received:
    Trophy Points:
    Go on, have a guess
    Well, ideally the return-path should be the From: header not To:. However, exim is setting as required by the RFC's where the return-path should be username@hostname. If you're not running phpsuexec, your php scripts are running under the nobody user and so they're correctly being given a return-path of nobody@hostname. If you want to change that behaviourm then you either need to use phpsuexec so that php scripts run under the username of the virtualhost or use the exim mod that rewrites email headers which I recently pointed out in the thread regarding AOL email bounces.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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