Jason --
...and then [EMAIL PROTECTED] said...
% I found this in the procmailex man page:
Good enough...
%
...
% :0:
% * meeting
% `date +%y-%m`/meeting
...
% :0 Wic
% * ? test ! -d $MONTHFOLDER
% | mkdir $MONTHFOLDER
%
% :0:
% * meeting
% ${MONTHFOLDER}/meeting
...
%
% I know there is something similar in mutt? Suggestions for handling
% this are appreciated? I recall trying this with mutt, but it has yet to
% work.
I'm not sure I understand what you're asking, but I'll take a whack at
it. You want mutt to have a save-hook that will specify a directory of
mailboxes which changes based on the date, and you want to be able to
save to that directory even if it has not yet been created, right?
mutt doesn't have the ability to do this, AFAICT, at least with mbox
format folders. mutt can make a new file (mailfolder) in a given
directory, but it doesn't seem to use a call equivalent to "mkdir -p"
when trying to do that (since it's not actually making a dir, and so it's
not so unreasonable). I'd say that you should have a script that makes
new directories and call it from cron, but I bet that someone could come
up with a feature patch for you...
If I've misunderstood that for which you're hunting, please send on more
info.
% --
% /helfman
%
% "At any given moment, you may find the ticket to the circus that has always
% been in your possession."
% Fingerprint: 2F76 2856 776A 3E07 9F3E 452A 17D9 9B28 D75E 0A36
% GnuPG http://www.gnupg.org Get Private! 1024D/D75E0A36
:-D
--
David T-G * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001. There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*
PGP signature