Can't you also use mime-defang to convert the html to text? Wouldn't a better solution be to add the X-Spam-Status: Yes header, but not rewrite the mail as plain text?
Nice little procmail script, steadily learning how to do things with procmail, thanks! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LuKreme Sent: Saturday, March 01, 2003 6:21 AM To: [EMAIL PROTECTED] Subject: [SAtalk] Re: How can I block/reject HTML-only mails ??? On Saturday, Mar 1, 2003, at 05:05 Canada/Mountain, Meino Christian Cramer wrote: > ...I got dozens spams with html-only content. I use procmail to block these: :0f * ^Content-Type(.*/<)htm |formail -i "Content-Type: text/plain" -i "X-Spam-Status: Yes, HTML_NO_ALT" This moves the original content-type header to old-content-type, rewrites it as text/plain (defanging the HTML) and marks it as spam. It is then dealt with with the rest of my spam. -- MEGAHAL: within my penguin lies a torrid story of hate and love. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk