I poked around in the archives and found a simple recipe for saving old messages that 
could be run from a command line/script. My version of this became:

#!/bin/sh
mutt -nz -F $HOME/.mutt/mutt.archiving -f test-folder -e "push 'T~d -01/01/02
;s archivetest
q'"

but it isn't *quite* working. The file to which the messages are written isn't 
archivetest but rather archivetest prepended with the user address from the first 
selected message. I tried turning the various variables associated with filenames off 
(in mutt.archiving):

 unset   save_name
 unset   force_name
 unhook *
 set default_hook = ""

but that didn't make any difference. What is the trivial thing I am missing here?

Rich

Reply via email to