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