antedebaas / Viesti-Reports

DMARC & SMTP-TLS Reports processor and visualizer and BIMI file hoster
https://docs.viestireports.com/
GNU Affero General Public License v3.0
82 stars 16 forks source link

duplicate report when parsing from email #108

Closed mshannaq closed 5 months ago

mshannaq commented 5 months 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 5 months 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 5 months 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 5 months ago

Note to self: add lock state

antedebaas commented 5 months 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