From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rthoreau Newsgroups: gmane.emacs.help Subject: Re: Maildir folder nnmaildir problem Date: Sun, 29 Nov 2009 11:32:33 -0800 (PST) Organization: http://groups.google.com Message-ID: <813fee12-ec2a-45f7-9ea8-aa08a9e8ee27@o10g2000yqa.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1259523653 24850 80.91.229.12 (29 Nov 2009 19:40:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2009 19:40:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 29 20:40:46 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NEpdU-0004dH-8L for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Nov 2009 20:40:45 +0100 Original-Received: from localhost ([127.0.0.1]:56694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEpdT-0002wa-N1 for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Nov 2009 14:40:43 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!o10g2000yqa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 88 Original-NNTP-Posting-Host: 74.250.0.235 Original-X-Trace: posting.google.com 1259523153 23161 127.0.0.1 (29 Nov 2009 19:32:33 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 29 Nov 2009 19:32:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o10g2000yqa.googlegroups.com; posting-host=74.250.0.235; posting-account=lSUnfwkAAACWtT_dnXx1eIqrzHyVsj5l User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.1 (like Gecko) SUSE,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:175162 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70237 Archived-At: On Nov 28, 9:35 pm, CHENG Gao wrote: > Since you use fetchmai to handle mail retrieving and deliver to Maildir > directly, you only need: > > ,---- > | (setq gnus-select-method '(nnmaildir "mymailbox" (directory "~/ > | Maildir/"))) > `---- > > Then you may need to browse nnmaildir server to subscribe to groups. > > nnfolder is the default archive method if you did set otherwise > correctly. > > You can try: > ,---- > | setq (gnus-message-archive-method "nnmaildir+mymailbox:" > | gnus-update-message-archive-method t > | gnus-message-archive-group '((if (message-news-p) > | "nnmaildir+mymailbox:sent-news" "nnmaildir+mymalbox:sent-mail"))) > `---- I decided to add some debug info into my .gnus.el file and it seems that nnmaildir is not being loaded at all. Here are the relevant lines of debug code. It looks like it is reading the file with nnfolder, and does not even use nnmaildir maybe something else needs to be configured. ------------------------- Reading /home/llacr/.newsrc.eld... Reading active file from news.gmane.org via nntp... Reading active file from nnmaildir+llacrbox: via nnfolder... Opening nnfolder server on nnmaildir+llacrbox:...done Reading active file from nnmaildir+llacrbox: via nnfolder...done No new newsgroups Checking new news... Opening nndoc server on gnus-help...done Checking new news...done Connecting to nnmaildir+llacrbox:... Reading active file...done Connecting to nnmaildir+llacrbox:...done ------------------------- I did try your suggestions, and will provide what my .gnus.el looks like. ;;; nnmaildir procmail settings (add-to-list 'gnus-secondary-select-methods '(nnmaildir "")) ;;; (setq gnus-select-method '(nnmaildir "llacrbox" (directory "~/ Maildir/"))) mail-sources '((maildir :path "~/Maildir/" :subdirs ("cur" "new"))) mail-source-delete-incoming t ;;; (setq gnus-secondary-select-methods nil) (setq gnus-message-archive-method "nnmaildir+llacrbox:" gnus-update-message-archive-method t gnus-message-archive-group '((if (message-news-p) "nnmaildir+llacrbox:sent-news" "nnmaildir+llacrbox:sent- mail"))) ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; NNTP Servers ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (setq smtpmail-debug-info t) (setq smtpmail-debug-verb t ) ------------------------- This is what I see in my server gnus buffer. {nnfolder:nnmaildir+llacrbox:} (opened) {nndoc:gnus-help} (opened) {nntp:news.gmane.org} (opened) (agent) I did delete the .newsrc.eld file when I made the major changes as you can see I don't even get the nnmaildir group to even click on. But I think it is due to the fact the nnfolder is doing all the work. The only reason I choose nnmaildir and Maildir, is the fact that is where procmail, and fetchmail were depositing my messages. I could tell procmail to use the other folder but I was debating if dovecot would be useful as I do have a gmail account which is imap capable. I also was using fetchmail before setting up procmail and fetchmail defaulted to the Maildir and so I just followed procmail as well. Thanks for all the suggestions so far I appreciate the time you take to reply. Rthoreau