mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-02 23:34:21 +00:00
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:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user