Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Ted Baltz" <nice@try.spammer>
To: info-gnus-english@gnu.org
Subject: Re: multiple nnfolder instances
Date: Fri, 08 Jun 2007 12:11:31 -0700	[thread overview]
Message-ID: <m3fy52qn18.fsf@sophont.net> (raw)
In-Reply-To: <v9sl92y1qw.fsf@marauder.physik.uni-ulm.de>

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

Thanks, this did the trick.  I had tried something similar earlier, but
I imagine as is typical for me with lisp I was using
{too much,not enough} {quoting,parentheses}.

I never did figure out why nnfolder-generate-active-file wasn't working
with emacs-22, but this is better solution anyway.

Thanks very much,
Ted

--
eabaltz at sophont dot net

  reply	other threads:[~2007-06-08 19: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
2007-06-08 19:11   ` Ted Baltz [this message]
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=m3fy52qn18.fsf@sophont.net \
    --to=nice@try.spammer \
    --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).