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.

User for emails scripts return path

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

  1. kieranmullen

    kieranmullen Well-Known Member

    Joined:
    Aug 25, 2005
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Portland, OR USA
    If you have the security option to prevent nobody from sending email (nobody@yoursever.com) 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.

    Thanks!

    KM
     
  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
    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.
     
Loading...

Share This Page