From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=81lvar?= Ibeas Newsgroups: gmane.emacs.help Subject: Re: GNUS & nnmaildir Date: Thu, 31 Jul 2014 16:32:40 +0200 Message-ID: <87wqatbnuf.fsf@minaya.santiago.es> References: <87y4v9ewrx.fsf@minaya.santiago.es> <20140731140458.GA18568@ken-HP-Mini-110-1000> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1406817274 23427 80.91.229.3 (31 Jul 2014 14:34:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jul 2014 14:34:34 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 31 16:34:28 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XCrR5-0003Qv-CD for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Jul 2014 16:34:27 +0200 Original-Received: from localhost ([::1]:57092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCrR4-0006Nb-N6 for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Jul 2014 10:34:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCrQk-0006LO-JX for help-gnu-emacs@gnu.org; Thu, 31 Jul 2014 10:34:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCrQd-0007f4-IN for help-gnu-emacs@gnu.org; Thu, 31 Jul 2014 10:34:06 -0400 Original-Received: from mhb01.unican.es ([193.144.193.151]:54284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCrQd-0007ev-BM for help-gnu-emacs@gnu.org; Thu, 31 Jul 2014 10:33:59 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mhb01.unican.es (Postfix) with ESMTP id 5FA43580B8A for ; Thu, 31 Jul 2014 16:33:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at unican.es Original-Received: from mhb01.unican.es ([127.0.0.1]) by localhost (mhb01.unican.es [127.0.0.1]) (amavisd-new, port 10025) with LMTP id ysIn79Ya2JPm for ; Thu, 31 Jul 2014 16:33:53 +0200 (CEST) Original-Received: from correouc.unican.es (CAS01.unican.es [193.144.193.213]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mhb01.unican.es (Postfix) with ESMTPS id 44C465806B6 for ; Thu, 31 Jul 2014 16:33:50 +0200 (CEST) Original-Received: from minaya.santiago.es (193.144.189.42) by correouc.unican.es (193.144.193.212) with Microsoft SMTP Server (TLS) id 14.3.174.1; Thu, 31 Jul 2014 16:32:40 +0200 In-Reply-To: <20140731140458.GA18568@ken-HP-Mini-110-1000> (Ken's message of "Thu, 31 Jul 2014 10:04:58 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Originating-IP: [193.144.189.42] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 193.144.193.151 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99027 Archived-At: Ken writes: > This is my .gnus configuration. It works for news, but not for mail. > > (setq gnus-select-method '(nntp "news.gmane.org")) > > (setq smtp-mail-server "kensubuntu@gmail.com") > (setq user-mail-address "kensubuntu@gmail.com") > (setq message-send-mail-real-function 'smtpmail-send-it) > > (setq > gnus-secondary-select-methods '(nnmaildir "mymailbox" (directory "/Maildir/")) > mail-sources '((maildir :path "~/Maildir/" :subdirs ("cur" "new"))) > mail-source-delete-incoming t > ) > > (setq gnus-message-archive-group "nnmaildir+mymailbox:outbox") > > thanks everyone for the assistance. > Ken The list starting by 'nnmaildir' needs to be enclosed in another one: '((nnmaildir "mymailbox" (directory "/Maildir/"))) Is your folder "/Maildir" or "~/Maildir"? Also, I don't think the 'mail-sources' lines are needed for your purpose: they move the mail in your Maildir folder into the GNUS archive (I'm guessing, since I'm a Gnus beginner).