On Wed, 2010-07-21 at 12:25 -0400, Adam Moffett wrote:
> I've seen people post in the past that SA will demime text attachments, 
> and now someone says it won't.

Ted was answering a question about binary attachments, not text.

> What's the real story?

It depends. On the rule definition, as explained in the M::SA::Conf
docs.

'body' rules are applied against the textual parts [1], decoded from
Quoted Printable or Base 64 if necessary, rendered and normalized.

'rawbody' is like the above, but without rendering and normalization.
That means, HTML tags and whitespace is preserved as-is.

'full' rules are applied against the raw, pristine, verbatim original
message, as fed to SA.


[1] Textual parts depends on the MIME type, not content.

-- 
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