From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26504 Path: main.gmane.org!not-for-mail From: Tibor Simko Newsgroups: gmane.emacs.gnus.general Subject: nnimap-split-rule with 2+ headers Date: 09 Nov 1999 16:43:16 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035163701 19752 80.91.224.250 (21 Oct 2002 01:28:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:28:21 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA18329 for ; Tue, 9 Nov 1999 10:44:48 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB00163; Tue, 9 Nov 1999 09:44:39 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 09 Nov 1999 09:44:34 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA29543 for ; Tue, 9 Nov 1999 09:44:23 -0600 (CST) Original-Received: from smtp1.cern.ch (smtp1.cern.ch [137.138.128.38]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA18322 for ; Tue, 9 Nov 1999 10:43:52 -0500 (EST) Original-Received: from sundh08.cern.ch (sundh08.cern.ch [137.138.117.59]) by smtp1.cern.ch (8.9.3/8.9.3) with ESMTP id QAA02479 for ; Tue, 9 Nov 1999 16:43:20 +0100 (MET) Original-Received: (from simko@localhost) by sundh08.cern.ch (8.8.5/8.8.5) id QAA12079; Tue, 9 Nov 1999 16:43:18 +0100 (MET) Original-To: ding@gnus.org X-Attribution: TS Original-Lines: 18 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26504 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26504 Hi gang: How do I match for 2+ header lines in one nnimap split rule? I've tried to match for `[.\n]*' hoping that it would continue to look through following lines, but to no avail. What I want to achieve is: all email addressed do `support@bar' goes to `g1' group, except for the email coming from domain `foo'; the latter should generally go to `g2' unless it is a reply to one of the emails living in `g1'. I've tried to use something along these lines: ("g1" "^From:.*@foo[.\n]*\\(^To\\|^CC\\).*support@bar[.\n]*^References:") ("g2" "^From:.*@foo[.\n]*\\(^To\\|^CC\\).*support@bar") ("g1" "\\(^To\\|^CC\\).*support@bar") Thanks, -TS