On Tue, 2010-04-27 at 16:35 +0000, Christian Gregoire wrote:
> Using SA v3.3.1 spamc command-line client : the message analyzed being
> either spam or ham, can I have the message left untouched except for
> the X-Spam headers ?

> When a spam, since the message is rewritten, my X-Custom headers are
> removed, which breaks the rest of the processing of the message in my
> MTA.

SA does not remove headers. Even less so spamc. :)

I guess you're only looking at the wrapper mail for spam. All your
original, untouched headers are in the attached message. This behavior,
wrapping classified spam, is a configuration option. For SA, not spamc.


#   Save spam messages as a message/rfc822 MIME attachment instead of
#   modifying the original message (0: off, 2: use text/plain instead)
# report_safe 1

I believe  report_safe 0  in local.cf is what you want.

  guenther

-- 
char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to