On Mon, 2 Jun 2003, --[ UxBoD ]-- wrote:

> Hi:
>
> Having a dumb day! Just installed ProcMail and setup a basic
> procmail.rc.
>
> ------------------------------------
> :0
> * ^Subject:.Cron*
> .cron-jobs/
>
> :0
> * ^Subject:.*[gentoo-announce].*
> .gentoo-announce/
>
> :0
> * ^Subject:.*[gentoo-user].*
> .gentoo-user/

[...] indicates a character range to match.  You would want:
* ^Subject:.*\[gentoo-user\]

This is a standard regex thing.  'man procmailrc' and 'man 7 regex' for
more details.  You also don't need a .* at the end.  It will only serve to
slow it down.

-- 
Marshal Newrock, Simon's Rock College of Bard
Caution: product may be hot after heating


--
[EMAIL PROTECTED] mailing list

Reply via email to