test
This commit is contained in:
parent
7a451be9f3
commit
03b53aae04
1 changed files with 1 additions and 0 deletions
|
|
@ -9,3 +9,4 @@ MIN_MAILS=2
|
||||||
echo -e "Count\tCipher used\tSending domain"
|
echo -e "Count\tCipher used\tSending domain"
|
||||||
echo "--------------------------------------"
|
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
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue