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.

disallow using nobody@yourhostname.com ?

Discussion in 'E-mail Discussions' started by Dreamy, Nov 17, 2008.

  1. Dreamy

    Dreamy Well-Known Member

    Joined:
    Sep 16, 2008
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    I've noticed some php scripts use nobody@yourhostname.com to send out emails. How could I disable that kind of thing to happen in my server?
     
  2. lngtanseco

    lngtanseco Well-Known Member

    Joined:
    Jun 9, 2006
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    WHM >> Server Configuration >> Tweak Settings

    Prevent the user "nobody" from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)

    Check the above option to disable "nobody" from sending emails.
     
  3. Dreamy

    Dreamy Well-Known Member

    Joined:
    Sep 16, 2008
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    thanks man :)
     
  4. lngtanseco

    lngtanseco Well-Known Member

    Joined:
    Jun 9, 2006
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
  5. Dreamy

    Dreamy Well-Known Member

    Joined:
    Sep 16, 2008
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    now I've got problem that cpanel is unable to send out cron logs and other such messages. :confused:

    Before it used nobody.
     
  6. lngtanseco

    lngtanseco Well-Known Member

    Joined:
    Jun 9, 2006
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Possible options:

    1. You may want to send those logs to your local address then create a email forwarder to your remote email address.

    2. Re-enable nobody to send to remote email address, then fight off nobody spammer with different approach. (Example: http://www.webhostgear.com/232.html)

    Hope this helps.
     
Loading...

Share This Page