Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelikatyborska/db66261f876d4047fba35bdcf244d790 to your computer and use it in GitHub Desktop.
Save angelikatyborska/db66261f876d4047fba35bdcf244d790 to your computer and use it in GitHub Desktop.
Verify emails from a list with swaks
for E in `cat ~/some/file/with/email/addresses`
do
swaks --to $E --quit-after RCPT --hide-all
[ $? -ne 0 ] && echo $E
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment