McDonald, Dan skrev:
On Fri, 2008-02-22 at 10:19 +0100, Anders Norrbring wrote:
Anders Norrbring wrote:
That was it. I copy-pasted those rules from
/etc/mail/spamassassin/misc.cf on one of the servers I maintain;
they're just rules I've created to try to keep as much spam as possible
out of customers' inboxes.
It works fine, but I tried to make a addition to it, and for some reason it won't
"bite" on that..
I added this;
body NICE_GIRL_06 /Email me at [^\s]{,74} only, because I am using my friend\'s
email to write this\./
why are you trying to match up to 74 "beginning of bodies" (^) or
whitespaces (\s) between "at" and "only"? Perhaps you want \S{,74},
which would be up to 74 "non-whitespace" characters.
I just copied Kris' ruleset without thinking much of it. And my
interpretation of the regexp is "between 0 and 74 of non-whitespace
characters". Maybe I'm wrong, I'm in no way an ace with regexp..
Anders.