procmail
[Top] [All Lists]

Re: All upper case subect help..

2007-02-22 18:59:52
On Thu, Feb 22, 2007 at 08:06:32PM -0500, Ishwar Rattan wrote:

* ^Subject:.*[ A-Z^a-z]+

You're saying you want to look for any A-Z, any a-z, and
any ^ character.  Oh, and a space char.  And those things
(any of them) are to come after anything else on the line
that might be there, including nothing else at all.
This won't block much, unless there are no letters, no spaces,
and no carets on the line.

You want something like:

  :0 D:
  * ^Subject:[^a-z]*$
  UPPER

Though that will also find things with only numbers or
other chars, but not letters; or an empty Subject, even.

Also, procmail is not case-sensitive unless you use
the D-flag, as I did just above.

Dallman

____________________________________________________________
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>