fix(mail): modify the message-id to not start by <XX- that trigger a native spamassassin rule

https://github.com/apache/spamassassin/blob/ed9239e5d1f3d3607207e7557e81a41e18d24988/rulesrc/sandbox/felicity/70_other.cf#L267
This commit is contained in:
Hivert Quentin
2024-10-14 16:56:42 +02:00
parent 04a9a8773d
commit 1d8ee80c39
+2
View File
@@ -102,6 +102,8 @@
pid = getpid();
rndm = random();
}
if(pid<255)
pid+=255; //Because of a native spamassassin rule -> header TVD_RATWARE_MSGID_01 rule on message-id like '<XX-' are suspicious.(Message-ID =~ /<[a-z0-9]{2}-/)
sequence++;
f = [[NSDate date] timeIntervalSince1970];