From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sven.bretfeld@gmx.ch Newsgroups: gmane.emacs.help Subject: Gnus expiry-target and maildir Date: Tue, 16 Oct 2007 01:38:57 +0200 Message-ID: <87abqkhrse.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 1192493728 14836 80.91.229.12 (16 Oct 2007 00:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2007 00:15:28 +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 02:15:19 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 1IhZXB-0001KH-Od for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Oct 2007 01:39:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhZX4-00038l-G1 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2007 19:39:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhZWp-00038V-CE for help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 19:39:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhZWn-00037t-E2 for help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 19:39:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhZWn-00037q-8a for help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 19:39:17 -0400 Original-Received: from viefep18-int.chello.at ([213.46.255.22] helo=viefep23-int.chello.at) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IhZWm-00083s-Fd for help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 19:39:17 -0400 Original-Received: from kamaloka.dhatu ([80.219.162.86]) by viefep23-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20071015233914.UKKH8441.viefep23-int.chello.at@kamaloka.dhatu> for ; Tue, 16 Oct 2007 01:39:14 +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-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:48476 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