Gnus development mailing list
 help / color / mirror / Atom feed
* fetching mail for multiple servers
@ 2000-06-20  9:36 Kai Großjohann
  2000-06-20 10:24 ` Harry Putnam
  0 siblings, 1 reply; 7+ messages in thread
From: Kai Großjohann @ 2000-06-20  9:36 UTC (permalink / 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.



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

end of thread, other threads:[~2000-06-21 13:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-20  9:36 fetching mail for multiple servers Kai Großjohann
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

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