Re: [Mimedefang] got my mojo working

2004-02-23 Thread Dave Helton
On Mon, 2004-02-23 at 14:18, Brent J. Nordquist wrote: > Some more thoughts: > > On Mon, 23 Feb 2004, Dave Helton <[EMAIL PROTECTED]> wrote: > > > if ($line =~ /[Mm][Ee][Dd][Ss]/) {$subscore += 6}; > > if ($line =~ /[Pp][Ii][Ll][Ll][Ss]/) {$subscore += 6}; > > $line =~ s/@

Re: [Mimedefang] got my mojo working

2004-02-23 Thread Brent J. Nordquist
Some more thoughts: On Mon, 23 Feb 2004, Dave Helton <[EMAIL PROTECTED]> wrote: > if ($line =~ /[Mm][Ee][Dd][Ss]/) {$subscore += 6}; > if ($line =~ /[Pp][Ii][Ll][Ll][Ss]/) {$subscore += 6}; > $line =~ s/@/a/g; > $line =~ s/1/i/g; Also 6 for g, | and ! for i, and

Getting the message subject is easy! (was Re: [Mimedefang] got my mojo working)

2004-02-23 Thread David F. Skoll
On Mon, 23 Feb 2004, Dave Helton wrote: >if (open (INF, "./HEADERS")) { ... > if ($line =~ /^Subject:/) { Remember, the global variable $Subject already holds the message subject! No need to parse ./HEADERS. The rest of the code looks cool, though. Regards, David.

[Mimedefang] got my mojo working

2004-02-23 Thread Dave Helton
Hi, I've had the same problems not being able to filter Xanax, Valium, and other drug obfuscations. And this junk is getting a little long in the tooth. I've had the following code running for the last couple days. It's stable and has caught a few more bad emails than I expected. I wou