procmail
[Top] [All Lists]

Re: ?s about the "^^" regexp

1997-09-17 02:36:12
Simeon(_dot_)Nevel(_at_)Schwab(_dot_)COM writes on 16 September 1997 at 14:14:37
I had the following in my .procmailrc trying to trap
some spam.

#Body consists entirely of html code
:0B:
* $[   ]*<html>
spamtrap

I'm a little more selective
-----
# raw HTML
:0BH
* !^(Mime-Version|Content-Type):
* \<(body.*|html)\>
{
  SPAMCHECK_SPAM=yes
  :0fwh
  | formail -A "X-SpamCheck-Reason: HTML w/o MIME headers"
}
-----

   Dan
------------------- message is author's opinion only ------------------
J. Daniel Smith <DanS(_at_)bristol(_dot_)com>        
http://www.bristol.com/~DanS
Bristol Technology B.V.                   +31 33 450 50 50, ...51 (FAX)
Amersfoort, The Netherlands               {info,jobs}(_at_)bristol(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>