Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd February 2012, 09:38
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,259
Thanks: 76
Thanked 23 Times in 19 Posts
Default need help with mod_evasive2 config file

can't get these two lines to work:

Quote:
DOSLogDir "/var/log/apache2/evasive"
DOSEmailNotify ovidiu@mydomain.tld
Do I need quotes around the log path? Do I need them around the email address?

I triggered mod_evasive with a test script and it blocks me but no mails get ever sent out nor any logs are being generated.

Is it ok if the evasive log directory is owned by www-data:www-data or should it be root:adm as the other apache log files?
Reply With Quote
Sponsored Links
  #2  
Old 2nd February 2012, 10:41
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,259
Thanks: 76
Thanked 23 Times in 19 Posts
 
Default

found this: http://library.linode.com/web-server...dosemailnotify

Quote:
NOTE: Be sure MAILER is set correctly in mod_evasive.c
(or mod_evasive20.c). The default is "/bin/mail -t %s" where %s is used to denote the destination email address set in the configuration. If you are running on linux or some other operating system with a different type of mailer, you'll need to change this.
is that needed if I installed libapache2-mod-evasive via apt-get? shouldn't is my guess...
Reply With Quote
Reply

Bookmarks

Tags
apache2, evasive

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.3.3 Autoresponder, adding subdomain problem BlackHat Installation/Configuration 4 18th October 2011 14:24
rkhunter warnings esezako General 7 27th September 2011 07:28
Postfix doesn't have Nolan Installation/Configuration 5 13th April 2011 05:00
adding mail boxes kwickcut Server Operation 20 11th August 2010 01:02
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40


All times are GMT +2. The time now is 11:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.