blacklist_check/multi_check.sh

7 lines
162 B
Bash
Raw Normal View History

2022-01-15 00:22:04 +01:00
#!/bin/bash
for ADDRESS in $(cat email_server.txt);
do
IP=$(nslookup $ADDRESS | grep Address | cut -d: -f2 | tail -n1);
./blacklist_check.sh $IP;
done