Closed Bug 368156 Opened 18 years ago Closed 13 years ago

Error message, can not read msgFilterRules.dat, rulesBackup.dat has been created

Categories

(MailNews Core :: Filters, defect)

1.8 Branch
x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 450424

People

(Reporter: wilcox69, Unassigned)

Details

(Keywords: dataloss)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Build Identifier: 1.5.0.9

After creating a filter to "auto-reply", upon restarting Thunderbird the following message appears:

"Your filters do not work because the msgfilterrules.dat file, which contains your filters, could not be read. A new msgfilterrules.dat has been created and a backup of the old file, called rulesbackup.dat, will be created in the same directory."

Fix: Manually edit MsgFilterRules.dat by combing a split line into a continuous line.

Original MsgFilterRules.dat:

version="8"
logging="yes"
name="AutoReplyEbayDrive"
enabled="yes"
type="1"
action="Reply"
actionValue="mailbox://wilcox69@mail.comcast.net/Templates?messageId=45B839C6.9020006@comcast.net&subject=Thank you for your Ebay purchase! Here is a little info to get you
 started with you new drive"
condition="AND (subject,contains,Notification of an Instant Payment) AND (subject,doesn't contain,Re:) AND (body,contains,Kreo)"

Fixed MsgFilterRules.dat
version="8"
logging="yes"
name="AutoReplyEbayDrive"
enabled="yes"
type="1"
action="Reply"
actionValue="mailbox://wilcox69@mail.comcast.net/Templates?messageId=45B839C6.9020006@comcast.net&subject=Thank you for your Ebay purchase! Here is a little info to get you started with you new drive"
condition="AND (subject,contains,Notification of an Instant Payment) AND (subject,doesn't contain,Re:) AND (body,contains,Kreon)"


Reproducible: Always

Steps to Reproduce:
1.Create a template with a length title
2.Create an auto reply with the template
3.Close and open T-Bird
Actual Results:  
ERROR:
"Your filters do not work because the msgfilterrules.dat file, which contains your filters, could not be read. A new msgfilterrules.dat has been created and a backup of the old file, called rulesbackup.dat, will be created in the same directory."

Expected Results:  
Explained above

Seems like a simple fix
I created a filter witch matches subject=Thank
you for your Ebay purchase! Here is a little info to get you
 started with you new drive

No problem after restart on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2pre) Gecko/20070126 Thunderbird/2.0pre ID:2007012603

Can you try beta 2?
<http://www.mozilla.com/en-US/thunderbird/releases/2.0b2.html>
Assignee: mscott → nobody
if anyone still see this problem using a current version please comment with your version number and steps to reproduce.

if you no longer see the problem, please cite your version and close the bug or comment
Whiteboard: closeme 2008-10-21
I have the same problem

here : http://forums.mozillazine.org/viewtopic.php?f=39&t=906785&p=4755545#p4755545

Thanks
Excuse my language. I'm from Canary Islands
Whiteboard: closeme 2008-10-21 → qawanted
  Jose Domingo in comment #3
> I have the same problem

optimistically assuming that was with version 2.
Component: General → Filters
Product: Thunderbird → MailNews Core
QA Contact: general → filters
Whiteboard: qawanted
Version: unspecified → 1.8 Branch
likely duplicate of bug 450424 or related bugs from the TB 1.8 branch era.

unless you still see this problem
Severity: normal → critical
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Keywords: dataloss
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.