1 The code in spamass-milter.cpp that tries to create a
2 Sendmail-compatible header was broken and generated a header
3 that was incorrectly parsed by SpamAssassin.
5 This is mostly fixed now apart from the space that needs
6 adding prior to the "(" between macro_j and macro_v.
8 https://savannah.nongnu.org/bugs/index.php?17178
9 http://bugs.debian.org/510665
10 http://bugzilla.redhat.com/496763
12 diff -urNpa spamass-milter-0.4.0.orig/spamass-milter.cpp spamass-milter-0.4.0/spamass-milter.cpp
13 --- spamass-milter-0.4.0.orig/spamass-milter.cpp 2014-09-11 00:38:00.000000000 +0000
14 +++ spamass-milter-0.4.0/spamass-milter.cpp 2019-01-11 21:07:24.916000000 +0000
15 @@ -996,7 +996,7 @@ mlfi_envrcpt(SMFICTX* ctx, char** envrcp
17 assassin->output((string)
18 "Received: from "+macro_s+" ("+macro__+")\r\n\t"+
19 - "by "+macro_j+"("+macro_v+"/"+macro_Z+") with "+macro_r+" id "+macro_i+";\r\n\t"+
20 + "by "+macro_j+" ("+macro_v+"/"+macro_Z+") with "+macro_r+" id "+macro_i+";\r\n\t"+
22 "(envelope-from "+assassin->from()+")\r\n");