From owner-freebsd-questions@FreeBSD.ORG Tue Feb 3 14:39:09 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 1742216A4CE for ; Tue, 3 Feb 2004 14:39:09 -0800 (PST) Received: from maxlor.mine.nu (c-213-160-32-54.customer.ggaweb.ch [213.160.32.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BA3C43D1F for ; Tue, 3 Feb 2004 14:39:05 -0800 (PST) (envelope-from benlutz@datacomm.ch) Received: from localhost (localhost [127.0.0.1]) by maxlor.mine.nu (Postfix) with ESMTP id 36EE812CEF7; Tue, 3 Feb 2004 23:39:03 +0100 (CET) Received: from maxlor.mine.nu ([127.0.0.1]) by localhost (midgard [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 96840-08; Tue, 3 Feb 2004 23:39:02 +0100 (CET) Received: from merlin.intranet (merlin.intranet [10.0.0.16]) by maxlor.mine.nu (Postfix) with SMTP id 915A612CE78; Tue, 3 Feb 2004 23:39:02 +0100 (CET) Date: Tue, 3 Feb 2004 23:38:58 +0100 From: Benjamin Lutz To: Matt Message-Id: <20040203233858.577cfb36.benlutz@datacomm.ch> In-Reply-To: <401FFFD2.5000105@atopia.net> References: <1075735209.15321.0.camel@roadrunner> <1143032176.20040202092301@mygirlfriday.info> <401E6C6D.8090503@atopia.net> <20040202164237.GA37912@keyslapper.org> <401FFFD2.5000105@atopia.net> Organization: X-Mailer: Sylpheed version 0.9.8a-gtk2-20040109 (GTK+ 2.2.4; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Tue__3_Feb_2004_23_38_58_+0100_HHo9bSFAvC9ff._8" X-Virus-Scanned: by amavisd-new at maxlor.mine.nu cc: freebsd-questions@freebsd.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: Tue, 03 Feb 2004 22:39:09 -0000 --Signature=_Tue__3_Feb_2004_23_38_58_+0100_HHo9bSFAvC9ff._8 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit > >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. > > > >The mutt site documents how to do most of this, but if you like, I > >can > >dig up my macros for you. > > > >HTH > >Lou > > > > > Lou, > > I think I got it covered. My new solution seems to work. Thanks > though! > > -Matt Maybe I can offer another way to do it. I use courier-imap as imap server. It offers a configuration variable called IMAP_MOVE_EXPUNGE_TO_TRASH. As the name implies, mails that are deleted from non-trash folders (deleting = deleting + expunging) are moved to the trash folder. In combination with IMAP_EMPTYTRASH=Trash:7, which removes mails from the trash folder after 7 days, this solution is comfortable, as long as the mail client has support for deleting/expunging in one step (I use sylpheed with X, which does this well, and mutt does it well enough too. I have not used evolution). Basically I don't use the classical IMAP way of deleting mails (just marking them with the "deleted" flag) at all. - Benjamin --Signature=_Tue__3_Feb_2004_23_38_58_+0100_HHo9bSFAvC9ff._8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAICMEgShs4qbRdeQRAqbpAJ9DH4QZbYynQCoqh+aPAZ6AH77oDQCff/qR 97sfHrbVDJQUjjlb1ivkmmg= =wbw6 -----END PGP SIGNATURE----- --Signature=_Tue__3_Feb_2004_23_38_58_+0100_HHo9bSFAvC9ff._8--