mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +00:00
fix: [Mails] remove print + test
This commit is contained in:
parent
0a525f369e
commit
4d318643ce
1 changed files with 1 additions and 11 deletions
12
bin/Mail.py
12
bin/Mail.py
|
@ -137,8 +137,7 @@ if __name__ == "__main__":
|
||||||
email_regex = "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}"
|
email_regex = "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}"
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
#message = p.get_from_set()
|
message = p.get_from_set()
|
||||||
message = 'archive/pastebin.com_pro/2020/02/07/Fnz1wUim.gz 3'
|
|
||||||
|
|
||||||
if message is not None:
|
if message is not None:
|
||||||
item_id, score = message.split()
|
item_id, score = message.split()
|
||||||
|
@ -174,11 +173,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
## TODO: add MAIL trackers
|
## TODO: add MAIL trackers
|
||||||
|
|
||||||
print(all_emails)
|
|
||||||
print()
|
|
||||||
|
|
||||||
valid_mx = check_mx_record(set_mxdomains, dns_server)
|
valid_mx = check_mx_record(set_mxdomains, dns_server)
|
||||||
print(valid_mx)
|
|
||||||
|
|
||||||
num_valid_email = 0
|
num_valid_email = 0
|
||||||
for domain_mx in valid_mx:
|
for domain_mx in valid_mx:
|
||||||
|
@ -210,10 +205,5 @@ if __name__ == "__main__":
|
||||||
else:
|
else:
|
||||||
publisher.info(msg)
|
publisher.info(msg)
|
||||||
|
|
||||||
time.sleep(30)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
|
Loading…
Reference in a new issue