[EMAIL PROTECTED] <[EMAIL PROTECTED]> [2002-11-08 16:56:06 -0800]: > > I'm currently running SpamAssassin 2.43 + Razor 2.20 + Postfix 1.1.11 and > having some issues regarding base64 encoded mail. SA doesn't seem to be > handling this mail properly as it is leaving the message body in an encoded > format. Any ideas? I have included a sample message at the foot of this e-mail.
But it does seem to be handling it. > Mime-Version: 1.0 > Content-Type: text/html It is an html message. > Content-Transfer-Encoding: base64 It is base64 encoded. > Message-Id: <[EMAIL PROTECTED]> > X-Spam-Status: Yes, hits=17.5 required=8.0 > tests=AS_SEEN_ON,BASE64_ENC_TEXT,CLICK_BELOW,CLICK_BELOW_CAPS, > CLICK_HERE_CAPS_LINK,CLICK_HERE_LINK,CTYPE_JUST_HTML,DIET, > FOR_FREE,HAIR_LOSS,HGH,HIDE_WIN_STATUS, > HTML_COMMENT_UNIQUE_ID,HTML_WITH_BGCOLOR,JAVASCRIPT_UNSAFE, > OBFUSCATING_COMMENT,OPT_IN,REVERSE_AGING,SPAM_PHRASE_05_08 > version=2.43 Spamassassin obviously decoded the message fine or it would not have been able to deduce any of the above spam signs. If SA had not been able to handle this message then it would not have seen this. Therefore it is decoding it. Why do you think SA is not handling base64 encode mail? I will guess that you would like to translate the message. That is not precisely a good job for SA. My I suggest procmail? If you would like to decode the base64 encoding then you can do so with procmail as an explicit step. Here is a personal rule that I use and works for me. As you can see I also translate those annoying Windows-1252 and other such fonts too since I am in the area. :0 * ^Content-Type: *text/(plain|html) { :0 fbw * ^Content-Transfer-Encoding: *quoted-printable | mimencode -u -q :0 Afhw | formail -i "Content-Transfer-Encoding: 8bit" :0 fbw * ^Content-Transfer-Encoding: *base64 | mimencode -u -b :0 Afhw | formail -i "Content-Transfer-Encoding: 8bit" :0 fhw * charset=.?Windows- | formail -i "Content-Type: text/plain; charset=iso-8859-1" :0 fhw * charset=X-UNKNOWN | formail -i "Content-Type: text/plain; charset=iso-8859-1" } Bob
msg10065/pgp00000.pgp
Description: PGP signature