Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    xml
    xml is offline
    Member
    Join Date
    Jan 2004
    Posts
    77

    Default mod_evasive ( DOSEmailNotify problem )

    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. #2
    Member isputra's Avatar
    Join Date
    May 2003
    Location
    Mbelitar
    Posts
    593

    Default

    Quote Originally Posted by xml View Post
    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?
    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.
    It's me ...... It's me ......

Similar Threads & Tags
Similar threads

  1. mod_evasive
    By Lucas in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-23-2008, 05:25 PM
  2. mod_evasive
    By redbranch in forum New User Questions
    Replies: 2
    Last Post: 06-18-2008, 10:00 AM
  3. apache 2.2 - mod_evasive
    By katmai in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-16-2007, 12:47 PM
  4. mod_evasive + RH9
    By P_W in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-19-2005, 12:10 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube