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.

Jail Apache Virtual Hosts using mod_ruid2 blocks php forms from sending email

Discussion in 'Security' started by vivient, Apr 10, 2014.

  1. vivient

    vivient Member

    Joined:
    Aug 26, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    WHM 11.42.1 (build 5)

    I have successfully installed mod_ruid2 and using php5 handler dso.
    My problem is when I activate "Jail Apache Virtual Hosts using mod_ruid2" in Tweak Settings
    I get the following error when I use a php email form on any of my websites.

    Router: deliver_local_outside_jail

    SMTP error from remote mail server after MAIL FROM:<sales@website.com> SIZE=1853: host 127.0.0.1 [127.0.0.1]: 550 "REJECTED - Bad HELO - Host impersonating [website.com]

    Is there another setting I am missing?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  3. vivient

    vivient Member

    Joined:
    Aug 26, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you for replying Michael, I have recompiled apache and back to using suphp. Although mod_security was running with no issues I could see, it was keeping cmc from displaying anything even though there was log entries.

    I am running on an older server with centos 5.10 with only about 10 accounts that don't use much. I read the documentation some more and found out that mod_ruid2 doesn't run as good on older version of centos. Even though it seem to be running correctly.

    Could have been nothing more than some user permission issues but for now I will stick with the set up using suphp and mod_security.
     
  4. vivient

    vivient Member

    Joined:
    Aug 26, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    To fill you in some more, mod_ruid2 did not set well with the mod_security I have set up using OWASP. It was even throwing in some errors with apache not being able to find .htaccess after mod_security had thrown the intruders a 403.

    I am using Apache 2.2.27 with Mod_Security 2.2.7
     
Loading...

Share This Page