Gnus development mailing list
 help / color / mirror / Atom feed
* nnmail-split-fancy woes
@ 2001-01-23  0:00 James Felix Black
  2001-01-23  1:53 ` Francisco Solsona
  0 siblings, 1 reply; 5+ messages in thread
From: James Felix Black @ 2001-01-23  0:00 UTC (permalink / 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.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-01-24 20:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-23  0:00 nnmail-split-fancy woes James Felix Black
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

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).