Re: [courier-users] I suck with .mailfilters
Brought to you by:
mrsam
From: Gordon M. <yi...@eb...> - 2005-02-25 19:50:32
|
Jonathan Nichols wrote: > > The header for this list has this: > List-Id: deviants.weak.org > > #Deviants users list > if ( /^List-Id: .+ <deviants.weak.org>/ ) > { > to "$HOME/.maildir/.Deviants" > } It'll never match because your pattern requires at least two spaces, and at least one character between them. It also requires brackets around "deviants.weak.org", which aren't present in the header you're receiving. If the list header is a fixed string, then don't use wildcard matches. You're just wasting CPU time. :) #Deviants users list if ( /^List-Id: deviants.weak.org/ ) { to "$HOME/.maildir/.Deviants" } |