From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/20536 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: And now: mail spool fetching makeover Date: 23 Jan 1999 19:55:44 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035158809 18318 80.91.224.250 (21 Oct 2002 00:06:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:06:49 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA02028 for ; Sat, 23 Jan 1999 13:56:57 -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.1/8.9.1) with ESMTP id MAB08803; Sat, 23 Jan 1999 12:56:29 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 23 Jan 1999 12:56:32 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id MAA20482 for ; Sat, 23 Jan 1999 12:56:19 -0600 (CST) Original-Received: from xiphias.pdc.kth.se (xiphias.pdc.kth.se [130.237.221.226]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA01993 for ; Sat, 23 Jan 1999 13:56:10 -0500 (EST) Original-Received: (from jas@localhost) by xiphias.pdc.kth.se (8.8.5/8.8.5) id TAA16599; Sat, 23 Jan 1999 19:55:45 +0100 (MET) Original-To: Lars Magne Ingebrigtsen In-Reply-To: Lars Magne Ingebrigtsen's message of "23 Jan 1999 10:20:26 +0100" Mail-Copies-To: never Original-Lines: 36 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:20536 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:20536 Lars Magne Ingebrigtsen writes: > Er. How are users supposed to specify which mail sources should be > despatched to which mail backends? Perhaps the mail sources should be > specified in the virtual servers? > > (nnml "" > (sources ((file :path "/usr/spool/larsi") > (directory :path "/home/larsi/procmailspool" > :matching "\\.spool$")))) Couldn't this dispatching be done by means of the splitting code? Ie, all mail sources plonk there mail into the splitting code where it is decided in which backend it should end up in, and to what group in that backend. This would also give us a backend-independent mail-splitting code. Something like: (setq gnus-mail-sources '((pop :server "some.pop.server") (group :name "nnimap+pdc:INBOX"))) (setq gnus-split-rules '(("nnml:private" "To: jas@pdc.kth.se") ("nnml:sendfail" "MAILER-DAEMON") ("nnfolder:sent-mail" "From: jas@pdc.kth.se") ("nnimap+pdc:lists.\1" "owner-([a-z]+)"))) I see some obstacles, but the scheme as such doesn't feel extremely complex which could be a good thing. * what to do if nothing matches? * how to handle crossposting? * what about fancy splitting? (haven't used it) Sorry if I'm completely missing the point and overlooking some major issue..