-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 01 December 2003 09:53, Matt Kettler wrote:
> to quote and trim a bit from Rich H's post on Sat, 29 Nov 2003 "Re: 
> [SAtalk] Delete Spam" he suggests this procmailrc:
> 
> :0fw: spamc.lock
> * < 256000
> | spamc
> 
> # Alternatively to delete without learning do this
> :0:
> * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> /dev/null
> 
> #Move flagged spam into the spam folder.
> :0:
> * ^X-Spam-Status: Yes
> /Spamfolder
> 
I take this a step further.  I have setup a way for our customer to be able to 
alter what level gets sent to spamcatch or /dev/null.  This is done through a 
web interface where the customer can change the value of MAX and SPAMDUMP.

MAX=10
SPAMDUMP = /var/mail/spamcatch

:0 h
* ^X-Spam-Level:\/.* 
{ 
    LEVEL = "$MATCH" 
} 

:0 
* LEVEL ?? ()\/\*.* 
{ 
   LEVEL = $MATCH 
} 


:0 
* 1^1 LEVEL ?? . 
{ } 
LENGTH = $= 

:0 
* $ -$MAX^0 
* $ $LENGTH ^0 
{ 
  :0: 
  $SPAMDUMP 
}


Douglas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/y5iLSpWn8R0Z08URApAIAJ9yzrCSc8WuwDjU+RJYVxw4uHeLAwCgv/WH
Cg9pruaIkFHoNNi1uE8xTbY=
=A9WI
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to