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.

nobody@ help please

Discussion in 'General Discussion' started by headscratcher99, Apr 12, 2007.

  1. headscratcher99

    headscratcher99 Registered

    Joined:
    Nov 16, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi All

    Lookin for some experienced direction or opinions about an email problem I have with WHM
    Ive been bustin my buns over getting my SPF records working, but Im wondering if there is light at the end of the tunnel.

    My ultimate goal with all this SPF email stuff is, I have a few stores, a cgpnuke portal, and a newsletter program, all on different domains.
    These programs sometimes send mail as nobody@mydomain.com and of course AOHell
    rejects them and people wonder where there confirm email went. Am I wasting my time for these few clients or is all of this hassle going to get the mail through?

    Im assuming that there must be a way to stop mr nobody and have it sent by a particular
    email account??
    Would that involve going through every program to find mr nobody and change ?

    Thanks Anyone
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    It seems the real problem is allowing web applications to send email, which gets sent by the Apache user (nobody). There are various ways to resolve this:

    IN Tweak Settings, check the option to "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.)"

    Use PHPSuExec/suExec/suPHP to force web applications to run as the user.

    There are other wyas, but they aren't coming to mind this morning. Hopefully this will provide enough to get going.
     
  3. headscratcher99

    headscratcher99 Registered

    Joined:
    Nov 16, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    thanks kenneth

    does that mean I have to configure the programs first to use a specific account?

    then "IN Tweak Settings, check the option to "Prevent the user "nobody" from sending out mail to remote addresses"

    or can I enable the "prevent nobody" , see what works, then fix the ones that wont send correctly.
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    By enabling "prevent nobody" you will see very quickly which scripts break. There are ways to configure the scripts to use specific accounts, everything from reconfiguring the scripts, to forcing PHP to use a certain exim binary that does account lookups.

    PHPSuExec/suPHP solve this to a degree by making scripts run in the context of the owner account, rather than "nobody"
     
  5. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
  6. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    As far as getting SPF records going, it's just a simple matter of updating
    the DNS templates for your server to include the SPF record.

    Regading the option,
    "Prevent the user "nobody" from sending out mail to remote addresses" ...

    That option is really only meant for servers running phpSuExec or SuPHP.

    If enabled on a server running regular modular based PHP that is not
    running phpSuExec or SuPHP, most all the scripts on your server would be
    broken by enabling this option.

    As for AOL --- I personally would ban the emailing or redirect of any
    email to AOL from your server. Search this forum community for
    "AOL" and you will quickly find out why I make this recommendation.
     
Loading...

Share This Page