From Newsgroup: gnu.emacs.help
Ander GM <
anthk@disroot.org> writes:
Hello, I'm trying to set GNU's to read
email from a Maildir directory, spooled
from mbsync (isync). Mutt can read it well,
but GNU's can't.
(nnmaildir "local"
(directory "~/Mail/cur"))
I tried with "~/Mail" too, but I've got
the same 'luck', the content shows empty.
I gave nnmaildir a try with this setup:
(setq gnus-secondary-select-methods '((nnmaildir "local"
(directory "~/Maildir")
)))
But this doesn't seem to find much. I got only three email folders and
those seem to be mistakes. I also use mutt and the way my mail folders
are under ~/Maildir, there are the usual cur, new and tmp dirs which are
my inbox. Maildir subdirectories have names starting with a dot, so for
example under ~/Maildir I have directories like .Sent and .spam and
.Trash. Gnus manual says outright it ignores all directories whose name
starts with a dot and it ignores my inbox too, apparently because it's
not in a subdirectory, it's directly under ~/Maildir.
So I could maybe get my inbox visible by creating a symlink inbox
pointing to . since a similar symlink spam pointing to .spam made my
spam folder visible to Gnus. Didn't really want to test this out with my
inbox since it's rather huge and opening the spam folder with a few
hundred spam messages already took a while. Also Gnus seems to abort
during startup if it gets any "stale file handle" complaints, my maildir
is mounted via NFS and those happen. Mutt doesn't seem to mind this.
So this naming convention for maildir that Gnus uses seems to be rather different from what I use with mutt and procmail and in fact, my mail is available also via IMAP so it's actually the mail server which does
mapping between IMAP folders and a maildir structure.
So to use Gnus here, I'd need to add a symlink to each folder I have and
and also make Gnus a little tolerant of these NFS stale file handle
things. So I think I'll stick with what I have, mutt and procmail and bogofilter on the shell level, Thunderbird, kmail, FairEmail for IMAP
access.
--- Synchronet 3.21d-Linux NewsLink 1.2