Bug 7910 - Incorrect Thread-index in zimbra formed messages
Summary: Incorrect Thread-index in zimbra formed messages
Status: RESOLVED INVALID
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (show other bugs)
Version: 3.4.6
Hardware: PC Windows NT
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-20 11:10 UTC by informatique
Modified: 2023-01-18 23:40 UTC (History)
3 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description informatique 2021-05-20 11:10:34 UTC
Hello, 

Our sended mails trigger the PDS_BAD_THREAD_QP_64 rule. 
It seems that the header Thread-Index is malformed.

As far I know, the rule is correct for exchange servers sending messages. But it seems that zimbra is using the header in an other way.

The current definition in 72_active.cf is : 
header __THREAD_INDEX_GOOD  Thread-Index =~ m,^A[a-z0-9][A-Za-z0-9+/]{27}(?:[A-Za-z0-9+/]{20})?(?:[AQgw]==|[A-Za-z0-9+/]{7}|[A-Za-z0-9+/]{13}[AEIMQUYcgkosw048]=)$,


Here is an example header our server is generating :
Thread-Index: TBTkM9019y9w+zdGmptIaSuZKsAA7g==

I can find such "malformed" headers in official zimbra documentation, so I presume it is not due to a bad configuration.

Thank you for checking.
Comment 1 SysNet Team 2023-01-18 09:24:14 UTC
Hello,

We have the similar issue with our Zimbra mail server. We already contacted the support and they said to us that the issue was related here. No issue on Zimbra side.

Our sent mails still trigger the PDS_BAD_THREAD_QP_64 rule. The header is still malformed. We tested our mails with the tool called mail-tester : https://www.mail-tester.com/

All of us mails trigger this rule and we lost rate because of it. As the bug is open since almost 2 years now, do you have some updates / advice for us ?

Thank you.
Comment 2 Bill Cole 2023-01-18 15:02:55 UTC
PDS_BAD_THREAD_QP_64 is not in the current SpamAssassin ruleset. 

mail-tester.com is not part of the ASF SpamAssassin project and they are known to be using an obsolete version with rules and scores that do not match the current SA default ruleset. 

Take any problems they claim to exist in your mail to them. We cannot answer for their failure to provide accurate results.
Comment 3 Benny Pedersen 2023-01-18 23:40:44 UTC
remember to get support one need to use sa-update, no support if this is not runned in cron installation of zimbra precompiled problems

same goes for mail-tester