help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnus Split Rules to SIEVE


From: Esben Stien
Subject: Re: gnus Split Rules to SIEVE
Date: Mon, 21 Sep 2015 05:17:18 +0200
User-agent: Webmail/0.7.2

On 21.09.2015 01:55, Emanuel Berg wrote:

(By the way, why don't the OP publish all or a couple
of his Gnus splitting rules so we can reason about the
real thing?)

Fortunately, my requirements are not that hard;)

I basically have a list of 400 entries, like this:

("gnuprinting-general" "^\\(Mailing-List:\\|X-Mailing-List:\\|List-Id:\\).*printing-user-general.lists.freestandards.org*") ("gnuprinting-hp" "^\\(Mailing-List:\\|X-Mailing-List:\\|List-Id:\\).*hp-list.linuxprinting.org*") ("gnuprinting-xerox" "^\\(Mailing-List:\\|X-Mailing-List:\\|List-Id:\\).*xerox-list.linuxprinting.org*") ("gnuprinting-oce" "^\\(Mailing-List:\\|X-Mailing-List:\\|List-Id:\\).*oce-list.linuxprinting.org*") ("gnuprinting-canon" "^\\(Mailing-List:\\|X-Mailing-List:\\|List-Id:\\).*printing-user-canon.lists.freestandards.org*") ("linux-kernel" "^\\(Mailing-List:\\|X-Mailing-List:\\|List-Id:\\).*linux-kernel@vger.kernel.org*") ("festival" "^\\(Mailing-List:\\|Sender:\\|List-Id:\\).*festival-talk@metronomicon.com*") ("festvox-talk" "^\\(Mailing-List:\\|Sender:\\|List-Id:\\).*festvox-talk@metronomicon.com*") ("www-math" "^\\(Mailing-List:\\|X-Mailing-List:\\|List-Id:\\).*www-math.w3.org*") ("blug" "^\\(Mailing-List:\\|X-Mailing-List:\\|List-Id:\\).*blug.blug.linux.no*") ("full-disclosure" "^\\(Mailing-List:\\|List-Id:\\).*full-disclosure.lists.grok.org.uk*") ("honeypot" "^\\(Mailing-List:\\|X-Mailing-List:\\|List-Id:\\).*honeypots.list-id.securityfocus.com*") ("vulnwatch" "^\\(Mailing-List:\\|X-Mailing-List:\\|List-Id:\\).*vulnwatch-help@vulnwatch.org*")


..which could easily be parsed to [name][list-id]

Most mailing lists use the List-Id header, so all my lines are exactly like this.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]