procmail
[Top] [All Lists]

spaces in conditions

2005-08-09 09:02:44
    I had a filter to send all messages with the word cialis anywhere to 
the bit bucket.  It looked like this:

:0 HB:
* .*cialis.*
{
  LOG="cialis "
  :0
  /dev/null
}

    I recently realized that this was catching messages I didn't want to 
catch such as one with a signature line containing "Support 
Specialist".  I'd like to add a space to the condition before and after 
the string cialis.  I've tried " cialis ", " *cialis* ", 
"[:space:]*cialis*[:space:]*" and various other combinations without 
success.

    How do you include a space in a condition?


Thanks,

Jason Joines
=================================

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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