iRedMail icon indicating copy to clipboard operation
iRedMail copied to clipboard

Spider: Duplicate emails in the SMTP events

Open M-Stenzel opened this issue 1 year ago • 3 comments

`

3 2023-11-21 21:46:12 65.109.156.85 Discarded [email protected] Duplicate email  
4 2023-11-21 21:46:12 65.109.156.85 Accepted [email protected]    
5 2023-11-21 21:46:08 65.109.156.85 Discarded [email protected] Duplicate email  
6 2023-11-21 21:46:08 65.109.156.85 Accepted [email protected]    
7 2023-11-21 21:45:09 65.109.156.85 Discarded [email protected] Duplicate email  
8 2023-11-21 21:45:09 65.109.156.85 Accepted [email protected]    
9 2023-11-21 21:45:08 65.109.156.85 Discarded [email protected] Duplicate email  
10 2023-11-21 21:45:08 65.109.156.85 Accepted [email protected]
`

In the SMTP events every archived mail finds a duplicated, and thereby not archived mail, I wonder why.

This happens with EVERY sent and received mail.

This is the latest version of spiderd (Linux).

Martin.

M-Stenzel avatar Nov 21 '23 19:11 M-Stenzel

If email has same value of email header Message-ID: and recipients as archived one, then it's considered as duplicate, hence it will be discarded. Did you check and compare the mail headers of archived and rejected ones?

iredmail avatar Nov 22 '23 10:11 iredmail

Hi, thank you for the answer,

well, my postfix sends only 1 mail (verified). First of all I thought it sends two mails due to 2 entries in the transport file, but this does not seem to be the case. In spiderd log files I do not have any further information:

This is one entry for your information:

2023-11-22 19:35:00 INFO [65.109.156.85] Enqueued: [email protected], To="[email protected]" <[email protected]>, MessageID=<[email protected]>, HUID=2509930842465021958, Size=3470, Duration=2ms 2023-11-22 19:35:00 DEBUG [65.109.156.85] OK (saved as 2509930842465021958). 2023-11-22 19:35:00 INFO [65.109.156.85] Discard (duplicate). 2023-11-22 19:35:02 DEBUG [RESTORE] Queue is empty. Sleep 10s. 2023-11-22 19:35:02 DEBUG [FTS] Queue is empty. Sleep 30s. 2023-11-22 19:35:02 DEBUG Pool|SMTP: Submitting: 2509930842465021958, Running: 32, Waiting: 0 2023-11-22 19:35:02 DEBUG [SMTP] Queue is empty. Sleep 10s. 2023-11-22 19:35:02 INFO Archived: 2509930842465021958. Message-ID=<[email protected]>, Size=3.5 kB, Saved=2.1 kB, Duration=9ms.

M-Stenzel avatar Nov 22 '23 17:11 M-Stenzel

Any related info in Postfix log file? I expect Postfix logs 2 messages or 2 smtp connections.

iredmail avatar Nov 24 '23 04:11 iredmail