This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Step 1: Create list of domains in url-list.txt | |
| # Step 2: Run dig to output a list of MX records | |
| while read url; do | |
| dig $url mx | grep MX | head -n 2 | tail -n 1 | |
| done <url-list.txt > mx-results.txt | |
| # Step 3: Grep to isolate and count the Google users |
OlderNewer