domainaware / parsedmarc

A Python package and CLI for parsing aggregate and forensic DMARC reports
https://domainaware.github.io/parsedmarc/
Apache License 2.0
981 stars 212 forks source link

Emails are archived or deleted even if Elasticsearch server is killed during import #367

Open AnaelMobilia opened 1 year ago

AnaelMobilia commented 1 year ago

Hi,

The situation :

Elasticsearch consider each mail as done despite the fact that it can't store results in Elasticsearch.

This is due to :

I see two options in order to prevent this issue :

@seanthegeek have you a preference ?

Bests regards, Anael

AnaelMobilia commented 1 year ago

Similar to #242

rodpayne commented 4 months ago

I had a similar problem because my elasticsearch available disk space went below the threshold, so it began rejecting the updates, after the mail messages were moved. That may not be detected by a connectivity check.