From: James Felix Black <jfb@visi.com>
Subject: nnmail-split-fancy woes
Date: 22 Jan 2001 16:00:58 -0800 [thread overview]
Message-ID: <86zogjcf2d.fsf@jfb.pacbell.net> (raw)
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 <anybody>@homonculus.net
to end up in the misc.homonculus.<anybody> 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.
next reply other threads:[~2001-01-23 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-23 0:00 James Felix Black [this message]
2001-01-23 1:53 ` Francisco Solsona
2001-01-23 2:00 ` James Felix Black
2001-01-23 21:32 ` dave
2001-01-24 20:56 ` gnus-bbdb & split-fancy (was: nnmail-split-fancy woes) James Felix Black
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86zogjcf2d.fsf@jfb.pacbell.net \
--to=jfb@visi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).