> :0
> * ! ? test -f $HOME/.nospamcheck
> 
> :0fw
> | spamassassin -P
> 
> :0:
> * ^X-Spam-Status: Yes
> /dev/null

Hummm, if I understand well procmail receips, what you do is:

if $HOME/.nospamcheck exists, then
   empty here, do nothing

for all messages, filter through SA

if the message is flagged as spam
   drop it

So, I beleive you need to add some action when the .nospamcheck file
exits.

Or rather, you should proceed with SA only when the file does not
exists, which could be something like:


:0
* ! ? test ! -f $HOME/.nospamcheck
{ 
  :0fw
  | spamassassin -P

  :0:
  * ^X-Spam-Status: Yes
  /dev/null
}

Olivier

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to