iredmail / iRedMail

Full-featured, open source mail server solution for mainstream Linux/BSD distributions.

Home Page:https://www.iredmail.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spider: Duplicate emails in the SMTP events

M-Stenzel opened this issue · comments

`

3 2023-11-21 21:46:12 65.109.156.85 Discarded 20231121194610.B8B496C0609@mail.xy-space.de Duplicate email  
4 2023-11-21 21:46:12 65.109.156.85 Accepted 20231121194610.B8B496C0609@mail.xy-space.de    
5 2023-11-21 21:46:08 65.109.156.85 Discarded 20231121194606.557D06C0609@mail.xy-space.de Duplicate email  
6 2023-11-21 21:46:08 65.109.156.85 Accepted 20231121194606.557D06C0609@mail.xy-space.de    
7 2023-11-21 21:45:09 65.109.156.85 Discarded 20231121194508.00A886C060A@mail.xy-space.de Duplicate email  
8 2023-11-21 21:45:09 65.109.156.85 Accepted 20231121194508.00A886C060A@mail.xy-space.de    
9 2023-11-21 21:45:08 65.109.156.85 Discarded 20231121194506.92EF66C0609@mail.xy-space.de Duplicate email  
10 2023-11-21 21:45:08 65.109.156.85 Accepted 20231121194506.92EF66C0609@mail.xy-space.de
`

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.

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?

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: From=redacted@bw-host.de, To="redacted@mail.xy-space.de" <redacted@mail.xy-space.de>, MessageID=<2108292133.1046519.1700674497873@email.df.eu>, 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=<2108292133.1046519.1700674497873@email.df.eu>, Size=3.5 kB, Saved=2.1 kB, Duration=9ms.

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