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!

mod_evasive ( DOSEmailNotify problem )

Discussion in 'E-mail Discussion' started by xml, Jan 7, 2009.

  1. xml

    xml Well-Known Member

    Joined:
    Jan 15, 2004
    Messages:
    85
    Likes Received:
    1
    Trophy Points:
    158
    DOSEmailNotify option doesnt work for my server

    this what i have in httpd.conf

    <IfModule mod_evasive.c>
    DOSHashTableSize 24593
    DOSPageCount 5
    DOSSiteCount 100
    DOSPageInterval 1
    DOSSiteInterval 1
    DOSBlockingPeriod 10
    DOSEmailNotify webmaster@domain.com
    </IfModule>

    when i run the test ./test.pl i can see the dos-ip file in /tmp but i dont get any emails

    i know the problem is related to mod_evasive.c file in the line:
    #define MAILER "/bin/mail -t %s"

    but since it didnt work for my server it means there somthing should be modified to the MAILER path in mod_evasive.c file

    my server run RHE5 + cPanel + Apache1.3x

    any idea how to slove this problem?
     
  2. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    575
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Mbelitar
    I think the DOSEmailNotify will not work on Apache 1.x. I have the same problem and after upgrade to Apache 2.x this command is working well.

    But i have a problem with "Prevent the user "nobody" from sending out mail to remote addresses" turn on. The email notification will be discarded.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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