<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I thought you wanted a combined rule. Make both separate rules with
separate names, then. KISS<br>
<br>
steve<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<o:p></o:p></p>
<p class="MsoNormal">Score
junksubject1 20.0<o:p></o:p></p>
<p class="MsoNormal">Describe
junksubject1 blocked subject lines<o:p></o:p></p>
Score
junksubject2 20.0<o:p></o:p>
<p class="MsoNormal">Describe
junksubject2 blocked subject lines<o:p></o:p></p>
<br>
On 6/29/2010 5:53 PM, Steven Andrews wrote:
<blockquote
cite="mid:F91088CB5AB4A248B91422AAD82A223728F255845F@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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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"><span style="color: rgb(31, 73, 125);">Hmmmm....actually,
wont the
&& test for both to be true? I think I need some kind of OR
statement, or would a + do?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>
[<a class="moz-txt-link-freetext" href="mailto:mailscanner-bounces@lists.mailscanner.info">mailto:mailscanner-bounces@lists.mailscanner.info</a>] <b>On Behalf Of </b>Steve
Campbell<br>
<b>Sent:</b> Tuesday, June 29, 2010 9:59 AM<br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> Re: OT: SA rule to catch multiple subject lines<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><br>
<br>
On 6/29/2010 9:32 AM, Steven Andrews wrote: <o:p></o:p></p>
<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<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"><br>
Try something like this:<o:p></o:p></span></p>
<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>
<br>
<o:p></o:p></p>
<p class="MsoNormal">meta
junksubject (__junksubject1 && __junksubject2)<br>
Score
junksubject 20.0<o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">Describe
junksubject
blocked subject lines<br>
<br>
Steve Campbell<o:p></o:p></span></p>
</div>
</blockquote>
</body>
</html>