|
|
|
@ -16,7 +16,7 @@ logpath = /var/log/httpd/error_log |
|
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
$OUT .= " sendmail[name="Apache (overflows)",dest=$maildest]\n" |
|
|
|
|
$OUT .= " sendmail[name=\"Apache (overflows)\",dest=$maildest]\n" |
|
|
|
|
if ($mail eq 'enabled'); |
|
|
|
|
|
|
|
|
|
$OUT .=<<"EOF"; |
|
|
|
@ -28,7 +28,7 @@ logpath = /var/log/httpd/error_log |
|
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
$OUT .= " sendmail[name="Apache (noscript)",dest=$maildest]\n" |
|
|
|
|
$OUT .= " sendmail[name=\"Apache (noscript)\",dest=$maildest]\n" |
|
|
|
|
if ($mail eq 'enabled'); |
|
|
|
|
|
|
|
|
|
$OUT .=<<"EOF"; |
|
|
|
@ -40,7 +40,7 @@ logpath = /var/log/httpd/error_log |
|
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
$OUT .= " sendmail[name="Apache (scan)",dest=$maildest]\n" |
|
|
|
|
$OUT .= " sendmail[name=\"Apache (scan)\",dest=$maildest]\n" |
|
|
|
|
if ($mail eq 'enabled'); |
|
|
|
|
|
|
|
|
|
$OUT .=<<"EOF"; |
|
|
|
@ -52,6 +52,6 @@ logpath = /var/log/httpd/error_log |
|
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
$OUT .= " sendmail[name="Apache (auth)",dest=$maildest]\n" |
|
|
|
|
$OUT .= " sendmail[name=\"Apache (auth)\",dest=$maildest]\n" |
|
|
|
|
if ($mail eq 'enabled'); |
|
|
|
|
} |
|
|
|
|