Mercurial > repos > other > Puppet
view common/0logwatch @ 16:aa5b200da1c6
Add another Postfix blacklist, check HELO for blacklisting, and tweak pipelining issue
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 24 Jan 2015 16:20:10 +0000 |
parents | 956e484adc12 |
children |
line wrap: on
line source
#!/bin/bash DailyReport=`grep -e "^[[:space:]]*DailyReport[[:space:]]*=[[:space:]]*" /usr/share/logwatch/default.conf/logwatch.conf | head -n1 | sed -e "s|^\s*DailyReport\s*=\s*||"` if [ "$DailyReport" != "No" ] && [ "$DailyReport" != "no" ] then logwatch fi