Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: fetching mail for multiple servers
Date: Tue, 20 Jun 2000 11:36:50 +0200	[thread overview]
Message-ID: <vafzoog66dp.fsf@lucy.cs.uni-dortmund.de> (raw)

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.



             reply	other threads:[~2000-06-20  9:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-20  9:36 Kai Großjohann [this message]
2000-06-20 10:24 ` Harry Putnam
2000-06-20 12:12   ` Kai Großjohann
2000-06-20 13:23     ` Harry Putnam
2000-06-20 16:35       ` Kai Großjohann
2000-06-21 13:27       ` Conversation Splitting (Was: fetching mail for multiple servers) Arnd Kohrs
2000-06-20 13:55     ` fetching mail for multiple servers Bjørn Mork

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=vafzoog66dp.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    /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).