Hi,

I just checked the grep command in Debian Wheezy's file
sendmail-whois-lines.conf :

`/bin/grep '\<<ip>\>' <logpath>`\n\n


In Debian Jessie :

`grep '[^0-9]<ip>[^0-9]' <logpath>`\n\n

Depending on filters, I do not receive  the lines containing the ban IP in
/var/log/apache*/*error.log

If I use

`grep '<ip>' <logpath> `\n\n

in  sendmail-whois-lines.conf action.d's file, it works.

It seems others filters works with `grep '[^0-9]<ip>[^0-9]' <logpath>`\n\n

I hope it can help

Benoit

Reply via email to