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

Re: Maildir by date



* mal content on Monday, August 13, 2007 at 02:05:23 +0100
> Ideally I'd like each days worth of mail to be stored in
> its own maildir, like this:
> 
> ~/mail/$ACCOUNT/$YEAR/$MONTH/$DAY
> 
> ...where $DAY is the maildir itself. Mail will be spooled,
> as usual, in ~/mail/spool until it is read by mutt and
> saved/archived into todays maildir.

Don't know what exactly $ACCOUNT is supposed to mean, but for
the rest perhaps something like this could get you started:

set mbox=+`date +%Y/%m/%d`

Then you could "set folder" with an account-hook.

c
-- 
Python Mutt utilities <http://www.blacktrash.org/hg/muttils/>