procmail
[Top] [All Lists]

Re: ER with brackets don't works

2006-08-01 08:26:05
Eriberto schreef:

I want to destroy the viagra messages. I made  this rule:

  :0
  * ^Subject.*V[a-z]?I[a-z]?A[a-z]?G[a-z]?R[a-z]?A
  /dev/null

Often such subjects are encoded.

   :0:
   * ^Subject:.*=\?[^?]*\?[bq]\?[^?]*\?=
   in.suspect


You might like trying this too:

   S = '[^ ]?'
   V = '([Vv]|\/|\\||\|/)'
   I = '[Ii1l|]'
   A = '([Aa]|/\)'
   G = '[Gg9]'
   R = '[Rr]'

   VERBOSE = YES

   :0:
   * ^Subject:\/.*
   *$ MATCH ?? $V$S$I+$S$A+$S$G$S$R$S$A
   in.suspect

   VERBOSE = NO


See also procmailrc(5) about the D-flag.

-- 
Groet, Ruud

____________________________________________________________
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