antedebaas / DMARC-SMTPTLS-Reports

DMARC & SMTP-TLS Reports processor and visualizer
https://hub.docker.com/repository/docker/antedebaas/dmarc-reports/general
GNU General Public License v2.0
68 stars 15 forks source link

duplicate report when parsing from email #108

Closed mshannaq closed 2 weeks ago

mshannaq commented 3 weeks ago

Issue Template

Describe the bug Today I see the application duplicate the report for the same report , while it is just 1 email in the IMAP email. image

while in on email just 1 email image

Iam using v1.14.0

do you think the problem because I set up the application to keep and parsed messages in the IMAP Email. and I must select to delete it after parse?

Are you using the Docker image?

Database used

Environment (please complete the following information):

antedebaas commented 3 weeks ago

do you think the problem because I set up the application to keep and parsed messages in the IMAP Email. and I must select to delete it after parse? No, i keep the messages as well and never had this problem.

what does the logs page say for that time? have there been multiple runs of the getfrommailbox process for example?

mshannaq commented 3 weeks ago

there is no reference for log to know which report it parse

I can see the Log as image

but I cannot detrmine Log to know that log for which report is related to.

antedebaas commented 2 weeks ago

Note to self: add lock state

antedebaas commented 2 weeks ago

I added a lock to the mail process in v1.15.0 and improved logging. This should fix it. if not feel free to reopen this issue