No filter logs are being recorded despite filters operating OK



4 years ago
4 years ago


(Reporter: dmp2, Unassigned)


24 Branch
Windows 7

Firefox Tracking Flags

(Not tracked)




4 years ago
User Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)

Steps to reproduce:

I originally had some trouble creating a slightly complex new filter and tried to consult the log file to see what was wrong; however that was completely blank.

This was in v17.0.8; I uninstalled it and reinstalled the latest version v24, but no change.

I'm using Windows 7 Home Premium SP1, 64-bit, with all my Thunderbird files stored on a NAS.  I'm using Global Inbox (Local Folders Account). 'Enable the filter log' is checked.

Actual results:

I've tested this with just one known message filter enabled; this filter works, but I get no entry in filterlog.html in Local Folders.

The msgFilterRules.dat file shows:

Expected results:

I should have entries in the log file

Comment 1

4 years ago
On which account did you set up the filters? On the source account (where the messages really arrive) or the target account (where they are copied to via the Global inbox feature) ? Can you paste a sample of the filter that is not being logged? You can censor real text values if necessary, we just need the rules and actions used.

Comment 2

4 years ago
All the filters are on "Local folders".

Is it possible to paste in a sample filter, rather than just copying the criteria?  Here's one:

Filter name: Newsletters (I use POPfile to categorise my incoming email, and this takes any email which POPfile decides is a newsletter and sticks it in a bespoke folder as soon as it arrives)

Apply filter when
x Manually Run
x Getting New Mail   [Filter before Junk Classification]
x Match all of the following
[X-Text-Classification] [is] [newsletters]

[Move Message to] [Newsletters on Local Folders]
[Stop Filter Execution]

(Let me know if there's a cleaner way of copying this!)

Comment 3

4 years ago
So you have enabled the filter log on the Local folders account? The log is also per account. So you need to have logging="yes" in the msgFilterRules.dat where the filter itself is also stored.

You can also copy the filter definition from the msgFilterRules.dat file. But the way you did it is also fine (even better as it already is decoded).

Comment 4

4 years ago
But as far as I understand it, my filters are already stored in the Local folders account?  

Notwithstanding that, I've just been in to the "Manage Message Filters" window in "Local Folders", where at the top there's a dropdown for "Filters for:" - this currently has "Local Folders" selected/displayed.  I've just changed that in turn to each of the 6 accounts I currently have there; for each one the area below, stating "Enabled filters are run automatically in the order shown below" (as expected, I think, as all my filters are under "Local Folders".  For what it's worth though, I did select "Enable the Filter Log" for each of those accounts.

I appreciate I might be misunderstanding something here, though...

Comment 5

4 years ago
Have you tried deleting filterlog.html?
Flags: needinfo?(dmp2)
Whiteboard: [closeme 2014-09-15]

Comment 6

4 years ago
Resolved per whiteboard
Last Resolved: 4 years ago
Flags: needinfo?(dmp2)
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2014-09-15]
You need to log in before you can comment on or make changes to this bug.