Skip to content

Instantly share code, notes, and snippets.

@mschmitt
Created October 16, 2014 09:20
Show Gist options
  • Save mschmitt/142f26794fba5569e538 to your computer and use it in GitHub Desktop.
Save mschmitt/142f26794fba5569e538 to your computer and use it in GitHub Desktop.
Check maillog for non-TLS transfers
gzip -dcf /var/log/mail.info* |
perl -ne '/TLS connection established (to|from) (.+): (.+) with cipher/&&printf"%s %s %s\n",$1,$2,$3;' |
grep -v TLS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment