procmail
[Top] [All Lists]

Re: case sensitive search

2003-09-25 04:33:26
On Thu, Sep 25, 2003 at 06:58:33AM -0400, Michael Powe wrote:
this is so simple, i feel like an idiot, but ...

case-insensitively, with the result that it captures everything with a
subject line.   what am i doing wrong?

:0: HD
* ^SUBJECT:.*

You have actually not set any recipe flags.  You have set a
named recipe lockfile, "HD".  You want flags to go before the
trailing colon:

        :0 HD:

However, the H is default for conditions, so you can safely leave
it off.

        :0 D:

Last, there is no need for the .* to the right of what you want
to match.  It just waste's a bit of procmail's time for no gain
whatsoever.

-- 
dman

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