procmail
[Top] [All Lists]

OR conditionals

2002-09-26 20:47:40
I'm trying to create a recipe that takes an action based on whether
one condition OR another condition is met.  I'm using the and / not
approach:

# virus from netcom
#
:0 H:
* netcom                               #condition A
{
  :0 
  * ! ^Subject.*Virus Warning          #condition B
  * ! HB ?? (klez.h|hybris.b|yaha.e)   #condition C
  {}

  :0 E:
  netcom/viruses
}

The problem is that when conditions B and C are true, the email
literally gets placed in a folder named {}.  My understanding is that
an empty set action is expressed by {}, and procmail should simply
pass the mail to the next recipe.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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