Comment 83 for bug 119899

Revision history for this message
In , Kasko (kasko) wrote :

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Version 2.0.0.16 (20080708)

Hi,
I'm trying to filter my incomming messages in dependence of the content of an additional email-header "X-Content-Descr". I've go on like described in http://kb.mozillazine.org/Message_Filters#Account_specific_filters , but the rules simply whant to "run"
I've created a new rule, registrade a new special-filter "X-Content-Descr" an add a rule
"X-Content-Descr" content "INFO" => mark as read an add Tag "ISSI-INFO"

Reproducible: Always

Steps to Reproduce:
1. Create a tag "ISSI-INFO"

2. Add a special header, prefs.js should then contain:
 user_pref("mailnews.customHeaders", "X-Content-Descr");

3. Create the rule:
 RootFolderUri=imap://<email address hidden>
 version="8"
 logging="yes"
 name="test_header"
 enabled="yes"
 type="1"
 action="Mark read"
 action="AddTag"
 actionValue="issi-infos"
 condition="OR (\"X-Content-Descr\",contains,INFO)"

4. send/receive an Email with the additional header
5. run "filter"
Actual Results:
Nothing happens.
I've turned the log on and aplied the rule, but nothing happens, there is also nothing in the log.

Expected Results:
The email with the additional header should been marked as read and should also have an Tag "ISSI-INFO"

An Example-Email can be found on http://pastebin.mozilla.org/504808

The Email-Account is an IMAP-Account, but so far I read this should only be a problem if I whant to filter in dependence of the body-content.

I've other "normal" rules, they all run correctly.

Problem was also reported in http://forums.mozillazine.org/viewtopic.php?f=30&t=774115

Thanks for your Help,

Kasko