From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48736 Path: main.gmane.org!not-for-mail From: Nevin Kapur Newsgroups: gmane.emacs.gnus.general Subject: nnimap does not create non-existent groups on expiry (lost mail) Date: Sun, 05 Jan 2003 01:24:11 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041747989 12053 80.91.224.249 (5 Jan 2003 06:26:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 5 Jan 2003 06:26:29 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18V4Et-00038G-00 for ; Sun, 05 Jan 2003 07:26:28 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18V4D8-0005MO-00; Sun, 05 Jan 2003 00:24:38 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 05 Jan 2003 00:25:33 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id AAA03041 for ; Sun, 5 Jan 2003 00:25:19 -0600 (CST) Original-Received: (qmail 43085 invoked by alias); 5 Jan 2003 06:24:20 -0000 Original-Received: (qmail 43080 invoked from network); 5 Jan 2003 06:24:20 -0000 Original-Received: from jhuml4.jhu.edu (128.220.2.67) by 66.230.238.6 with SMTP; 5 Jan 2003 06:24:20 -0000 Original-Received: from jhuml4.jhu.edu (jhuml4.jhu.edu [128.220.2.67]) by jhuml4.jhu.edu (PMDF V6.1 #47563) with SMTP id <0H8800I0F9SEBV@jhuml4.jhu.edu> for ding@gnus.org; Sun, 05 Jan 2003 01:24:14 -0500 (EST) Original-Received: from jhuml4.jhu.edu ([128.220.2.67]) by jhuml4.jhu.edu (NAVGW 2.5.1.18) with SMTP id M2003010501241406294 for ; Sun, 05 Jan 2003 01:24:14 -0500 Original-Received: from cinna.mts.jhu.edu (mts-fw.mts.jhu.edu [128.220.17.8]) by jhuml4.jhu.edu (PMDF V6.1 #47563) with ESMTP id <0H8800I0C9SEBV@jhuml4.jhu.edu> for ding@gnus.org; Sun, 05 Jan 2003 01:24:14 -0500 (EST) Original-Received: from fermat.mts.jhu.edu (IDENT:HoR384JKPuPY4yMVQXaA00gjtpRUJt12@fermat.mts.jhu.edu [192.168.0.18]) by cinna.mts.jhu.edu (8.11.6/8.11.6) with ESMTP id h056OEp09230 for ; Sun, 05 Jan 2003 01:24:14 -0500 Original-Received: from fermat.mts.jhu.edu (fermat.mts.jhu.edu [127.0.0.1]) by fermat.mts.jhu.edu (8.12.5/8.12.5) with ESMTP id h056OElx025583 for ; Sun, 05 Jan 2003 01:24:14 -0500 Original-Received: (from nevin@localhost) by fermat.mts.jhu.edu (8.12.5/8.12.5/Submit) id h056OBXC025581; Sun, 05 Jan 2003 01:24:11 -0500 Original-To: ding@gnus.org Mail-followup-to: ding@gnus.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) X-Authentication-warning: fermat.mts.jhu.edu: nevin set sender to nevin@jhu.edu using -f Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48736 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48736 I recently moved from using nnfolder groups as expiry targets to using nnimap groups. In either case an expiry target that depends on the message's month and year is being used. When I was using nnfolder groups as expiry targets, non-existent groups were being automatically created. However this is not the case with nnimap groups. For example, I set nnmail-expiry-target to "nnimap:mail/ne", a group that does not exist, and set about expiring some mail. To my horror I discovered that the messages were expired and the new group was not created, resulting in lost mail. Here's an excerpt from the imap log: the group is not created and Gnus is silently losing mail. 3510 UID COPY 7 "mail/ne" * OK [TRYCREATE] Must create mailbox before copy 3510 NO [TRYCREATE] UID COPY failed: No such destination mailbox Any fixes? -Nevin