From owner-freebsd-questions@FreeBSD.ORG Wed Feb 4 14:44:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF4C616A4CF for ; Wed, 4 Feb 2004 14:44:59 -0800 (PST) Received: from citadel.nobulus.com (citadel.nobulus.com [212.97.207.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A416043D48 for ; Wed, 4 Feb 2004 14:44:57 -0800 (PST) (envelope-from iva@citadel.nobulus.com) Received: from citadel.nobulus.com (localhost.nobulus.com [127.0.0.1]) by citadel.nobulus.com (8.12.10/8.12.9) with ESMTP id i14Ni6eq050057 for ; Wed, 4 Feb 2004 23:44:06 GMT (envelope-from iva@citadel.nobulus.com) Received: (from iva@localhost) by citadel.nobulus.com (8.12.10/8.12.9/Submit) id i14Ni6qa050056 for freebsd-questions@freebsd.org; Wed, 4 Feb 2004 23:44:06 GMT (envelope-from iva) Date: Wed, 4 Feb 2004 23:44:06 +0000 From: Ilya Varlashkin To: freebsd-questions@freebsd.org Message-ID: <20040204234406.GA49922@CITADEL.NOBULUS.COM> References: <1075735209.15321.0.camel@roadrunner> <1143032176.20040202092301@mygirlfriday.info> <401E6C6D.8090503@atopia.net> <20040202164237.GA37912@keyslapper.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040202164237.GA37912@keyslapper.org> Subject: Re: True IMAP Trash Folder X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 22:45:00 -0000 On Mon, Feb 02, 2004 at 11:42:37AM -0500, Louis LeBlanc wrote: > > > > I understand now. Thanks. So do you know of a mail client that > > supports "Deleting Items" to a folder called "Trash" on the IMAP > > server? Right now I have evolution and if I delete mail it puts it into > > a local trash folder, but I dont see an option to "Copy deleted mail to > > folder on mail server" or something like that. > > I use mutt with an imap server. I've tied macros to specific keys > that save messages to INBOX.trash, which effectively deletes them from > the current folder. I go to the .trash folder and use 'D' to clean it > out on a regular basis, sometimes finding one or two that I didn't > want to delete. It requires folder hooks to change the underlying > behavior for the 'd', '^d' and 'D' keys based on the current folder, > but it works like a charm. > Hi Hope I'm not too late :-) I'm using courier-imapd and have few users with whole bunch of various client software on FreeBSD and Windows. Following lines in imapd config do magic: IMAP_TRASHFOLDERNAME="Deleted Items" MAP_EMPTYTRASH="Deleted Items":90,"Sent Items":365 IMAP_MOVE_EXPUNGE_TO_TRASH=1 This makes MS Outlook Express happy. For mutt client I just make symbolic link "trash" -> "Deleted Items". Moreover, in case of mutt it's actually server that moves messages to trash, and does this without any hooks or filters. By the way, MSOE actually allows to specify names of both 'sent items' and 'deleted items' folders, but to avoid explaining Windows users how to do this I just fix this on the server. Just make sure you correctly specify namespace, otherwise your folders will show up in the client either with dot in the front or/and as sub-folders of your inbox (well, they're in fact, but I don't like that look). This actually might be reason why your client stores Trash locally - it doesn't look for it in proper place on the server because namespace specified incorrectly. Hope this helps. Kind regards, Ilya Varlashkin