On 3/18/2010 6:41 AM, Ned Slider wrote:
> Julian Yap wrote:
>> I'm trying to consolidate some rules I have.
>>
>> I'm wondering if there's a way to see if multiple types of headers
>> exist.
>>
>> eg. Currently separate rules:
>> header CMN_LIST_1  exists:X-Campid
>> describe CMN_LIST_1  Mail comes from a common campaign list mailer
>> score CMN_LIST_1  0.5
>>
>> header CMN_LIST_2 exists:X-Campaign
>> ...
>>
>> header CMN_LIST_3 exists:X-CampaignID
>> ...
>>
>> Any way of combining them into an 'or'?
>>
>> - Julian
>>
>
> Yes, with a meta rule:
>
> meta    CMN_LIST    (CMN_LIST_1 || CMN_LIST_2 || CMN_LIST_3)
>

And if you want the original 3 rules to run with no score to them, drop
the score lines, and add a double-underscore to the front of the rule
name. ie: __CMN_LIST_1. This way you can assign all the score to the
main CMN_LIST rule.


Reply via email to