unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rthoreau <rthoreau@iwon.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Maildir folder nnmaildir problem
Date: Sun, 29 Nov 2009 11:32:33 -0800 (PST)	[thread overview]
Message-ID: <813fee12-ec2a-45f7-9ea8-aa08a9e8ee27@o10g2000yqa.googlegroups.com> (raw)
In-Reply-To: m2iqcuknpf.fsf@cyberhut.org

On Nov 28, 9:35 pm, CHENG Gao <cheng...@cyberhut.org> 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


  reply	other threads:[~2009-11-29 19:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-28 19:30 Maildir folder nnmaildir problem Rthoreau
2009-11-29  3:35 ` CHENG Gao
2009-11-29 19:32   ` Rthoreau [this message]
2009-11-30 10:42     ` CHENG Gao
2009-12-02  3:55       ` Rthoreau
2009-12-02  8:26         ` CHENG Gao
2009-12-05  2:49           ` Rthoreau
2009-12-05 15:15             ` harven

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=813fee12-ec2a-45f7-9ea8-aa08a9e8ee27@o10g2000yqa.googlegroups.com \
    --to=rthoreau@iwon.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).