From: William G. Gardella <wgg2@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus does not see new mail in Maildirs
Date: Fri, 29 Nov 2013 21:09:43 +0000 [thread overview]
Message-ID: <87iovac3u0.fsf@motoko.kusanagi> (raw)
In-Reply-To: 5b6911644bf8063cf44102cc440f08fd@mailoo.org
Alexis Praga <alexispraga@mailoo.org> writes:
> Hi,
>
> When fetching new mails with 'g', Gnus does not see the new mail in my
> inbox and I have to restart it in order to show them.
> New mail arrive in ~/Mail/inbox/new and Gnus moves it automatically to
> ~/Mail/inbox/cur.
> Also, the 'inbox' group disappears when fetch new mail !
> Here's my config :
>
> (setq
> gnus-select-method '(nnmaildir "" (directory "~/Mail/"))
> mail-sources '((maildir :path "~/Mail/inbox/" :subdirs ("cur"
> "new")))
> )
>
If your MTA is delivering mail directly to your maildir, you should not
also be using the same Maildir as `mail-sources'. This will cause Gnus
to process the mail twice, with potentially inconsistent results.
As noted in the Info documentation:
> Do _not_ use the same maildir both in `mail-sources' and as an
> `nnmaildir' group. The results might happen to be useful, but that
> would be by chance, not by design, and the results might be different
> in the future.
(info "(gnus) Maildir")
If the MTA is delivering mail directly to the maildir at ~/Mail/, you
only need the following:
(setq gnus-select-method
'(nnmaildir ""
(directory "~/Maildir/")
(get-new-mail nil)))
`mail-sources' should also be nil. This variable is only useful when
you want Gnus to "pull" the mail from some location, such as an mbox,
pop server, or Maildir at a remote site or elsewhere on the system; it
should not be used when the mail is "pushed" directly to the very same
location where Gnus is storing it.
> (setq gnus-message-archive-group "nnmaildir+inbox:Sent/cur")
is also a bit odd. You're telling it to use the nnmaildir server
"inbox", which in your config doesn't exist, and you're also telling it
to use a specific subdir inside the maildir, rather than the maildir
itself.
I would rewrite this part of your config as
(setq gnus-message-archive-method gnus-select-method
gnus-message-archive-group "Sent")
This is very close to the config I use myself and I love it, so I hope
this advice helps.
next prev parent reply other threads:[~2013-11-29 21:09 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-29 10:53 Gnus does not see new mail in Maildirs Alexis Praga
2013-11-29 21:09 ` William G. Gardella [this message]
2013-11-29 21:41 ` Alexis Praga
2013-11-29 23:26 ` William G. Gardella
2013-11-29 23:48 ` Alexis Praga
2013-11-30 7:25 ` W. Greenhouse
2013-11-30 11:24 ` Alexis Praga
[not found] ` <mailman.7507.1385761301.10748.help-gnu-emacs@gnu.org>
2013-11-29 22:22 ` Emanuel Berg
[not found] ` <mailman.7504.1385759419.10748.help-gnu-emacs@gnu.org>
2013-11-29 21:36 ` Emanuel Berg
2013-11-30 0:03 ` William G. Gardella
[not found] ` <mailman.7595.1385769824.10748.help-gnu-emacs@gnu.org>
2013-11-30 0:35 ` Emanuel Berg
2013-12-09 9:13 ` Emacs and solarized Alexis Praga
2013-12-09 10:57 ` Ian van der Neut
2013-12-09 11:25 ` Alexis Praga
2013-12-10 9:51 ` Alexis Praga
2013-12-10 14:48 ` William G. Gardella
2013-12-10 15:07 ` Alexis Praga
2013-12-11 4:38 ` W. Greenhouse
2013-12-11 10:19 ` Alexis Praga
[not found] <mailman.7471.1385738567.10748.help-gnu-emacs@gnu.org>
2013-11-29 19:18 ` Gnus does not see new mail in Maildirs Emanuel Berg
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=87iovac3u0.fsf@motoko.kusanagi \
--to=wgg2@member.fsf.org \
--cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.