Re: HTML format email
Hello Subba! On Sat, 04 Nov 2000, Subba Rao wrote: Most of the spam mail that is in HTML format. When such mail comes in I would like to highlight such mail or have some type of marker on the message, so that I can develop an effective procmail receipe. I was testing my NT system and the Outlook express made a local copy of the email. There is lot of spam (adult type) in html format. Is there anyway mutt can identify content format of the email? On Linux/Unix the following rule in .procmailrc will do this job: --- cut here --- ## Recipe by Eli the Bearded [EMAIL PROTECTED] [970821] ## "This has the benefit of killing only stuff with a lot of markup, so ## clean HTML can slip through as well as small samples of HTML code." ## Note: Usenet-II forbids MIME attachments and HTML! ## Allow up to 20 (selected) HTML tags in the body HTMLMax = 20 :0 B * $ -$HTMLMax^0 * * 1^1 ()/?(html|ul|ol|dl|dd|dt|li|br|p|pre|font|h[123456]|table|tr|td) { LOG = "too much HTML encoded text -- " :0: IN.junk } - cut here -- -- Wilhelm Wienemann __ / /__ _ _ _ _ __ __ (° (o- / /__ / / / \// //_// \ \/ / -°) -°) //\ //\ // /_/ /_/\/ /___/ /_/\_\ /\\ /\\ V_/_ v_/_ # Enjoy Linux and the Power of Open Source # _\_V _\_V
Re: HTML format email
Hello mutt-users! On Sun, 05 Nov 2000, Wilhelm Wienemann wrote: Hello Subba! On Sat, 04 Nov 2000, Subba Rao wrote: Most of the spam mail that is in HTML format. When such mail comes in I would like to highlight such mail or have some type of marker on the message, so that I can develop an effective procmail receipe. I was testing my NT system and the Outlook express made a local copy of the email. There is lot of spam (adult type) in html format. Is there anyway mutt can identify content format of the email? On Linux/Unix the following rule in .procmailrc will do this job: --- cut here --- ## Recipe by Eli the Bearded [EMAIL PROTECTED] [970821] ## "This has the benefit of killing only stuff with a lot of markup, so ## clean HTML can slip through as well as small samples of HTML code." ## Note: Usenet-II forbids MIME attachments and HTML! ## Allow up to 20 (selected) HTML tags in the body HTMLMax = 20 :0 B * $ -$HTMLMax^0 * * 1^1 ()/?(html|ul|ol|dl|dd|dt|li|br|p|pre|font|h[123456]|table|tr|td) ^ Oops, delete this token (star). bye - Wilhelm -- Wilhelm Wienemann __ / /__ _ _ _ _ __ __ (° (o- / /__ / / / \// //_// \ \/ / -°) -°) //\ //\ // /_/ /_/\/ /___/ /_/\_\ /\\ /\\ V_/_ v_/_ # Enjoy Linux and the Power of Open Source # _\_V _\_V
HTML format email
Most of the spam mail that is in HTML format. When such mail comes in I would like to highlight such mail or have some type of marker on the message, so that I can develop an effective procmail receipe. I was testing my NT system and the Outlook express made a local copy of the email. There is lot of spam (adult type) in html format. Is there anyway mutt can identify content format of the email? TIA. -- Subba Rao [EMAIL PROTECTED] http://pws.prserv.net/truemax/
Re: HTML format email
Subba Rao proclaimed on mutt-users that: Most of the spam mail that is in HTML format. When such mail comes in I would like to highlight such mail or have some type of marker on the message, so that I can develop an effective procmail receipe. Filter on content-type multipart/alternative or text/html using procmail. http://www.spambouncer.org for more. +suresh -- Suresh Ramasubramanian + Wallopus Malletus Indigenensis mallet @ cluestick.org + Lumber Cartel of India, tinlcI QOTD: "It seems to me that your antenna doesn't bring in too many stations anymore."