Ignore the mailstats email

This commit is contained in:
Brian Read 2024-07-15 10:26:52 +01:00
parent 51912e5525
commit 7eb3ff0048

View File

@ -1120,6 +1120,9 @@ if __name__ == "__main__":
hour = dt.hour
# parse the data
parsed_data = parse_data(data)
#Take out the mailstats email
if 'mailstats' in parsed_data['from-email'] and DomainName in parsed_data['from-email']:
continue
# Save the data here if necessary
if saveData:
save_summaries_to_db(anaysis_date_obj.strftime('%Y-%m-%d'),hour,parsed_data)