<<< Date Index >>>     <<< Thread Index >>>

Re: mutt and filtering



On Wed, Oct 27, 2004 at 10:10:45PM +0200, Michelle Konzack wrote:
> Am 2004-10-25 22:15:20, schrieb Thorsten Haude:
> > to new users. In Maildrop your examples would look about this (I'm not
> > sure what Procmail makes of all the colons though):
> >     if (/Subject:.*test*/)
> >     {
> >         to ajug
> >     }
> > 
> >     if (/Subject:.*bla*/)
> >     {
> >         to nylug
> >     }
> > 
> > Note that the first example would match 'testttttt' or 'tes'.
> 
> 'tes' does not work...

You're the second person to mention that, but it's actually not correct.

/Subject:.*test*/ _will_ match if the subject contains 'tes', such as:
Subject: important notes about the meeting

Ronald