On Tuesday 20 November 2007 17:59:39 Theo Van Dinter wrote:
> Well, yes and no.  "-d" only removed 1 level of encapsulation.  If you have
> a multiply-encapsulated message, you need to run the unencapsulator
> multiple times. :)
>
> As far as your markup versus their markup ...  It generally shouldn't
> matter, especially for report_safe, whereby as long as the message looks
> appropriate, the original message is wripped out of the MIME part and the
> markup in the headers/etc are ignored..

That's what i tried.  http://nopaste.com/p/apfnviQKX is the mail i tested 
with, it's encapsulated twice.

[EMAIL PROTECTED]:~/tmp> spamassassin -d < spammail > removed_once              
              
[EMAIL PROTECTED]:~/tmp> curl -F [EMAIL PROTECTED] nopaste.com/a             
http://nopaste.com/p/a22grbeYo

That's the result after one run of spamassassin -d ... one level has been 
removed, all right.

[EMAIL PROTECTED]:~/tmp> spamassassin -d < removed_once > removed_twice
[EMAIL PROTECTED]:~/tmp> curl -F [EMAIL PROTECTED] nopaste.com/a          
http://nopaste.com/p/ab7CeZEp1
[EMAIL PROTECTED]:~/tmp> diff -u removed_once removed_twice 
--- removed_once        2007-11-20 17:14:09.000000000 +0000
+++ removed_twice       2007-11-20 17:15:50.000000000 +0000
@@ -63,7 +63,6 @@
        URIBL_OB_SURBL 3.01, URIBL_SC_SURBL 4.50, URIBL_WS_SURBL 2.14)
 X-TUD-IAP-MailScanner-SpamScore: sssssssssssssssssssssssss
 X-TUD-IAP-MailScanner-To: [EMAIL PROTECTED]
-X-Spam-Status: Yes
 
 This is a multi-part message in MIME format...
 
All it did was remove the X-Spam-Status header, not the encapsulation.
Am I doing something wrong?

Regards,
Stefan

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to