Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: info-gnus-english@gnu.org
Subject: Re: multiple nnfolder instances
Date: Fri, 08 Jun 2007 16:11:51 +0200	[thread overview]
Message-ID: <v9sl92y1qw.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m3wsyfb6sx.fsf@sophont.net>

On Fri, Jun 08 2007, Ted Baltz wrote:

> Is there a way (with gnus-secondary-select-methods perhaps) to have
> multiple instances of nnfolder?  I would like to be able to read two
> accounts on the same machine.  What I have in mind is copying the
> mailboxes, .nov, .mrk and active file from one machine onto another.
> I'd then have ~/Mail and ~/Mail-external directories, each having mail
> files and active files.  I'd like to be able to simply rsync into
> ~/Mail-external.  Mail actually sent to this account would end up in
> ~/Mail.

Something along this lines should do the trick...

(add-to-list 'gnus-secondary-select-methods
	     '(nnfolder "mail-external"
			(nnfolder-directory "~/Mail-external")
			(nnfolder-newsgroups-file "~/Mail-external/newsgroups")
			(nnfolder-get-new-mail nil)
			(nnfolder-active-file "~/Mail-external/active"))
	     t)

See (info "(gnus)Mail Folders") for information about these and more
server settings.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

  reply	other threads:[~2007-06-08 14:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-08  0:58 Ted Baltz
2007-06-08 14:11 ` Reiner Steib [this message]
2007-06-08 19:11   ` Ted Baltz
2007-06-08 21:45     ` Reiner Steib

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=v9sl92y1qw.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=info-gnus-english@gnu.org \
    /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).