>
> ^List-Id: .+ <courier...
> +-------------------- start of string
> ++++++++------------ literal text
> +----------- blank
> ++--------- any character, once or more
> +-------- blank
> ++++++++ literal text
>
That was good to know. Thanks!
>
> Please quote one List-Id header form each list.
>
The rule:
#Mail from the gentoo-users list
if ( /^List-Id: .+ <gentoo-user.gentoo.org>/ )
{
to "$HOME/.maildir/.MailingLists.Gentoo-User"
}
The header:
List-Post: <mailto:gentoo-server@...>
List-Help: <mailto:gentoo-server+help@...>
List-Unsubscribe: <mailto:gentoo-server+unsubscribe@...>
List-Subscribe: <mailto:gentoo-server+subscribe@...>
List-Id: Gentoo Linux mail <gentoo-server.gentoo.org>
X-BeenThere: gentoo-server@...
Reply-To: gentoo-server@...
The rule:
#Mail from the gentoo-server list
if ( /^List-Id: .+ <gentoo-server.gentoo.org>/ )
{
to "$HOME/.maildir/.MailingLists.Gentoo-Server"
}
The header:
List-Post: <mailto:gentoo-user@...>
List-Help: <mailto:gentoo-user+help@...>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@...>
List-Subscribe: <mailto:gentoo-user+subscribe@...>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@...
Reply-To: gentoo-user@...
I think that I've finally managed to get those two sorting properly, and
I got this list to sort properly too. Now for some reason, my previously
working SPAM sort rule *stopped* working!
The rule:
#Filter out the spam
if (/^X-Spam-Status:.!Yes/)
{
to "$HOME/.maildir/.SPAM"
}
The header:
Subject: *SPAM* Feria de luna llena, Venta Nocturna - CasaNaranja.cl
Date: Mon, 12 Dec 2005 20:17:09 +0100
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_84815C5ABAF209EF376268C8"
X-Virus-Scanned: by amavisd-new at mailgate.pbp.net
X-Spam-Status: Yes, score=10.18 tagged_above=-999 required=6
tests=[BILL_1618=1.405, DNS_FROM_RFC_ABUSE=0.479,
HTML_IMAGE_ONLY_12=1.639,
HTML_MESSAGE=0.001, HTML_SHORT_LINK_IMG_2=0.951, MAILTO_TO_REMOVE=0.484,
MIME_BOUND_NEXTPART=0.241, RCVD_IN_XBL=3.114,
SARE_FREE_WEBM_COMWALL=1.666,
SARE_HTML_P_BREAK=0.2]
X-Spam-Score: 10.18
X-Spam-Level: **********
X-Spam-Flag: YES
---
Anyone have any ideas? :-|
|