Re: [courier-users] I suck with .mailfilters

2005-02-25 Thread Jonathan Nichols
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: [courier-users] I suck with .mailfilters

2005-02-25 Thread Gordon Messmer
Jonathan Nichols wrote: The header for this list has this: List-Id: deviants.weak.org #Deviants users list if ( /^List-Id: .+ / ) { 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 require

[courier-users] I suck with .mailfilters

2005-02-25 Thread Jonathan Nichols
I'm trying to filter something on List-ID.. The header for this list has this: List-Id: deviants.weak.org #Deviants users list if ( /^List-Id: .+ / ) { to "$HOME/.maildir/.Deviants" } Ok, but for the gentoo-user list, it has this: List-Id: Gentoo Linux mail My mailfilter file has this: #Ma