From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34366 Path: main.gmane.org!not-for-mail From: James Felix Black Newsgroups: gmane.emacs.gnus.general Subject: nnmail-split-fancy woes Date: 22 Jan 2001 16:00:58 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: <86zogjcf2d.fsf@jfb.pacbell.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035170306 30050 80.91.224.250 (21 Oct 2002 03:18:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:18:26 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 1E8E0D049D for ; Mon, 22 Jan 2001 19:05:53 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id SAC13945; Mon, 22 Jan 2001 18:05:19 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 22 Jan 2001 18:04:33 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id SAA12646 for ; Mon, 22 Jan 2001 18:04:23 -0600 (CST) Original-Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by mailhost.sclp.com (Postfix) with ESMTP id 948FED049D for ; Mon, 22 Jan 2001 19:04:51 -0500 (EST) Original-Received: from jfb.pacbell.net (isis.visi.com [209.98.98.8]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id BA250812F for ; Mon, 22 Jan 2001 18:03:59 -0600 (CST) Original-To: Gnus Development List User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 48 Xref: main.gmane.org gmane.emacs.gnus.general:34366 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34366 Hi, I'm having some trouble with fancy splitting. In particular, my attempt to write a split rule that used backreferences is failing. I have two "vanity" domains that I use for various purposes, mostly to catch spam. I'd like anything addressed to @homonculus.net to end up in the misc.homonculus. folder. Supplying a rule to nnmail-split-methods *does* work: however, using the same regexp in nnmail-split-fancy fails. The relevant .gnus snippets: (setq mail-sources '((file) (pop :server "localhost" :port 10110 :user user :password password) (pop :server "mail.homonculus.net" :user user :password password) (pop :server "mail.inter-slice.com" :user user :password password))) (setq nnmail-split-methods ; '(("misc.homonculus.\\1" "To: \\(.*\\)@homonculus.net") ; ("misc.inter-slice.\\1" "To: \\(.*\\)@inter-slice.com") ; ("inbox" ""))) 'nnmail-split-fancy) (setq nnmail-split-fancy '(| ("to" "\\(.*\\)@homonculus.net" "misc.homonculus.\\1") "inbox")) The \\1 backreference apparently doesn't catch anything at all, and the mail gets dropped into the misc.homonculus directory. Any clues? (jfb) -- Linux is only free if your time has no value.