This commit is contained in:
Oliver Ladner 2012-09-04 14:46:21 +02:00
commit 03b53aae04

View file

@ -9,3 +9,4 @@ MIN_MAILS=2
echo -e "Count\tCipher used\tSending domain"
echo "--------------------------------------"
zgrep 'Anonymous TLS connection established from' /var/log/mail.log* | sed -r 's/\[[0-9.]*\]://g' | awk {'print $15,$11'} | sort | uniq -c -i | while read line; do [[ $(grep -oE '^\s*[0-9]+' <<< $line) -gt $MIN_MAILS ]] && echo $line | tr -s ' ' '\t'; done
#fskfjsj