From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31464 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: fetching mail for multiple servers Date: Tue, 20 Jun 2000 11:36:50 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167871 14165 80.91.224.250 (21 Oct 2002 02:37:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:37:51 +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 B773BD051E for ; Tue, 20 Jun 2000 05:37:40 -0400 (EDT) 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 EAC09568; Tue, 20 Jun 2000 04:37:21 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 20 Jun 2000 04:36:29 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id EAA26826 for ; Tue, 20 Jun 2000 04:36:18 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id B9DAAD051E for ; Tue, 20 Jun 2000 05:36:51 -0400 (EDT) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id LAA25259 for ; Tue, 20 Jun 2000 11:36:50 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id LAA17663; Tue, 20 Jun 2000 11:36:50 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id LAA08339; Tue, 20 Jun 2000 11:36:50 +0200 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: ding@gnus.org User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/21.0.90 Original-Lines: 36 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31464 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31464 Right now, the algorithm for fetching mail is to go through all servers in order. For each server, check if it gets mail. If so, fetch mail from mail-sources and split it according to nnmail-split-methods. This means if there are two servers that get mail, Gnus fetches mail for both of them but when processing the second one, no new mail is left. I suggest to add the following backward-compatible feature to Gnus: when fetching mail for a server, look at server parameters mail-sources and nnmail-split-methods. If the server parameter is set, use it, else use the value of the global variable instead. This means that people could do something like this: (setq gnus-secondary-select-methods '((nnml "work" (nnml-directory "~/workmail/") (mail-sources '((pop :server "work.pop.server")))) (nnml "play" (nnml-directory "~/privatemail/") (mail-sources '((pop :server "private.pop.server")))))) Mail from work.pop.server ends up in nnml+work:mail.misc and mail from private.pop.server ends up in nnml+play:mail.misc. Does this sound useful? kai PS: Maybe we need a setting for the server parameters which means `really use nil and don't look at the global variable'. Maybe `none' would be a good value for this. -- I like BOTH kinds of music.