Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2004 23:38:58 +0100
From:      Benjamin Lutz <benlutz@datacomm.ch>
To:        Matt <matt@atopia.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: True IMAP Trash Folder
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040203233858.577cfb36.benlutz>