[Scspamcop] Re: "This email contains no date"?

Steve Watt steve.removethis at Watt.COM
Tue Apr 8 01:13:06 EDT 2008


[ Top posting repaired ]

In article <fn0cli$p5u$1 at news.spamcop.net>, rg <rg at nospam.please> wrote:
>"Steve Watt" <steve.removethis at Watt.COM> wrote in message 
>news:fm9pdh$uc9$1 at news.spamcop.net...
>> That's actually my server.  The responsible bit of code is in the
>> spamassassin milter; it generates a fake Received: line when it's
>> tagging something as spam.  Stuff that leaks through the spam filters
>> shows up with a correct Received: line, but stuff that gets tagged
>> (but doesn't stink enough to drop at SMTP time) gets the fake one.
>>
>> All better, simple patch.
>
>What's the patch?
>

Shows how often I read spamcop...


--- spamass-milter.cpp.orig	Wed Oct 18 21:33:27 2006
+++ spamass-milter.cpp	Fri Jan 11 23:12:11 2008
@@ -1002,7 +1002,7 @@
 
 		assassin->output((string)
 			"Received: from "+macro_s+" ("+macro__+")\r\n\t"+
-			"by "+macro_j+"("+macro_v+"/"+macro_Z+") with "+macro_r+" id "+macro_i+"\r\n\t"+
+			"by "+macro_j+" ("+macro_v+"/"+macro_Z+") with "+macro_r+" id "+macro_i+";\r\n\t"+
 			macro_b+"\r\n\t"+
 			"(envelope-from "+assassin->from()+"\r\n");
 
-- 
Steve Watt KD6GGD  PP-ASEL-IA          ICBM: 121W 56' 57.5" / 37N 20' 15.3"
 Internet: steve @ Watt.COM                      Whois: SW32-ARIN
   Free time?  There's no such thing.  It just comes in varying prices...


More information about the SCspamcop mailing list