From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Bretfeld Newsgroups: gmane.emacs.help Subject: Gnus expiry-target and maildir Date: Tue, 16 Oct 2007 01:33:51 +0200 Message-ID: <87ejfwhs0w.fsf@kamaloka.dhatu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192543054 17725 80.91.229.12 (16 Oct 2007 13:57:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2007 13:57:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 16 15:57:34 2007 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 1IhmvK-0005NK-22 for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Oct 2007 15:57:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhmvD-0003Uh-7e for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Oct 2007 09:57:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhZRt-0006ZY-4r for help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 19:34:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhZRr-0006ZM-FU for help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 19:34:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhZRr-0006ZJ-9t for help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 19:34:11 -0400 Original-Received: from viefep28-int.chello.at ([62.179.121.48]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IhZRq-00072p-OS for help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 19:34:11 -0400 Original-Received: from kamaloka.dhatu ([80.219.162.86]) by viefep28-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20071015233407.JZNW16158.viefep28-int.chello.at@kamaloka.dhatu> for ; Tue, 16 Oct 2007 01:34:07 +0200 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-Mailman-Approved-At: Tue, 16 Oct 2007 09:52:11 -0400 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:48488 Archived-At: Hello to all I'm a complete newbie to Gnus, but I could solve most of my starting problems by reading appropriate documentations. There is one thing left I cannot solve alone. I'm trying to tell Gnus to save expired mail in a maildir-directory. This is what I have in my .gnus.el: (setq gnus-directory "~/.Mail") (setq message-directory "~/.Mail/Mail") (setq message-auto-save-directory "~/.Mail/drafts") (setq gnus-select-method '(nnmaildir "Mail" (directory "~/.Mail/")) mail-sources '((maildir :path "~/.Mail/" :subdirs ("cur" "new"))) mail-source-delete-incoming t) (setq gnus-secondary-select-methods nil) (setq gnus-message-archive-group "nnmaildir+Mail:outbox") (setq gnus-summary-same-subject "") (setq gnus-sum-thread-tree-root "") (setq gnus-sum-thread-tree-single-indent "") (setq gnus-sum-thread-tree-leaf-with-other "+-> ") (setq gnus-sum-thread-tree-vertical "|") (setq gnus-sum-thread-tree-single-leaf "`-> ") (setq message-generate-headers-first t) (setq nnmail-expiry-target "nnmaildir+Mail:expired") The last line should make expired mail to be stored in a maildir ~/.Mail/expired/. At least I think so from reading the manuals. However, if I mark an email as expirable ("E") and run gnus-group-expire-articles (or just leave the summary buffer) it just vanishes, seemingly deleted from the disk. The folder ~/.Mail/expired/ stays empty. (I try it with old spam-mail, so it's not a loss. Of course, I make read mail visible when entering the group, that's not the mistake.) But what can be the problem? Thanks for suggestions Sven