Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
To: info-gnus-english@gnu.org
Subject: Re: Maildir as simultaneous spool and backend.
Date: Wed, 14 Mar 2007 14:20:00 -0400	[thread overview]
Message-ID: <m3ps7blmag.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <1173810306.506120.66710@8g2000cwh.googlegroups.com>

usenet_spam@jfm3.org wrote:
> The Archives directory contains a bunch of sub-Maildirs:

nnmaildir won't scan for sub-maildirs recorsively.  You have to set up
a single directory that contains all your maildirs (or symlinks to
them) at the top level.  Something like this:

mkdir ~/nnmaildir
cd ~/nnmaildir
ln -s ~/Maildir ./
ln -s ~/Maildir/Spam ./
ln -s ~/Maildir/Archives ./
ln -s ~/Maildir/Archives/Commerce ./
ln -s ~/Maildir/Archives/Sent ./
ln -s ~/Maildir/Archives/Ubuntu ./
...

Then use (directory "~/nnmaildir") in your select method.

nnmaildir won't notice or use the hierarchical directory structure,
but if you like hierarchy, you can set up a hierarchical structure in
the Gnus *Group* buffer using topics, no matter how the maildirs are
arranged in the filesystem.

> Is it okay to use one Maildir as both the 'spool' and 'backend' for
> Gnus?

It depends on what you mean by "spool".  It's ok to have outside
programs deliver mail into the maildirs used by nnmaildir.  But if
you're using a maildir as a mail-sources entry, then you can't use
that same maildir as an nnmaildir group.  It's ok to have the
nnmaildir maildirs be subdirectories of the mail-sources maildir, as
long as the full list of nnmaildir maildirs is available in one flat
directory.

> can run more than one mail client without worrying about locking.

I don't recommend running more than one Gnus simultaneously.  Gnus
keeps some state information that isn't stored in the maildirs, or
isn't always kept synchronized with the disk state while it's
running.  Personally, I keep a single Gnus running under screen, and
use screen -x to reconnect to it.


paul

  reply	other threads:[~2007-03-14 18:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-13 18:25 usenet_spam
2007-03-14 18:20 ` Paul Jarc [this message]
2007-03-14 19:01   ` usenet_spam
2007-03-15  9:34   ` Michael Widerkrantz

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=m3ps7blmag.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    --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).