Skip to content

Commit

Permalink
fix(mail): modify the message-id to not start by <XX- that trigger a …
Browse files Browse the repository at this point in the history
  • Loading branch information
QHivert committed Oct 14, 2024
1 parent 04a9a87 commit 1d8ee80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SoObjects/SOGo/SOGoObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ + (NSString *) globallyUniqueObjectId
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];

Expand Down

0 comments on commit 1d8ee80

Please sign in to comment.