<<< Date Index >>>     <<< Thread Index >>>

Re: Emulating certain Pine foldering behaviour



Hi,

* gj@xxxxxxxxxxxxx <gj@xxxxxxxxxxxxx> [2005-07-07 23:00]:
> I am trying to emulate pine's behaviour for managing
> sent-mail folders.  basically, on the first of the month it
> (a) renames sent-mail to sent-mail-{mon} where {mon} is the
> previous month; and (b) offers to delete old sent-mail
> folders.  Towards those ends, I intend to alias mutt to the
> following shell function I have written:

How I do similar stuff:

muttrc:

set record="=sent-`date +%Y-%m`"

this saves outgoing mail to folders like this:

sent-2005-04
sent-2005-05

man date for formatting date output

use cron to delete old mail

Hope this helps,
Robert