If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

no apparent way to turn off "Mozilla thinks this message is junk mail" panel



MailNews: Message Display
15 years ago
9 years ago


(Reporter: Calum Mackay, Unassigned)


Firefox Tracking Flags

(Not tracked)




15 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030421
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030421

I do not have "Enable junk mail controls" set on the Tools menu, yet mozilla
stills warns me "Mozilla thinks this message is junk mail" for various emails in
various folders, on the panel in between the mail headers window and the current
message header window.

I can't see any way of disabling this warning, and it's taking up useful space.
I could of course mark the message as non-junk, but I don't really want to use
mozilla's junk mail filter at all. My SPAM detection is done before mail is
delivered to my INBOX, so I don't need another level of protection once it is there.

I'm using the 3-pane window, with various IMAP accounts. I see talk of disabling
junk controls on a per-account basis, but I see no way of controlling such a

Reproducible: Always

Steps to Reproduce:

Comment 1

15 years ago
I do of course see the per-account control under the Tools menu, but it is
disabled for the account I'm seeing the messages in. It was enabled for some
other accounts though (which I've just disabled).

Comment 2

14 years ago
Dupe of bug 194795?
Summary: no apparent way to turn off "Mozilla thinks this message is junk mail" warning → no apparent way to turn off "Mozilla thinks this message is junk mail" panel

Comment 3

14 years ago
I'd vote against it being a dupe of bug 194795. They're arguing for making the
junk mail system less wasteful of space.

I think Calum Mackay is looking for the same thing that led me to this bug - a
way to completely remove this "feature" from Mozilla. I use SpamAssasin +
rblsmptd and recieve very little junk mail as is, so I don't want to rely on
anything client-side for spamfiltering.

I appreciate the developers looking out for other end-users, but this feature
just isn't needed in my case.

Thanks very much for considering the development of a way to disable this

Comment 4

14 years ago
For Mozilla 1.5 -

Locate messenger.jar - a standard .zip file, so you'll either need to
edit-in-place or extract and recreate it.

(Windows users: C:\Program Files\mozilla.org\Mozilla\chrome)

Look inside content\messenger for mailWindowOverlay.xul.

Remove the following chunk (lines 1754-1764):
<hbox id="junkBar" collapsed="true">
  <hbox align="center">
    <image id="junkBarImage"/>
  <hbox align="center">
    <label id="junkBarMessage" value="&junkBarMessage.label;"/>
  <spacer flex="1"/>
  <button label="&junkInfoButton.label;" oncommand="MsgJunkMailInfo(false)" />
  <button label="&notJunkButton.label;" oncommand="JunkSelectedMessages(false)" />

Re-create and replace messenger.jar and you're all set.

It's ugly, doesn't seem to kill anything, and appears to work properly.

Comment 5

14 years ago
A messenger.jar from Mozilla 1.5 with modified mailWindowOverlay.xul (removed
lines 1754-1764) can be downloaded here:

Rename to .jar from .jar.zip and place in:

C:\Program Files\mozilla.org\Mozilla\chrome.

Comment 6

14 years ago
See also bug 213758, which complains that Junk filtering just can't be turned 

Comment 7

14 years ago
Even better solution:


Add this to userChrome.css:

#junkBar { display: none; }

This seems to work for me.

Comment 8

14 years ago
*** Bug 238691 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey

Comment 9

13 years ago
*** Bug 284857 has been marked as a duplicate of this bug. ***


13 years ago
Assignee: sspitzer → mail

Comment 10

12 years ago
*** Bug 316953 has been marked as a duplicate of this bug. ***

Comment 11

12 years ago
SeaMonkey (I am currently using Build 2006012610) has now taken, not only to warning me that it thinks some messages are junk, but to actually filtering out content (images, I think) from perfectly innocuous messages. My junk controls are not checked and I have no filters specified. I am on an eMac G4, OS 10.3.9. 

Comment 12

12 years ago
If this bug is about wanting to disable junk mail controls completely, then I think it is a dupe of bug 213758.

Comment 13

12 years ago
I see suggestions for stopping this happening date from about 2003. Will they work in current builds? If not, can any kind person suggest something else? Now that SeaMonkey is filtering out content it is driving me up the wall.

Comment 14

12 years ago
Further to my comment #13: I cannot see how to apply any of the suggestions (Comments ##4, 5, 6), presumably because my computer is a Mac (OS 10.3.9). None of the relevant files and folders seem to exist in my set-up. I downloaded a compressed file from http://arcade.ragweed.net/messenger.jar.zip (see Comment #5); when expanded, it consisted of a folder containing sub-folders, each with files in them. I renamed it messenger.jar and put it into the chrome folder, but it had no effect.
Assignee: mail → nobody
QA Contact: esther → message-display
You need to log in before you can comment on or make changes to this bug.