Groups | Search | Server Info | Login | Register


Groups > gnu.emacs.help > #60966

Re: GNU's with maildir issue

From Anssi Saari <anssi.saari@usenet.mail.kapsi.fi>
Newsgroups gnu.emacs.help
Subject Re: GNU's with maildir issue
Date 2024-04-18 10:46 +0300
Organization An impatient and LOUD arachnid
Message-ID <sm0frvjgljk.fsf@lakka.kapsi.fi> (permalink)
References <874jc0rqne.fsf@disroot.org>

Show all headers | View raw


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.

Back to gnu.emacs.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

GNU's with maildir issue Ander GM <anthk@disroot.org> - 2024-04-17 16:48 +0200
  Re: GNU's with maildir issue Ben Bacarisse <ben.usenet@bsb.me.uk> - 2024-04-17 18:11 +0100
    Re: GNU's with maildir issue Bozo User <anthk@disroot.org> - 2024-04-18 21:26 +0000
  Re: GNU's with maildir issue Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2024-04-18 10:46 +0300
  Re: GNU's with maildir issue Johanne Fairchild <jfairchild@tudado.org> - 2024-04-19 19:55 -0300
    Re: GNU's with maildir issue Ander GM <anthk@disroot.org> - 2024-04-20 23:21 +0200
    Re: GNU's with maildir issue steve <sgonedes1977@gmail.com> - 2024-04-30 23:28 -0400
      Re: GNU's with maildir issue Johanne Fairchild <jfairchild@tudado.org> - 2024-05-01 09:23 -0300
  Re: GNU's with maildir issue "W. Greenhouse" <wgreenhouse@tilde.club> - 2024-05-04 20:42 +0000

csiph-web