Thank you everyone for your feedback/suggestions. We will try what Karsten is suggesting and post our results here so future viewers of this post can see if it works out.
Many thanks, Jason Fenton -----Original Message----- From: Karsten Bräckelmann [mailto:guent...@rudersport.de] Sent: Thursday, 16 July 2009 1:21 AM To: Fenton, Jason (interVations) Cc: users@spamassassin.apache.org Subject: Re: How to attach spam messages as HTML instead of TXT Please do SUBSCRIBE to a mailing-list before posting. You'll miss replies otherwise. http://markmail.org/thread/ijbolyz67uj4ijw5 On Mon, 2009-07-13 at 18:42 -0700, Fenton, Jason (interVations) wrote: > Is there a way to set SpamAssassin to save and attached the original > message as HTML instead of TXT which has been caught as spam in-case > it is a legitimate email? report_safe 1 # default anyway It appears your *custom* configuration sets report_safe 2. According to the docs [1], with that non-default setting, the "original messages will be attached with a content type of text/plain instead of message/rfc822" for security measures. See the docs [1] and your custom configuration. [1] http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html -- 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; }}}