Hi Martin, On Friday, October 19, 2012 03:04:44 AM Martin Gregorie wrote: > > 3. Speaking of Penis, I'm surprised there isn't already a rule > > > > looking for the word in subjects, let alone in combination with > > "Enlarge". > > Is this intentional? > > The rule: > > header RULENAME Subkect =~ /(penis|pharmacy|med.{0,1}s)/i > > should match virtually all your subjects and, unless you're a pharmacist > or medical doctor, you're most unlikely to get much mail with subjects > that contain these strings.
Sadly, my ham corpus does contain many messages with "pharmacy" and "meds" in the subject. I'm not a pharmacist but for some reason people do seem to enjoy telling me about their medications. > > 4. I see there is already a rule for puctuation-obfuscated subjects; > > > > what about one for case-obfuscated subjects? > > It is not needed: just append 'i' to force a caseless match I meant something to specifically pick out words like phArmACy. > I'd use a meta rule that uses (3) above as one sub-rule and a RAW body > rule that matches a URL surrounded with whitespace as the other > sub-rule. If you're keen, consider add in UNPARSEABLE_RELAY and write > the metarule to fire if any two of the three subrules match. This seems like good advice, thanks. --Ian