procmail
[Top] [All Lists]

Re: [PROCMAIL] Re: case sensitive search

2003-09-25 04:39:38
On Thu, Sep 25, 2003 at 01:29:14PM +0200, Dallman Ross wrote:

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.

i knew it had to be something silly.  thanks.

mp

-- 
Michael Powe            michael(_at_)trollope(_dot_)org         Waterbury CT USA

'Unless we approve your idea, it will not be permitted, it will not be
allowed.'  -- Hilary Rosen, President, RIAA

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