From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9890 Path: news.gmane.org!not-for-mail From: Vebjorn Ljosa Newsgroups: gmane.emacs.gnus.user Subject: Re: nnmaildir fails to show new messages Date: Fri, 09 Nov 2007 13:27:19 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194633634 19584 80.91.229.12 (9 Nov 2007 18:40:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2007 18:40:34 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Nov 09 19:40:38 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IqYmK-0002m1-60 for gegu-info-gnus-english@m.gmane.org; Fri, 09 Nov 2007 19:40:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqYm8-0001a1-Mu for gegu-info-gnus-english@m.gmane.org; Fri, 09 Nov 2007 13:40:16 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Cancel-Lock: sha1:FecUFbh5ntQ0wRIY9Mh0BjZAU14= Original-Lines: 40 Original-NNTP-Posting-Host: gm3b6-dd5.broad.mit.edu Original-X-Trace: 1194632888 senator-bedfellow.mit.edu 501 18.103.24.170 Original-Xref: shelby.stanford.edu gnu.emacs.gnus:80098 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9890 Archived-At: Vebjorn Ljosa writes: > The problem I am having is that gnus-group-get-new-news (g in the > group buffer) does not cause new nnmaildir messages to appear in the > summary buffer or to be included in the count in the group buffer. I didn't find a direct solution, but I found a workaround: Instead of having fetchmail and maildrop download, split, and deliver to the maildirs, I now let Gnus handle it. Gnus-group-get-new-news now works as expected: Gnus contacts the IMAP server and downloads any new messages. (I simply use the IMAP server as a glorified POP server.) In case it can be of use to anyone, here are the relevant parts of my .gnus.el: (setq gnus-select-method '(nnnil) gnus-secondary-select-methods '((nnmaildir "" (directory "~/.nnmaildir/") (target-prefix "../maildirs/") (expire-age never) (get-new-mail t)) (nntp "news.mit.edu")) gnus-message-archive-method "nnmaildir" gnus-message-archive-group "mail.sent" sendmail-program "/opt/local/bin/msmtp") (setq mail-sources '((file) (imap :server "imap.gmail.com" :port 993 :stream ssl :user "vebjorn@ljosa.com" :predicate "1:*" :fetchflag "\\Seen \\Deleted"))) The only downside to this setup is that the message is not actually deleted from Gmail, but put in the "All mail" folder. Gmail would actually delete it (which is what I want) if I moved it to Gmail's "Trash" folder and then marked it as Deleted, but I don't know how to make Gnus do that. Vebjorn