[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mutt - sent-date hook?



On Thu, Nov 01, 2001 at 06:58:32PM -0500, Patrick Mahoney wrote:
> Since Mutt since to be a hot topic, might as well...
> I'm looking for a way to put my outgoing mail in a month-dependent-mailbox so i could retrieve a sent mail more easily. I would have mailboxes of the form Sent/Oct-01 , Sent/Nov-01 , etc...
> 
> Ive gone through Mutt's documentation, and havent found any sent-date-hook or the equivalent. Anyone has an idea on how to do this?

Probably the easiest way to do it would be to have mutt save to
Sent/Current and set up a cron job to do:

mv Sent/Current Sent/`date +%b -d 'yesterday`
mkdir Sent/Current

on the first of each month.

-- 
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Mr. Slippery



Reply to: