Closed Bug 144036 Opened 23 years ago Closed 15 years ago

Mail filters searching html tags unreliable

Categories

(MailNews Core :: Filters, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: wam2, Unassigned)

References

Details

(Whiteboard: closeme 2010-02-25)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510 BuildID: 2002051006 I download messages from POP3 server that should be filtered based on keywords in html tags in their body, yet they arrive unfiltered in my inbox. If I forward the messages to myself, they are filtered correctly. Hard to reproduce, apparently messages have to come directly from the spamer. I believe messages that are not filtered are primarily those with filter keywords in the html tags in the body, such as "/remove.htm" or ">Click here". It looks like a possible html parsing issue. Messages filtered based on the header fields (to, from, subject, received) seem to be always handled correctly. The following is an example message that did not get filtered when received from the spamer, but it is filtered when I forward it to myself. I have a filter looking for "<!--wam-->", "<!---->", and "/remove.php" in the message body. From - Sun May 12 18:47:11 2002 X-UIDL: a6B"!2*S!!8d9!!@*Y!! X-Mozilla-Status: 1005 X-Mozilla-Status2: 00000000 Return-Path: <mendabar@Flashmail.com> Received: from musicman.rodysmusic.com ([216.176.225.201]) by dieselnet.com (8.11.0/8.11.0) with ESMTP id g4CMXj320184 for <wam@dieselnet.com>; Sun, 12 May 2002 22:33:45 GMT (envelope-from mendabar@Flashmail.com) Message-Id: <200205122233.g4CMXj320184@dieselnet.com> Received: from smtp0432.mail.yahoo.com (61.153.9.25 [61.153.9.25]) by musicman.rodysmusic.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id KHATZ8FF; Sun, 12 May 2002 18:37:25 -0400 Date: Mon, 13 May 2002 06:36:24 +0800 From: "Carmelita Canoza"<mendabar@Flashmail.com> X-Priority: 3 To: wam@dataflight.com CC: wam@decc.com, wam@defnet.com, wam@dial.oleane.com, wam@dieselnet.com Subject: wam,FREE 4 Week Sample of HGH ! Mime-Version: 1.0 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit X-UIDL: a6B"!2*S!!8d9!!@*Y!! <html><body bgColor="#CCCCCC" topmargin=1 onMouseOver="window.status=''; return true" oncontextmenu="return false" ondragstart="return false" onselectstart="return false"> <div align="center">Hello, wam@dataflight.com<BR><BR></div><div align="center"></div><p align="center"><b><font face="Arial" size="4">Human Growth Hormone Therapy</font></b></p> <p align="center"><b><font face="Arial" size="4">Lose weight while building lean muscle mass<br>and reversing the ravages of aging all at once.</font><font face="Arial" size="3"><br> </font></b><font face="Arial" size="3"> <br>Remarkable discoveries about Human Growth Hormones (<b>HGH</b>) <br>are changing the way we think about aging and weight loss.</font></p> <center><table width="481"><tr><td height="2" width="247"><p align="left"><b><font face="Arial, Helvetica, sans-serif" size="3">Lose Weight<br>Build Muscle Tone<br>Reverse Aging<br> Increased Libido<br>Duration Of Penile Erection<br></font></b></p></td><td height="2" width="222"><p align="left"><b><font face="Arial, Helvetica, sans-serif" size="3">Healthier Bones<br> Improved Memory<br>Improved skin<br>New Hair Growth<br>Wrinkle Disappearance </font></b></p></td></table></center><p align="center"><a href="http://211.99.203.6:81/hgh/"><font face="Arial" size="4"><b>Visit Our Web Site and Learn The Facts: Click Here</b></font></a></p><div align="center"><br><br><br><BR>You are receiving this email as a subscr<!--wam-->iber<br>to the Opt<!---->-In Ameri<!---->ca Mailin<!---->g Lis<!---->t. <br> To remo<!--wam-->ve your<!---->self from all related mailli<!--me-->sts,<br>just <a href="http://211.99.203.6:81/hgh/remove.php?userid=wam@dataflight.com">Click Here</a></div></body></html>
*** Bug 158944 has been marked as a duplicate of this bug. ***
resolving as new. This doesn't work. Testing on current CVS, Linux. I just got a mail with html tags. Some of the text matched a filter criteria, but filter wasn't applied. (should have sent mail to trash)
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
mass re-assign.
Assignee: naving → sspitzer
Product: MailNews → Core
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Filter on "Nobody_NScomTLD_20080620"
QA Contact: laurel → filters
Product: Core → MailNews Core
anyone still see this?
Whiteboard: closeme 2010-02-25
RESOLVED INCOMPLETE due to lack of response to last question. If you feel this change was made in error, please respond with your reasons why.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.