Skip to content

Instantly share code, notes, and snippets.

@jskripsky
Created June 29, 2012 13:24
Show Gist options
  • Save jskripsky/3017876 to your computer and use it in GitHub Desktop.
Save jskripsky/3017876 to your computer and use it in GitHub Desktop.
check form incoming mails for a particular address.
#!/bin/sh
grep -E "to=<(albert\.koeppel|ka)@(gup|gruenberg-partner)\.ch" /var/log/maillog >/tmp/gup-mail-log-mercury.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment