On Donnerstag, 27. Dez. 2001 at 18:33:53, Thomas Hurst wrote:
> I have a script scan all my mailspools (I use mbox) and move anything
> older than a week to archive/<year>/<mailbox>/<month>-<year>-<mailbox> -
> this keeps my active mail easily to hand, and searching for older mail's
> as easy as I need it to be.
Hello Thomas,
I have for this a folder-hook. It looks like this:
folder-hook =mutt-users$ 'push T~r>2w!~F\n\;s'
And also I have a save-hook for this:
save-hook "~L mutt-users" =Archiv/mutt-users-archiv
The only thing, which does not work correct, is, then I enter the
folder mutt-users and there is no message which is older than 2
weeks, mutt always wants to save the message on which the cursor
stays. How can I change my folder-hook, that mutt don't show such a
behaviour.
CU Michael
PS: Some time ago I also worked with a script which invoked grepmail,
but now I think, it's better to make it with mutt.
--
Registred Linux-User: 183712
GnuPG Key: B3F038DC
GnuPG-fingerprint: 21A7 B384 6629 F320 8AFC A2B5 4071 E5C3 B3F0 38DC