X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Fpatches%2Fauth_in_received;h=b8f35834ad308de157e715d7be9f4fec9572917d;hb=bef116225aaf81fc42373a387d73e78eb5b6c3fb;hp=8ac1b0917994799dc4b37aad5e800f71a2fc0645;hpb=f01e810ec85d4b9927890c7541463bb6612a4cf8;p=deb_pkgs%2Fspamass-milter.git diff --git a/debian/patches/auth_in_received b/debian/patches/auth_in_received index 8ac1b09..b8f3583 100644 --- a/debian/patches/auth_in_received +++ b/debian/patches/auth_in_received @@ -1,8 +1,11 @@ -Index: spamass-milter/spamass-milter.cpp -=================================================================== ---- spamass-milter.orig/spamass-milter.cpp 2012-06-21 13:03:42.000000000 -0700 -+++ spamass-milter/spamass-milter.cpp 2012-06-21 14:02:32.000000000 -0700 -@@ -898,7 +898,8 @@ +Description: Include Auth information in the received line +Origin: https://www.linuxhacker.at/opensource-projects/spamass-milter +Bug: #627989 +Author: Herbert Straub, Knut Arne Bjørndal +Forwarded: no +--- a/spamass-milter.cpp ++++ b/spamass-milter.cpp +@@ -940,7 +940,8 @@ */ const char *macro_b, *macro_i, *macro_j, *macro_r, @@ -12,7 +15,7 @@ Index: spamass-milter/spamass-milter.cpp char date[32]; /* RFC 822 date. */ -@@ -935,7 +936,22 @@ +@@ -977,7 +978,22 @@ macro_r = "SMTP"; warnmacro("r", "ENVRCPT"); } @@ -36,7 +39,7 @@ Index: spamass-milter/spamass-milter.cpp /* Sendmail currently cannot pass us the {s} macro, but I do not know why. Leave this in for the day sendmail is fixed. Until that day, use the value remembered by -@@ -974,11 +990,22 @@ +@@ -1016,11 +1032,22 @@ assassin->output((string)"X-Envelope-From: "+assassin->from()+"\r\n"); assassin->output((string)"X-Envelope-To: "+envrcpt[0]+"\r\n"); @@ -52,11 +55,11 @@ Index: spamass-milter/spamass-milter.cpp + } + rec_header+=(string)")\r\n\t"; + } -+ rec_header+=(string)"by "+macro_j+"("+macro_v+"/"+macro_Z+") with "+ ++ rec_header+=(string)"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"); -+ "(envelope-from "+assassin->from()+"\r\n"; ++ "(envelope-from "+assassin->from()+");\r\n"; + + debug(D_SPAMC, "Received header for spamc: %s", rec_header.c_str()); + assassin->output(rec_header);