]> git.pld-linux.org Git - packages/spamass-milter.git/blob - spamass-milter-rcvd.patch
- updated to 0.4.0, note: some options from patches are now merged but
[packages/spamass-milter.git] / spamass-milter-rcvd.patch
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.
4
5 This is mostly fixed now apart from the space that needs
6 adding prior to the "(" between macro_j and macro_v.
7
8 https://savannah.nongnu.org/bugs/index.php?17178
9 http://bugs.debian.org/510665
10 http://bugzilla.redhat.com/496763
11
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
16  
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"+
21                         macro_b+"\r\n\t"+
22                         "(envelope-from "+assassin->from()+")\r\n");
23  
This page took 0.035408 seconds and 3 git commands to generate.