Package: spamass-milter
Version: 0.3.1
Severity: normal
Tags: patch

The code in spamass-milter.cpp which tries to create a
Sendmail-compatible header is broken and generates an header which is
incorrectly parsed by spamassassin. Pseudo-patch:

-                       "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");
+                       "(envelope-from "+assassin->from()+")\r\n");

(Only the first change is actually needed, but I see no reason to not
fix both issues.)


I also suggest that in the next upload you document that Postfix users
need to configure this in main.cf:

milter_connect_macros = j {daemon_name} v {if_name} _

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature

Reply via email to