Hello,
 
Well, I am proving to myself that I know just enough to be dangerous.  
 
I am trying to use Procmail expressions to dump the high spam
Eventually I would like users to be able to set the score threshold that they would like trashed either by using the Openprotect high spam setting to give it another headder or write a procmail script that will allow users to set that score. 
 
I have changed the {Spam?} to SPAM  in my config files but cannot for the life of me get this _expression_ to work.  Sort of the wrong list but I thought others might be interested in this a way to make things more per user configurable.  Can anyone see my error.
 
Thanks
 
Charles
 
 

My procmail script is as follows:

# Enable verbose logging.

LOGFILE=procmail.log

VERBOSE=yes

#Things marked as SPAM should be dumped

:0 f

* ^Subject.*SPAM

/dev/null

 

I changed the Openprotect config default of  {Spam?} to just {Spam} because the ? character is a metacharacter in a Procmail regular _expression_.  I could have just done a \? but I was trying to keep procmail simple and I think I have bunged things up as a result. 

 

 

 
LGM - visualization products for architecture, development and land planning.
www.lgmmodel.com   800 448-8808
 

Reply via email to