From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15357 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Splitting mail Date: 23 Jun 1998 19:08:20 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by SEMI 1.8.0 - "Toyama") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035154403 21675 80.91.224.250 (20 Oct 2002 22:53:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:53:23 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.9.0/8.9.0) with ESMTP id KAA27537 for ; Tue, 23 Jun 1998 10:16:21 -0700 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id NAA27527 for ; Tue, 23 Jun 1998 13:12:02 -0400 Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id LAS06328; Tue, 23 Jun 1998 11:44:55 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 23 Jun 1998 12:09:16 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id MAA05076 for ; Tue, 23 Jun 1998 12:09:06 -0500 (CDT) Original-Received: (qmail 18738 invoked by uid 504); 23 Jun 1998 17:08:32 -0000 Original-Received: (qmail 18735 invoked from network); 23 Jun 1998 17:08:31 -0000 Original-Received: from xiphias.pdc.kth.se (130.237.221.226) by claymore.vcinet.com with SMTP; 23 Jun 1998 17:08:31 -0000 Original-Received: (from jas@localhost) by xiphias.pdc.kth.se (8.8.5/8.8.5) id TAA03130; Tue, 23 Jun 1998 19:08:21 +0200 (METDST) Original-To: Eze Ogwuma X-Emacs: Emacs 20.2, MULE 3.0 (MOMIJINOGA) In-Reply-To: Eze Ogwuma's message of "23 Jun 1998 17:28:09 +0100" Original-Lines: 23 X-Mailer: Semi-gnus 6.5.0 (based on Gnus 5.6.11; for SEMI 1.7) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15357 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15357 Eze Ogwuma writes: > Below are the start and finish of my normal mail split rules. > > ;; Split mail into groups > (setq nnmail-split-methods > '(("redhat.digests.v97.p2" "^From: redhat-digest-request@redhat.com") > ... > ("spam" ""))) Try something like this instead. Quote (') will quote whatever you write. ;; split mail according to theese regexps (setq nnmail-split-methods (list '("sendfail" "^From: Mail Delivery Subsystem") ... (list (format-time-string "private-%m-%y") "^\\(Apparently-To\\|ReSent-To\\|To\\|Cc\\):.*\\(Josefsson\\|jas@\\(nada\\|pdc\\).kth.se\\)") '("spam" ""))) /S