sean finney on 20 Jan 2005 20:58:01 -0000


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

Re: [PLUG] mutt close-hook advice


hey stephen,

i have two suggestions for you:

1 - use mutt's date-tagging and occassionally rotate out messages.
2 - alternatively, switch to maildir

up until a week ago, i was doing option 1. you can do something like

T ~d -dd/mm/yyyy

which tags everything up to a specified date, which you can then do
what you please with.  you can even script that in mutt with the
"push" command, such that you could put something like

push "T ~d -dd/mm/yyyy\n;dy\n"

in .mutt/muttrc.cleanup.  and periodically call 

mutt -F .mutt/muttrc.cleanup from cron.  i never actually tried that,
but i have done similar tricks with push.  

just recently, though, i switched to maildir, which has made life 
much easier in many respects.  now, i can do something like this,
which makes me much more comfortable:

touch -d "last month" foofile
find mail/inbox/ -type f ! -newer foofile | xargs rm
rm foofile

also, my mailbox access times are much faster :)


hth
	sean

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug