<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
On 6/29/2010 9:32 AM, Steven Andrews wrote:
<blockquote
cite="mid:F91088CB5AB4A248B91422AAD82A223728F2558443@SERVER.andrewscompanies.com"
type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">I’m probably doing this the hard way. I have a
client that likes to block by subject lines. So far, I’ve been
writing a new rule for each subject line they want to block or putting
a “|”
in the match for multiple subjects. I found out that there’s a
limit to how many times you can use that before the rule doesn’t fire
anymore...probably on the length of the line.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’d like to find a better way to write the rule,
something along the lines:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Header junksubject
Subject
=~ /junk subject 1/i<o:p></o:p></p>
<p class="MsoNormal">Header junksubject
Subject
=~ /junk subject 2/i<o:p></o:p></p>
<p class="MsoNormal">Score junksubject 20.0<o:p></o:p></p>
<p class="MsoNormal">Describe junksubject blocked
subject lines<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Although writing the rule this way doesn’t seem
to
work...it catches nothing.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Should I be making this more like a meta rule or
is there a
smarter way to do it?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for any direction you can provide.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Steve</p>
</div>
</blockquote>
<br>
Try something like this:<br>
<br>
<p class="MsoNormal">Header __ junksubject1
Subject
=~ /junk subject 1/i<o:p></o:p></p>
<p class="MsoNormal">Header __ junksubject2
Subject
=~ /junk subject 2/i<br>
<o:p></o:p></p>
<p class="MsoNormal">meta junksubject
(__junksubject1 && __junksubject2)<br>
Score junksubject 20.0<o:p></o:p></p>
Describe junksubject blocked
subject lines<br>
<br>
Steve Campbell<br>
</body>
</html>